diff options
author | Marc Zyngier <maz@kernel.org> | 2022-11-13 19:38:28 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-11-19 15:56:39 +0300 |
commit | d82e0dfdfda73f91e7282e1083a2cd7cd366ea87 (patch) | |
tree | dac765df304cea1a8a2645e96159130f5d106b74 /arch/riscv | |
parent | 60e651ff1f48bfdf8fec80d35510bd89ecf8c766 (diff) | |
download | linux-d82e0dfdfda73f91e7282e1083a2cd7cd366ea87.tar.xz |
KVM: arm64: PMU: Allow ID_DFR0_EL1.PerfMon to be set from userspace
Allow userspace to write ID_DFR0_EL1, on the condition that only
the PerfMon field can be altered and be something that is compatible
with what was computed for the AArch64 view of the guest.
Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221113163832.3154370-13-maz@kernel.org
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions