On Mon, 2021-01-04 at 18:26 +0000, Marc Zyngier wrote: > What I'm suggesting is this [1], which is to get rid of KVM_ARM_PMU > completely. At least, the kernel configuration will be consistent. > Do you have a patch for CONFIG_KVM to select HW_PERF_EVENTS then? I could cook one if not. > Overall, I think there is an issue with KVM exposing more than it > should to userspace when no PMU is defined, but I don't think that's > the problem you are seeing. > > M. > > [1] https://lore.kernel.org/r/20210104172723.2014324-1-maz@xxxxxxxxxx