[RFC PATCH v2 07/18] iommu/riscv: Export phys_to_ppn and ppn_to_phys

Nutty.Liu nutty.liu at hotmail.com
Sun Oct 5 01:39:22 PDT 2025


On 9/21/2025 4:38 AM, Andrew Jones wrote:
> The riscv iommu uses a specific set of bits for PPNs (53:10). Export
> the translation functions so iommu-ir can use them as well.
>
> Signed-off-by: Andrew Jones <ajones at ventanamicro.com>
> ---
>   drivers/iommu/riscv/iommu-bits.h |  4 ++++
>   drivers/iommu/riscv/iommu.c      | 14 +++++---------
>   2 files changed, 9 insertions(+), 9 deletions(-)
>
Reviewed-by: Nutty Liu <nutty.liu at hotmail.com>

Thanks,
Nutty



More information about the linux-riscv mailing list