iommu/ipmmu-vmsa: Introduce features, break out alias
authorMagnus Damm <damm+renesas@opensource.se>
Mon, 16 Oct 2017 12:29:25 +0000 (21:29 +0900)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 6 Nov 2017 17:29:39 +0000 (10:29 -0700)
commit33f3ac9b511612153bae1d328b0c84c0367cd08d
treeade58026d7758f2279ced50891ea27ee3bfeff7a
parent49c875f030523d676a508e53f7dc3e592e9439d7
iommu/ipmmu-vmsa: Introduce features, break out alias

Introduce struct ipmmu_features to track various hardware
and software implementation changes inside the driver for
different kinds of IPMMU hardware. Add use_ns_alias_offset
as a first example of a feature to control if the secure
register bank offset should be used or not.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/iommu/ipmmu-vmsa.c