KVM: arm64: Print warning when cpu erratum can cause guests to deadlock
authorRob Herring <robh@kernel.org>
Mon, 3 Aug 2020 19:31:25 +0000 (13:31 -0600)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 21 Aug 2020 11:23:09 +0000 (12:23 +0100)
commitabf532cceaca9c21a148498091f87de1b8ae9b49
tree89894ac4d465131500f11604ef39ffe66630a5f2
parentbf87bb0881d0f59181fe3bbcf29c609f36483ff8
KVM: arm64: Print warning when cpu erratum can cause guests to deadlock

If guests don't have certain CPU erratum workarounds implemented, then
there is a possibility a guest can deadlock the system. IOW, only trusted
guests should be used on systems with the erratum.

This is the case for Cortex-A57 erratum 832075.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: James Morse <james.morse@arm.com>
Cc: Julien Thierry <julien.thierry.kdev@gmail.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: kvmarm@lists.cs.columbia.edu
Link: https://lore.kernel.org/r/20200803193127.3012242-2-robh@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kvm/arm.c