iommu/arm-smmu-v3: Clean up table definitions
authorRobin Murphy <robin.murphy@arm.com>
Mon, 26 Mar 2018 12:35:11 +0000 (13:35 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 27 Mar 2018 13:12:05 +0000 (14:12 +0100)
commitba08bdcbf7fd6c3b3a94496ca15b5b66dbea5034
tree5474d4f25cd2b392a7e505cf7894ac0235ea7c38
parentcbcee19ac4a2c960d73b8951476f0fe5e5628319
iommu/arm-smmu-v3: Clean up table definitions

As with registers, use GENMASK and the bitfield accessors consistently
for table fields, to save some lines and ease maintenance a little. This
also catches a subtle off-by-one wherein bit 5 of CD.T0SZ was missing.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-v3.c