iommu/ipmmu-vmsa: Add optional root device feature
authorMagnus Damm <damm+renesas@opensource.se>
Mon, 16 Oct 2017 12:29:36 +0000 (21:29 +0900)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 6 Nov 2017 17:29:39 +0000 (10:29 -0700)
commitfd5140e29a59e04a6c3e8cc56536bda3e60bbf49
tree8d6f810174974109702831309ec24ff46f5a032b
parent33f3ac9b511612153bae1d328b0c84c0367cd08d
iommu/ipmmu-vmsa: Add optional root device feature

Add root device handling to the IPMMU driver by allowing certain
DT compat strings to enable has_cache_leaf_nodes that in turn will
support both root devices with interrupts and leaf devices that
face the actual IPMMU consumer devices.

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