Skip to content

Commit 1bac10c

Browse files
tjeznachjoergroedel
authored andcommitted
iommu/riscv: Device directory management.
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 blocking protection domains are supported by this implementation. Co-developed-by: Nick Kossifidis <[email protected]> Signed-off-by: Nick Kossifidis <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Reviewed-by: Zong Li <[email protected]> Signed-off-by: Tomasz Jeznach <[email protected]> Acked-by: Palmer Dabbelt <[email protected]> Link: https://lore.kernel.org/r/e1c763aeccd2c05fd4ad3a32f6f2ff3b3148d907.1729059707.git.tjeznach@rivosinc.com Signed-off-by: Joerg Roedel <[email protected]>
1 parent 822e8bc commit 1bac10c

File tree

2 files changed

+392
-11
lines changed

2 files changed

+392
-11
lines changed

0 commit comments

Comments
 (0)