Re: [PATCH v4 2/7] iommu/riscv: Add RISC-V IOMMU platform device driver

From: Baolu Lu
Date: Fri May 03 2024 - 22:07:00 EST


On 5/4/24 12:12 AM, Tomasz Jeznach wrote:
Introduce platform device driver for implementation of RISC-V IOMMU
architected hardware.

Hardware interface definition located in file iommu-bits.h is based on
ratified RISC-V IOMMU Architecture Specification version 1.0.0.

This patch implements platform device initialization, early check and
configuration of the IOMMU interfaces and enables global pass-through
address translation mode (iommu_mode == BARE), without registering
hardware instance in the IOMMU subsystem.

Link:https://github.com/riscv-non-isa/riscv-iommu
Co-developed-by: Nick Kossifidis<mick@xxxxxxxxxxxx>
Signed-off-by: Nick Kossifidis<mick@xxxxxxxxxxxx>
Co-developed-by: Sebastien Boeuf<seb@xxxxxxxxxxxx>
Signed-off-by: Sebastien Boeuf<seb@xxxxxxxxxxxx>
Signed-off-by: Tomasz Jeznach<tjeznach@xxxxxxxxxxxx>

Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>

Best regards,
baolu