Re: [RFC PATCH v3 00/25] PISA: Pre-mapped IOVA Superpage Allocator for DMA and CoCo
From: Lorenzo Stoakes (ARM)
Date: Fri Nov 20 2026 - 09:18:44 EST
On Fri, Nov 20, 2026 at 09:50:13AM -0400, Jason Gunthorpe wrote:
> On Fri, Nov 20, 2026 at 01:06:30AM +0000, Luigi Rizzo wrote:
> > This is v3 of the RFC previously posted as DMA_PMD [0], now renamed PISA
> > ("Pre-mapped IOVA Superpage Allocator"). The text below follows
> > Documentation/core-api/pisa.rst (patch 25/25), which has the details.
>
> I thought the conclusion was to just do this stuff in netdev pagepool,
> now you come with an enormous AI series spread across the entire
> kernel?
Welcome to 2026 :) It's so exhausting.
>
> > - Needs bounce buffers: in Confidential Computing VMs, PISA allocators
> > pre-decrypt 2MB pages in place, avoiding swiotlb bounce-buffer copies.
>
> It seems this was ignored too. We want the bounce buffers in CC. They
> serve a security purpose. You cannot loose control of the shared
> memory buffers have have them leak into SKBs, user mappings and so
> on. It is not secure.
>
> I don't see how any of this is valuable or necessary for CC,
> especially when we really don't even expect to have an vIOMMU for CC
> very often..
>
> Jason
Agreed, this whole thing needs to be rethought.
Will reply separately to the cover I think :)
--
Cheers, Lorenzo