On Tue, Sep 20, 2022 at 8:43 AM Christoph Hellwig <hch@xxxxxx> wrote: > > Sorry for coming up with this only now, but what about just dropping > the separate swiotlb entry entirely, and just add include/linux/swiotlb.h > to the dma-mapping entry? Sure, great idea. I just sent a patch v3 doing so: https://lore.kernel.org/lkml/20220922100001.12964-1-lukas.bulwahn@xxxxxxxxx/ Lukas