Re: [GIT PULL] dma-mapping fix for Linux 5.14

From: Linus Torvalds
Date: Sun Jul 25 2021 - 12:50:51 EST


On Sat, Jul 24, 2021 at 11:03 PM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> dma-mapping fix for Lonux 5.14

We're calling it "Lonux" now?

> - handle vmalloc addresses in dma_common_{mmap,get_sgtable}
> (Roman Skakun)

I've pulled this, but my reaction is that we've tried to avoid this in
the past. Why is Xen using vmalloc'ed addresses and passing those in
to the dma mapping routines?

It *smells* to me like a Xen-swiotlb bug, and it would have been
better to try to fix it there. Was that just too painful?

Lonus