From: Magnus Damm <damm+renesas@xxxxxxxxxxxxx> For testing purpose add a list of allowed SYS-DMAC devices to the IPMMU driver. These may be used together with SCIF serial ports to validate some basic operation. Not-Yet-Signed-off-by: Magnus Damm <damm+renesas@xxxxxxxxxxxxx> --- drivers/iommu/ipmmu-vmsa.c | 7 +++++++ 1 file changed, 7 insertions(+) --- 0024/drivers/iommu/ipmmu-vmsa.c +++ work/drivers/iommu/ipmmu-vmsa.c 2017-11-22 13:26:36.270607110 +0900 @@ -756,6 +756,13 @@ static int ipmmu_init_platform_device(st static bool ipmmu_slave_whitelist(struct device *dev) { + if (!strcmp(dev_name(dev), "e6700000.dma-controller")) + return true; + if (!strcmp(dev_name(dev), "e7300000.dma-controller")) + return true; + if (!strcmp(dev_name(dev), "e7310000.dma-controller")) + return true; + /* By default, do not allow use of IPMMU */ return false; }