KVM: arm64: Provide sanitized SYS_ID_AA64SMFR0_EL1 to nVHE
authorQuentin Perret <qperret@google.com>
Wed, 1 Feb 2023 10:37:51 +0000 (10:37 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 2 Feb 2023 21:46:43 +0000 (21:46 +0000)
commit8669651ce0d90a79bab22dfe2758fe07e070a02e
treea805e5e1c8a0bfa47a3309ab906542b64ffb4b72
parentb7bfaa761d760e72a969d116517eaa12e404c262
KVM: arm64: Provide sanitized SYS_ID_AA64SMFR0_EL1 to nVHE

We will need a sanitized copy of SYS_ID_AA64SMFR0_EL1 from the nVHE EL2
code shortly, so make sure to provide it with a copy.

Signed-off-by: Quentin Perret <qperret@google.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230201103755.1398086-2-qperret@google.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/kvm_hyp.h
arch/arm64/kvm/arm.c
arch/arm64/kvm/hyp/nvhe/sys_regs.c