]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: Make ARM64_ERRATUM_1188873 depend on COMPAT
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 31 Mar 2022 18:33:37 +0000 (19:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 2 Apr 2022 10:41:08 +0000 (12:41 +0200)
commit c2b5bba3967a000764e9148e6f020d776b7ecd82 upstream.

Since ARM64_ERRATUM_1188873 only affects AArch32 EL0, it makes some
sense that it should depend on COMPAT.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/Kconfig

index 7c205e0fd44b8b03453b01cea4b805c8fbacea05..729384f19c7f8677e2dda5dbbb62e8b6f937835b 100644 (file)
@@ -461,6 +461,7 @@ config ARM64_ERRATUM_1024718
 config ARM64_ERRATUM_1188873
        bool "Cortex-A76: MRC read following MRRC read of specific Generic Timer in AArch32 might give incorrect result"
        default y
+       depends on COMPAT
        select ARM_ARCH_TIMER_OOL_WORKAROUND
        help
          This option adds work arounds for ARM Cortex-A76 erratum 1188873