aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2022-10-25 13:56:56 +0200
committerJoerg Roedel <jroedel@suse.de>2022-11-03 15:40:54 +0100
commitb4d8ae0e907b096583491101ddfc5143b7c08918 (patch)
treec12e82703b41c9cd95e76fb8021cdc862a46e337 /tools/perf/scripts/python/exported-sql-viewer.py
parenta4d996c2c4b55a42b21d0f7026b2bd6f7396f666 (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 <mjrosato@linux.ibm.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Link: https://lore.kernel.org/r/20221025115657.1666860-6-schnelle@linux.ibm.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