Skip to content
Commit 60e651ff authored by Marc Zyngier's avatar Marc Zyngier
Browse files

KVM: arm64: PMU: Allow ID_AA64DFR0_EL1.PMUver to be set from userspace



Allow userspace to write ID_AA64DFR0_EL1, on the condition that only
the PMUver field can be altered and be at most the one that was
initially computed for the guest.

Reviewed-by: default avatarReiji Watanabe <reijiw@google.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221113163832.3154370-12-maz@kernel.org
parent 3d0dba57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment