KVM: arm64: Disable SME traps for (h)VHE at setup
authorFuad Tabba <tabba@google.com>
Mon, 24 Jul 2023 12:38:25 +0000 (13:38 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 26 Jul 2023 17:08:29 +0000 (17:08 +0000)
commit380624d4358b0150804d279c20632555e453bc1f
tree9d5aefefdbe9d488d05ce7af9cdf7f9567d8e9bd
parent45a3681a10ff1732fcd7a177fbf1f9ceeaffd7c9
KVM: arm64: Disable SME traps for (h)VHE at setup

Ensure that SME traps are disabled for (h)VHE when setting up
EL2, as they are for nVHE.

Signed-off-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230724123829.2929609-5-tabba@google.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/el2_setup.h