]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: errata: Add workaround for Cortex-A76 erratum #1463225
authorWill Deacon <will.deacon@arm.com>
Mon, 29 Apr 2019 12:03:57 +0000 (13:03 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 23 May 2019 10:38:10 +0000 (11:38 +0100)
commitc76dc2513c787b0e42636d3ef91de6c88d965718
treecd631cd3cb473b8045b37063f153d221404a282d
parent88d97c17b2f0c5911b21e9a7cfc14e5f1398265c
arm64: errata: Add workaround for Cortex-A76 erratum #1463225

Revisions of the Cortex-A76 CPU prior to r4p0 are affected by an erratum
that can prevent interrupts from being taken when single-stepping.

This patch implements a software workaround to prevent userspace from
effectively being able to disable interrupts.

Cc: <stable@vger.kernel.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/arm64/silicon-errata.txt
arch/arm64/Kconfig
arch/arm64/include/asm/cpucaps.h
arch/arm64/kernel/cpu_errata.c
arch/arm64/kernel/syscall.c
arch/arm64/mm/fault.c