]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ac932d3ed98f55e61da43292039ae83e41ca057
tree5474d4f25cd2b392a7e505cf7894ac0235ea7c38
parent04213d0062932a163600734854321ad7d8b7b4ab
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