diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2019-04-15 13:03:51 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-04-30 14:45:53 +0100 |
commit | 0f80cad3124f986d0e46c14d46b8da06d87a2bf4 (patch) | |
tree | 23b6c711f1bf624708c45a7dc54d464b8687400e /arch/arm64/Kconfig | |
parent | 79a3aaa7b82e3106be97842dedfd8429248896e6 (diff) | |
download | lwn-0f80cad3124f986d0e46c14d46b8da06d87a2bf4.tar.gz lwn-0f80cad3124f986d0e46c14d46b8da06d87a2bf4.zip |
arm64: Restrict ARM64_ERRATUM_1188873 mitigation to AArch32
We currently deal with ARM64_ERRATUM_1188873 by always trapping EL0
accesses for both instruction sets. Although nothing wrong comes out
of that, people trying to squeeze the last drop of performance from
buggy HW find this over the top. Oh well.
Let's change the mitigation by flipping the counter enable bit
on return to userspace. Non-broken HW gets an extra branch on
the fast path, which is hopefully not the end of the world.
The arch timer workaround is also removed.
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
0 files changed, 0 insertions, 0 deletions