diff options
author | Marc Zyngier <maz@kernel.org> | 2020-11-13 17:42:08 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-11-27 12:41:24 +0100 |
commit | 7521c3a9e63041602d531e36c07a340f188dc1fa (patch) | |
tree | 15e5d7a46552774522004b6656bf16c096de1286 /include/kvm | |
parent | KVM: arm64: Gate kvm_pmu_update_state() on the PMU feature (diff) | |
download | linux-7521c3a9e63041602d531e36c07a340f188dc1fa.tar.xz linux-7521c3a9e63041602d531e36c07a340f188dc1fa.zip |
KVM: arm64: Get rid of the PMU ready state
The PMU ready state has no user left. Goodbye.
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/kvm')
-rw-r--r-- | include/kvm/arm_pmu.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/kvm/arm_pmu.h b/include/kvm/arm_pmu.h index 1d94acd0bc85..fc85f50fa0e9 100644 --- a/include/kvm/arm_pmu.h +++ b/include/kvm/arm_pmu.h @@ -24,13 +24,11 @@ struct kvm_pmu { int irq_num; struct kvm_pmc pmc[ARMV8_PMU_MAX_COUNTERS]; DECLARE_BITMAP(chained, ARMV8_PMU_MAX_COUNTER_PAIRS); - bool ready; bool created; bool irq_level; struct irq_work overflow_work; }; -#define kvm_arm_pmu_v3_ready(v) ((v)->arch.pmu.ready) #define kvm_arm_pmu_irq_initialized(v) ((v)->arch.pmu.irq_num >= VGIC_NR_SGIS) u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, u64 select_idx); void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, u64 select_idx, u64 val); @@ -61,7 +59,6 @@ int kvm_arm_pmu_v3_enable(struct kvm_vcpu *vcpu); struct kvm_pmu { }; -#define kvm_arm_pmu_v3_ready(v) (false) #define kvm_arm_pmu_irq_initialized(v) (false) static inline u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, u64 select_idx) |