Revert "FROMGIT: KVM: arm64: Add minimal handling for the ARMv8.7 PMU"

This reverts commit a8ec5752e7.

Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I49b8b11423c2dcad60999e54f64154fe885cb9b5
This commit is contained in:
Will Deacon
2022-07-07 15:52:10 +01:00
parent af44bbb4f2
commit db179c8cff
2 changed files with 0 additions and 2 deletions

View File

@@ -958,7 +958,6 @@
#define ID_AA64DFR0_PMUVER_8_1 0x4
#define ID_AA64DFR0_PMUVER_8_4 0x5
#define ID_AA64DFR0_PMUVER_8_5 0x6
#define ID_AA64DFR0_PMUVER_8_7 0x7
#define ID_AA64DFR0_PMUVER_IMP_DEF 0xf
#define ID_AA64DFR0_PMSVER_8_2 0x1

View File

@@ -28,7 +28,6 @@ static u32 kvm_pmu_event_mask(struct kvm *kvm)
case ID_AA64DFR0_PMUVER_8_1:
case ID_AA64DFR0_PMUVER_8_4:
case ID_AA64DFR0_PMUVER_8_5:
case ID_AA64DFR0_PMUVER_8_7:
return GENMASK(15, 0);
default: /* Shouldn't be here, just for sanity */
WARN_ONCE(1, "Unknown PMU version %d\n", kvm->arch.pmuver);