diff options
author | Vasant Hegde <vasant.hegde@amd.com> | 2023-06-09 12:03:27 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-06-16 17:30:59 +0300 |
commit | 85751a8af5c9cf8724a71735ba0962bbd5fccfad (patch) | |
tree | b6a15e6666d3567172bb7aeb909109cee8d47753 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1ce018df87640adb139c8418785ad3b6e4376bd3 (diff) | |
download | linux-85751a8af5c9cf8724a71735ba0962bbd5fccfad.tar.xz |
iommu/amd: Fix DTE_IRQ_PHYS_ADDR_MASK macro
Interrupt Table Root Pointer is 52 bit and table must be aligned to start
on a 128-byte boundary. Hence first 6 bits are ignored.
Current code uses address mask as 45 instead of 46bit. Use GENMASK_ULL
macro instead of manually generating address mask.
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Link: https://lore.kernel.org/r/20230609090327.5923-1-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions