aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/kvm_mmu.h
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-07-16 17:11:10 +0100
committerWill Deacon <will@kernel.org>2020-09-29 16:08:03 +0100
commit39533e12063be7f55e3d6ae21ffe067799d542a4 (patch)
tree1fb641a394750ecc94f49deea972bf3b25f570e0 /arch/arm64/include/asm/kvm_mmu.h
parentarm64: Run ARCH_WORKAROUND_1 enabling code on all CPUs (diff)
downloadlinux-dev-39533e12063be7f55e3d6ae21ffe067799d542a4.tar.xz
linux-dev-39533e12063be7f55e3d6ae21ffe067799d542a4.zip
arm64: Run ARCH_WORKAROUND_2 enabling code on all CPUs
Commit 606f8e7b27bf ("arm64: capabilities: Use linear array for detection and verification") changed the way we deal with per-CPU errata by only calling the .matches() callback until one CPU is found to be affected. At this point, .matches() stop being called, and .cpu_enable() will be called on all CPUs. This breaks the ARCH_WORKAROUND_2 handling, as only a single CPU will be mitigated. In order to address this, forcefully call the .matches() callback from a .cpu_enable() callback, which brings us back to the original behaviour. Fixes: 606f8e7b27bf ("arm64: capabilities: Use linear array for detection and verification") Cc: <stable@vger.kernel.org> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/kvm_mmu.h')
0 files changed, 0 insertions, 0 deletions