On 5/5/20 6:34 PM, Stefano Stabellini wrote: > > > The crash happens here: > > if (!WARN_ON((dev_addr + size - 1 > dma_mask) || > range_straddles_page_boundary(phys, size)) && > TestClearPageXenRemapped(virt_to_page(vaddr))) > xen_destroy_contiguous_region(phys, order); > > I don't know exactly what is causing the crash. Is it the WARN_ON somehow? > Is it TestClearPageXenRemapped? Neither should cause a crash in theory.
This doesn't look like warning to me. Would it be possible to see what xen_swiotlb_free_coherent+0x198 corresponds to in code? I don't know if ./scripts/faddr2line works for ARM but could you try ./scripts/faddr2line vmlinux xen_swiotlb_free_coherent+0x198 -boris