commit | 46081078feb451b5488c225c1e600ada24285c06 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Sun Feb 16 18:17:22 2020 +0000 |
committer | Marc Zyngier <maz@kernel.org> | Wed Feb 03 11:00:22 2021 +0000 |
tree | 51fa45fca0a3c80fddea9eccfaa64c6514015b5c | |
parent | 94893fc9ad8cdb05fdb64e00128997bc530e2ca9 [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 as long as we don't advertise STALL_SLOT as an implemented event. Let's just do that and adjust what we return to the guest. Signed-off-by: Marc Zyngier <maz@kernel.org>