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

Nutty.Liu
2025-10-05T08:39:35Z

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@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@hotmail.com>

Thanks,
Nutty