[PATCH v3 5/7] iommu/riscv: Device directory management.

Baolu Lu baolu.lu at linux.intel.com
Wed May 1 19:06:12 PDT 2024


On 5/1/24 4:01 AM, Tomasz Jeznach wrote:
> Introduce device context allocation and device directory tree
> management including capabilities discovery sequence, as described
> in Chapter 2.1 of the RISC-V IOMMU Architecture Specification.
> 
> Device directory mode will be auto detected using DDTP WARL property,
> using highest mode supported by the driver and hardware. If none
> supported can be configured, driver will fall back to global pass-through.
> 
> First level DDTP page can be located in I/O (detected using DDTP WARL)
> and system memory.
> 
> Only simple identity and release (blocking) protection domains are
> supported by this implementation.
> 
> Co-developed-by: Nick Kossifidis<mick at ics.forth.gr>
> Signed-off-by: Nick Kossifidis<mick at ics.forth.gr>
> Signed-off-by: Tomasz Jeznach<tjeznach at rivosinc.com>

Reviewed-by: Lu Baolu <baolu.lu at linux.intel.com>

Best regards,
baolu



More information about the linux-riscv mailing list