]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ARM: 7397/1: l2x0: only apply workaround for erratum #753970 on PL310
authorWill Deacon <will.deacon@arm.com>
Fri, 20 Apr 2012 16:21:08 +0000 (17:21 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 23 Apr 2012 13:21:52 +0000 (14:21 +0100)
commitf154fe9b806574437b47f08e924ad10c0e240b23
tree6e681fc5cb9c6ba7fb029b5d50f11b1b53eb4ef6
parentf0c4b8d653f5ee091fb8d4d02ed7eaad397491bb
ARM: 7397/1: l2x0: only apply workaround for erratum #753970 on PL310

The workaround for PL310 erratum #753970 can lead to deadlock on systems
with an L220 cache controller.

This patch makes the workaround effective only when the cache controller
is identified as a PL310 at probe time.

Cc: stable@vger.kernel.org
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c