On 10/21/25 17:09, Boris Brezillon wrote:
On Tue, 21 Oct 2025 15:32:45 +0100
Akash Goel <[email protected]> wrote:
On 10/19/25 04:19, Adrián Larumbe wrote:
Commit 33729a5fc0ca ("iommu/io-pgtable-arm: Remove split on unmap
behavior") did away with the treatment of partial unmaps of huge IOPTEs.
Sorry have a doubt.
Corresponding to the commit 33729a5fc0ca, can we now remove the code to
pre-allocate L3 page table pages i.e. 'op_ctx->rsvd_page_tables.pages'
inside panthor_vm_prepare_unmap_op_ctx() ?.
Well, not if we want to support partial unmaps of huge pages at a non-2M
boundary.
Thanks Boris for clarifying.
Sorry I didn't consider that in order to support partial unmaps of huge
pages at a non-2M boundary, we still need to call panthor_vm_map_pages()
so as to remap the difference between the start/end of huge page and the
start/end of the actual unmap range.
Best Regards
Akash