aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2024-08-29 21:06:22 -0300
committerJoerg Roedel <[email protected]>2024-09-04 11:39:03 +0200
commit7e515866299d1d01db6c2bbbc8045218c099ba1f (patch)
tree572bb9de76653dfcb163dbb1dcf7ab0f2669a433 /drivers/fpga/fpga-mgr.c
parentc435209f7203d90676e9eeae6c1b2d375fbf0304 (diff)
iommu/amd: Correct the reported page sizes from the V1 table
The HW only has 52 bits of physical address support, the supported page sizes should not have bits set beyond this. Further the spec says that the 6th level does not support any "default page size for translation entries" meaning leafs in the 6th level are not allowed too. Rework the definition to use GENMASK to build the range of supported pages from the top of physical to 4k. Nothing ever uses such large pages, so this is a cosmetic/documentation improvement only. Reported-by: Joao Martins <[email protected]> Reviewed-by: Vasant Hegde <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions