summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorTomasz Jeznach <tjeznach@rivosinc.com>2024-10-16 09:52:19 +0300
committerJoerg Roedel <jroedel@suse.de>2024-10-29 11:46:30 +0300
commit488ffbf181718b9ad8c1838cb249d60973e78eda (patch)
tree406defb95448e3878cfa6c5780fd4881987944b0 /tools/perf/scripts/python/mem-phys-addr.py
parent856c0cfe5c5f6a2cc8d995872eb67bff9c68c57c (diff)
downloadlinux-488ffbf181718b9ad8c1838cb249d60973e78eda.tar.xz
iommu/riscv: Paging domain support
Introduce first-stage address translation support. Page table configured by the IOMMU driver will use the highest mode implemented by the hardware, unless not known at the domain allocation time falling back to the CPU’s MMU page mode. This change introduces IOTINVAL.VMA command, required to invalidate any cached IOATC entries after mapping is updated and/or removed from the paging domain. Invalidations for the non-leaf page entries use IOTINVAL for all addresses assigned to the protection domain for hardware not supporting more granular non-leaf page table cache invalidations. Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Zong Li <zong.li@sifive.com> Signed-off-by: Tomasz Jeznach <tjeznach@rivosinc.com> Acked-by: Palmer Dabbelt <palmer@rivosinc.com> Link: https://lore.kernel.org/r/1109202d389f51c7121cb1460eb2f21429b9bd5d.1729059707.git.tjeznach@rivosinc.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions