On Sat, 20 Jul 2024 at 10:31, Akihiko Odaki <akihiko.odaki@xxxxxxxxxx> wrote: > > target/arm/kvm.c checked PMU availability but claimed PMU is > available even if it is not. In fact, Asahi Linux supports KVM but lacks > PMU support. Only advertise PMU availability only when it is really > available. > > Fixes: dc40d45ebd8e ("target/arm/kvm: Move kvm_arm_get_host_cpu_features and unexport") > > Signed-off-by: Akihiko Odaki <akihiko.odaki@xxxxxxxxxx> > Akihiko Odaki (6): > target/arm/kvm: Set PMU for host only when available > target/arm/kvm: Do not silently remove PMU > target/arm: Always add pmu property for Armv7-A/R+ > hvf: arm: Raise an exception for sysreg by default > hvf: arm: Properly disable PMU > hvf: arm: Do not advance PC when raising an exception Thanks for this patchset; I've applied patches 1, 2, 4, 5 and 6 to target-arm.next, but I had comments about patch 3. (Let me know if there's a dependency that 4-6 have on patch 3 that I've missed: but they look to me like they're still OK to take without patch 3.) -- PMM