diff options
author | Robin Murphy <robin.murphy@arm.com> | 2018-03-26 13:35:09 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-03-27 14:12:04 +0100 |
commit | 1cf9e54e91aac61e1a6c2bbacd0b571c6ca09131 (patch) | |
tree | ef94caaab995098fd59a605250ff63cb757693c9 /block/bio-integrity.c | |
parent | 940ded9c21fde7c47c64d5cc74e22300fb89e6b7 (diff) |
iommu/arm-smmu-v3: Clean up address masking
Before trying to add the SMMUv3.1 support for 52-bit addresses, make
things bearable by cleaning up the various address mask definitions to
use GENMASK_ULL() consistently. The fact that doing so reveals (and
fixes) a latent off-by-one in Q_BASE_ADDR_MASK only goes to show what a
jolly good idea it is...
Tested-by: Nate Watterson <nwatters@codeaurora.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'block/bio-integrity.c')
0 files changed, 0 insertions, 0 deletions