Re: [PATCH v2 1/3] iommu/io-pgtable-arm: Remove split on unmap behavior

2024-11-06 Thread Steven Price
On 04/11/2024 17:41, Jason Gunthorpe wrote: > A minority of page table implementations (arm_lpae, armv7) are unique in > how they handle partial unmap of large IOPTEs. > > Other implementations will unmap the large IOPTE and return it's > length. For example if a 2M IOPTE is present and the first

Re: [PATCH v2 1/3] iommu/io-pgtable-arm: Remove split on unmap behavior

2024-11-04 Thread Liviu Dudau
On Mon, Nov 04, 2024 at 01:41:29PM -0400, Jason Gunthorpe wrote: > A minority of page table implementations (arm_lpae, armv7) are unique in > how they handle partial unmap of large IOPTEs. > > Other implementations will unmap the large IOPTE and return it's > length. For example if a 2M IOPTE is p

[PATCH v2 1/3] iommu/io-pgtable-arm: Remove split on unmap behavior

2024-11-04 Thread Jason Gunthorpe
A minority of page table implementations (arm_lpae, armv7) are unique in how they handle partial unmap of large IOPTEs. Other implementations will unmap the large IOPTE and return it's length. For example if a 2M IOPTE is present and the first 4K is requested to be unmapped then unmap will remove