iommu/ipmmu-vmsa: Modify ipmmu_slave_whitelist() to check SoC revisions
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 28 Nov 2018 09:23:36 +0000 (09:23 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 3 Dec 2018 13:23:53 +0000 (14:23 +0100)
commitb7ee92c6ff0e023a473b2500d771f6bf504fcc1a
tree82c810d8070e5b4fea8d850ca702041a97cc3d92
parent31fc9763f9d752b75711156ef6a066f6ea264be5
iommu/ipmmu-vmsa: Modify ipmmu_slave_whitelist() to check SoC revisions

Some R-Car Gen3 SoCs has hardware restrictions on the IPMMU. So,
to check whether this R-Car Gen3 SoC can use the IPMMU correctly,
this patch modifies the ipmmu_slave_whitelist().

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/ipmmu-vmsa.c