]> 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)
commit0804d590d519ad8c6aa0ebf68f90a27e2e91a615
treed2caed8827d6db6549ce330227c7b014c993c40f
parent3b45c8f3f883c52ced2c514f857bff5e33e1df57
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