Re: [PATCH 2/4] rust: iommu: pgtable: add iova_to_phys

From: Alice Ryhl

Date: Thu Nov 19 2026 - 11:23:52 EST


On Tue, Nov 17, 2026 at 8:32 PM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> From: Sami Tolvanen <samitolvanen@xxxxxxxxxx>
>
> Tyr's VM_BIND remap path rebuilds the page-table mappings that a partial
> unmap sweeps away, recovering their backing from the still-present
> entries. Add IoPageTable::iova_to_phys(), which returns the physical
> address that an iova maps to.
>
> Signed-off-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>
> [aliceryhl: split into separate gpuvm and iommu commits]
> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>

Joerg, Will, any objections to merging this through drm-rust-next?