Re: [RFC PATCH v2 55/58] drivers/iommu: Add deferred map_sg operations
From: Jason Gunthorpe
Date: Thu Jan 02 2025 - 15:18:57 EST
On Thu, Dec 19, 2024 at 02:24:05PM +0000, Mostafa Saleh wrote:
> I had a quick look now at s390, and it seems a bit different as they only
> notify the hypervisor about the iova range being changed, and don’t need
> to provide iova->paddr mapping which pKVM does.
Can you explain this statement some more. It seems strange to me, why
would the pkvm side, which has it's own page table, need to be be told
about the iova->paddr during range unmapping requests - and why would
the host/guest side have to unnecessarily store this information?
Jason