OSDN Git Service

arm64: Make ARM64_ERRATUM_1188873 depend on COMPAT
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 15 Apr 2019 12:03:52 +0000 (13:03 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 30 Apr 2019 13:46:05 +0000 (14:46 +0100)
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>
arch/arm64/Kconfig

index 7e34b9e..560f2a8 100644 (file)
@@ -477,6 +477,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