]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Make use of ARCH_WORKAROUND_1 even when KVM is not enabled
authorMarc Zyngier <maz@kernel.org>
Thu, 16 Jul 2020 16:11:08 +0000 (17:11 +0100)
committerWill Deacon <will@kernel.org>
Mon, 21 Sep 2020 17:31:09 +0000 (18:31 +0100)
commitb4edfb96c9eeea22379e793f707735981ee4f562
tree67883d1bcd74dba1a55215d4dbcaf840123bd8b6
parentbeea5f8bd9170d3d0e6476d33bde88d795ce40b0
arm64: Make use of ARCH_WORKAROUND_1 even when KVM is not enabled

We seem to be pretending that we don't have any firmware mitigation
when KVM is not compiled in, which is not quite expected.

Bring back the mitigation in this case.

Fixes: fe648d086b92 ("arm64: kvm: Modernize __smccc_workaround_1_smc_start annotations")
Cc: <stable@vger.kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/cpu_errata.c