aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVasant Hegde <[email protected]>2023-05-18 05:43:51 +0000
committerJoerg Roedel <[email protected]>2023-05-23 08:29:25 +0200
commit11c439a19466e7feaccdbce148a75372fddaf4e9 (patch)
treeb1fdc274ac2fb0377d27ccca4997257e809646bf /tools/perf/scripts/python/exported-sql-viewer.py
parent2212fc2acf3f6ee690ea36506fb882a19d1bfcab (diff)
iommu/amd/pgtbl_v2: Fix domain max address
IOMMU v2 page table supports 4 level (47 bit) or 5 level (56 bit) virtual address space. Current code assumes it can support 64bit IOVA address space. If IOVA allocator allocates virtual address > 47/56 bit (depending on page table level) then it will do wrong mapping and cause invalid translation. Hence adjust aperture size to use max address supported by the page table. Reported-by: Jerry Snitselaar <[email protected]> Fixes: aaac38f61487 ("iommu/amd: Initial support for AMD IOMMU v2 page table") Cc: <[email protected]> # v6.0+ Cc: Suravee Suthikulpanit <[email protected]> Signed-off-by: Vasant Hegde <[email protected]> Reviewed-by: Jerry Snitselaar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions