]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06b03237a3a0b4bd958173ca6c447508fe2823e9
treeade58026d7758f2279ced50891ea27ee3bfeff7a
parentec8249855c4662943b1677106c15e46aefed12f3
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