On Fri, Oct 20, 2023 at 09:40:44PM +0000, Raghavendra Rao Ananta wrote: [...] > +int kvm_arm_pmu_get_max_counters(struct kvm *kvm) > +{ > + struct arm_pmu *arm_pmu = kvm->arch.arm_pmu; > + > + lockdep_assert_held(&kvm->arch.config_lock); This lockdep assertion is misleading. Readers of kvm_arch::arm_pmu *are not* serialized by the config_lock. -- Thanks, Oliver