iommu/ipmmu-vmsa: Disable cache snoop transactions on R-Car Gen3
authorHai Nguyen Pham <hai.pham.ud@renesas.com>
Wed, 4 Sep 2019 12:08:02 +0000 (14:08 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 5 Sep 2019 11:03:34 +0000 (13:03 +0200)
commit3623002f0f761efd7eb38cfa5af1d2319365a8fd
treed2caed8827d6db6549ce330227c7b014c993c40f
parent5ca54fdc9b1e6a8b3c03eaa8d1b6b4f406e90ad8
iommu/ipmmu-vmsa: Disable cache snoop transactions on R-Car Gen3

According to the Hardware Manual Errata for Rev. 1.50 of April 10, 2019,
cache snoop transactions for page table walk requests are not supported
on R-Car Gen3.

Hence, this patch removes setting these fields in the IMTTBCR register,
since it will have no effect, and adds comments to the register bit
definitions, to make it clear they apply to R-Car Gen2 only.

Signed-off-by: Hai Nguyen Pham <hai.pham.ud@renesas.com>
[geert: Reword, add comments]
Signed-off-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