aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/pci_endpoint_test.c
diff options
context:
space:
mode:
authorVasant Hegde <[email protected]>2023-06-09 09:03:27 +0000
committerJoerg Roedel <[email protected]>2023-06-16 16:30:59 +0200
commit85751a8af5c9cf8724a71735ba0962bbd5fccfad (patch)
treeb6a15e6666d3567172bb7aeb909109cee8d47753 /drivers/misc/pci_endpoint_test.c
parent1ce018df87640adb139c8418785ad3b6e4376bd3 (diff)
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 <[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 'drivers/misc/pci_endpoint_test.c')
0 files changed, 0 insertions, 0 deletions