diff options
author | 2025-08-17 21:21:57 +0100 | |
---|---|---|
committer | 2025-08-21 16:31:56 -0700 | |
commit | 7a765aa88e345782d3e4ed4c82e49f1ea82fd29c (patch) | |
tree | ba695831be9fcac3f181f0adef05f7a471ee5ed5 /rust/pin-init/internal/src | |
parent | KVM: arm64: Make ID_AA64PFR0_EL1.RAS writable (diff) | |
download | wireguard-linux-7a765aa88e345782d3e4ed4c82e49f1ea82fd29c.tar.xz wireguard-linux-7a765aa88e345782d3e4ed4c82e49f1ea82fd29c.zip |
KVM: arm64: Make ID_AA64PFR1_EL1.RAS_frac writable
Allow userspace to write to RAS_frac, under the condition that
the host supports RASv1p1 with RAS_frac==1. Other configurations
will result in RAS_frac being exposed as 0, and therefore implicitly
not writable.
To avoid the clutter, the ID_AA64PFR1_EL1 sanitisation is moved to
its own function.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/20250817202158.395078-6-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions