Re: [RFC PATCH v2 1/5] dma-mapping: Avoid double decrypting with DMA_RESTRICTED_POOL

From: Jason Gunthorpe

Date: Mon Apr 13 2026 - 08:36:19 EST


On Mon, Apr 13, 2026 at 11:30:38AM +0530, Aneesh Kumar K.V wrote:

> I know there is a v3, but I’m commenting here to check whether we really
> need to do this now. In my opinion, we can keep this much simpler by
> treating all swiotlb allocations as decrypted allocations.

That's not going to work when we get to supporting T=1 devices that
may still want SWIOTLB for encrypted memory.

Jason