]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7752/1: errata: LoUIS bit field in CLIDR register is incorrect
authorJon Medhurst <tixy@linaro.org>
Fri, 7 Jun 2013 09:35:35 +0000 (10:35 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Jun 2013 09:30:49 +0000 (10:30 +0100)
commit0583cfcd2f4e1e389a615e49fd268969896ed03c
tree7382502cccc9bff1e3ca38f353f335d70a376ded
parent43d8b12d20dd426468309ece70781827ab2548e3
ARM: 7752/1: errata: LoUIS bit field in CLIDR register is incorrect

On Cortex-A9 before version r1p0, the LoUIS bit field of the CLIDR
register returns zero when it should return one. This leads to cache
maintenance operations which rely on this value to not function as
intended, causing data corruption.

The workaround for this errata is to detect affected CPUs and correct
the LoUIS value read.

Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/mm/cache-v7.S