diff options
author | Will Deacon <[email protected]> | 2021-06-16 06:38:46 -0700 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-07-26 12:37:07 +0200 |
commit | e7d6fff6b3d34230bac1b2c2607646d7b8638cb7 (patch) | |
tree | 020f9f45d89f6343b0cec7ba27b0f2b6c4f31a55 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 910c4406ccc9613de0a54abf910edc4bf8a575c0 (diff) |
iommu: Use bitmap to calculate page size in iommu_pgsize()
Avoid the potential for shifting values by amounts greater than the
width of their type by using a bitmap to compute page size in
iommu_pgsize().
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Isaac J. Manjarres <[email protected]>
Signed-off-by: Georgi Djakov <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions