]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitddf2aa8b0e559a83523650df01ae670105e39ce7
treed2caed8827d6db6549ce330227c7b014c993c40f
parenta39f306e9414e258fe40a142c01dc4e43b8e45d6
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