diff options
author | Niklas Schnelle <[email protected]> | 2022-10-25 13:56:56 +0200 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2022-11-03 15:40:54 +0100 |
commit | b4d8ae0e907b096583491101ddfc5143b7c08918 (patch) | |
tree | c12e82703b41c9cd95e76fb8021cdc862a46e337 /scripts/generate_rust_analyzer.py | |
parent | a4d996c2c4b55a42b21d0f7026b2bd6f7396f666 (diff) |
iommu/s390: Fix incorrect pgsize_bitmap
The .pgsize_bitmap property of struct iommu_ops is not a page mask but
rather has a bit set for each size of pages the IOMMU supports. As the
comment correctly pointed out at this moment the code only support 4K
pages so simply use SZ_4K here.
Reviewed-by: Matthew Rosato <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Niklas Schnelle <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions