]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 9206/1: A9: Add ARM ERRATA 764319 workaround (Updated)
authorNick Hawkins <nick.hawkins@hpe.com>
Wed, 18 May 2022 13:38:37 +0000 (14:38 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 20 May 2022 11:33:48 +0000 (12:33 +0100)
commit33aea78d0c2fed6b621f9dc011032f9e3b6d8677
tree033303ff64cb5ad496c0b746267c2110c4c0f31b
parent8278d491e97a57203764b3f1931be822de149b3b
ARM: 9206/1: A9: Add ARM ERRATA 764319 workaround (Updated)

Enable the workaround for the 764319 Cortex A-9 erratum.
CP14 read accesses to the DBGPRSR and DBGOSLSR registers generate an
unexpected Undefined Instruction exception when the DBGSWENABLE external
pin is set to 0, even when the CP14 accesses are performed from a
privileged mode. The work around catches the exception in a way
the kernel does not stop execution with the use of undef_hook. This
has been found to effect the HPE GXP SoC.

Signed-off-by: Nick Hawkins <nick.hawkins@hpe.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/Kconfig
arch/arm/kernel/hw_breakpoint.c