diff options
author | 2025-08-17 21:21:56 +0100 | |
---|---|---|
committer | 2025-08-21 16:28:46 -0700 | |
commit | 1fab657cb2a07889c343302fbebca035e702683e (patch) | |
tree | 608f962343ea2b18a2e6bd30c12f0cf2de0e9d6b | |
parent | KVM: arm64: Ignore HCR_EL2.FIEN set by L1 guest's EL2 (diff) | |
download | wireguard-linux-1fab657cb2a07889c343302fbebca035e702683e.tar.xz wireguard-linux-1fab657cb2a07889c343302fbebca035e702683e.zip |
KVM: arm64: Make ID_AA64PFR0_EL1.RAS writable
Make ID_AA64PFR0_EL1.RAS writable so that we can restore a VM from
a system without RAS to a RAS-equipped machine (or disable RAS
in the guest).
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/20250817202158.395078-5-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
-rw-r--r-- | arch/arm64/kvm/sys_regs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kvm/sys_regs.c b/arch/arm64/kvm/sys_regs.c index 1b4114790024..bf160693963c 100644 --- a/arch/arm64/kvm/sys_regs.c +++ b/arch/arm64/kvm/sys_regs.c @@ -2939,7 +2939,6 @@ static const struct sys_reg_desc sys_reg_descs[] = { ~(ID_AA64PFR0_EL1_AMU | ID_AA64PFR0_EL1_MPAM | ID_AA64PFR0_EL1_SVE | - ID_AA64PFR0_EL1_RAS | ID_AA64PFR0_EL1_AdvSIMD | ID_AA64PFR0_EL1_FP)), ID_FILTERED(ID_AA64PFR1_EL1, id_aa64pfr1_el1, |