commit | 3727b44cbb779bc2237b9b424e338116d1b8aa01 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Sun Feb 16 18:17:22 2020 +0000 |
committer | Marc Zyngier <maz@kernel.org> | Sun Feb 16 18:23:38 2020 +0000 |
tree | 49e9c60d770c7f3757a8af285287d75ff16eeb21 | |
parent | 5c58e5e78a2fa585ced47f0a6a50438fc620ece6 [diff] |
KVM: arm64: Upgrade PMU support to ARMv8.4 Upgrading the PMU code from ARMv8.1 to ARMv8.4 turns out to be pretty easy. All that is required is support for PMMIR_EL1, which is read-only, and for which returning 0 is a valid option. Let's just do that and adjust what we return to the guest. Signed-off-by: Marc Zyngier <maz@kernel.org>