aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorTomasz Jeznach <[email protected]>2024-10-15 23:52:17 -0700
committerJoerg Roedel <[email protected]>2024-10-29 09:46:28 +0100
commit1bac10c557adb29891f938c0b5ff93f37e9ba8b1 (patch)
tree5aa41ba81d7a125e856d5d3ee356ad9d1fac04eb /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent822e8bc68505820b1996c980e3c63f2b3c0e76e4 (diff)
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]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions