]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm: Add ARM ERRATA 775420 workaround
authorKouei Abe <kouei.abe.cp@rms.renesas.com>
Fri, 31 Aug 2012 06:13:19 +0000 (15:13 +0900)
committerSimon Horman <horms@verge.net.au>
Fri, 28 Sep 2012 00:59:56 +0000 (09:59 +0900)
commita513753cb6335974ae1ed2ff6c5d118367863207
tree758313d203b35bf4ac4d200261a699a8b43e7fa9
parent55d512e245bc7699a8800e23df1a24195dd08217
arm: Add ARM ERRATA 775420 workaround

Workaround for the 775420 Cortex-A9 (r2p2, r2p6,r2p8,r2p10,r3p0) erratum.
In case a date cache maintenance operation aborts with MMU exception, it
might cause the processor to deadlock. This workaround puts DSB before
executing ISB if an abort may occur on cache maintenance.

Based on work by Kouei Abe and feedback from Catalin Marinas.

Signed-off-by: Kouei Abe <kouei.abe.cp@rms.renesas.com>
[ horms@verge.net.au: Changed to implementation
  suggested by catalin.marinas@arm.com ]
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
---

v2
* Add some details to changelog entry
* Alternate implementation suggested by Catalin Marinas
  - Add the dsb directly to v7_coherent_user_range() rather
    than the exception handler
arch/arm/Kconfig
arch/arm/mm/cache-v7.S