diff options
author | Robin Murphy <robin.murphy@arm.com> | 2019-10-25 19:08:34 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-11-04 19:34:31 +0000 |
commit | c79278c185c8848fefc25cf304eecec9c4623a40 (patch) | |
tree | 382c1fd931d727b51385daeb34abd0f55aa022c1 /scripts/gdb/linux/timerlist.py | |
parent | 594ab90fc46c0842e4f1b60b6642fa4555a999f9 (diff) |
iommu/io-pgtable-arm: Simplify PGD size handling
We use data->pgd_size directly for the one-off allocation and freeing of
the top-level table, but otherwise it serves for ARM_LPAE_PGD_IDX() to
repeatedly re-calculate the effective number of top-level address bits
it represents. Flip this around so we store the form we most commonly
need, and derive the lesser-used one instead. This cuts a whole bunch of
code out of the map/unmap/iova_to_phys fast-paths.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions