diff options
author | 2019-10-25 19:08:31 +0100 | |
---|---|---|
committer | 2019-11-04 19:34:31 +0000 | |
commit | f7b90d2c7422a815c094961751582347935045cd (patch) | |
tree | 7cdd6c7645b516a841b276fe6ea12cd581ba8f68 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/io-pgtable: Make selftest gubbins consistently __init (diff) | |
download | linux-dev-f7b90d2c7422a815c094961751582347935045cd.tar.xz linux-dev-f7b90d2c7422a815c094961751582347935045cd.zip |
iommu/io-pgtable-arm: Rationalise size check
It makes little sense to only validate the requested size after we think
we've found a matching block size - making the check up-front is simple,
and far more logical than waiting to walk off the bottom of the table to
infer that we must have been passed a bogus size to start with.
We're missing an equivalent check on the unmap path, so add that as well
for consistency.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions