qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] target/arm/kvm: Report PMU unavailability
@ 2024-06-29 12:50 Akihiko Odaki
  2024-06-29 12:50 ` [PATCH 1/3] tests/arm-cpu-features: Do not assume PMU availability Akihiko Odaki
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Akihiko Odaki @ 2024-06-29 12:50 UTC (permalink / raw)
  To: Peter Maydell, Thomas Huth, Laurent Vivier, Paolo Bonzini
  Cc: qemu-arm, qemu-devel, kvm, Akihiko Odaki

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@daynix.com>
---
Akihiko Odaki (3):
      tests/arm-cpu-features: Do not assume PMU availability
      target/arm: Always add pmu property
      target/arm/kvm: Report PMU unavailability

 target/arm/cpu.c               |  3 ++-
 target/arm/kvm.c               |  2 +-
 tests/qtest/arm-cpu-features.c | 13 ++++++++-----
 3 files changed, 11 insertions(+), 7 deletions(-)
---
base-commit: 046a64b9801343e2e89eef10c7a48eec8d8c0d4f
change-id: 20240629-pmu-ad5f67e2c5d0

Best regards,
-- 
Akihiko Odaki <akihiko.odaki@daynix.com>



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-07-01 13:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-29 12:50 [PATCH 0/3] target/arm/kvm: Report PMU unavailability Akihiko Odaki
2024-06-29 12:50 ` [PATCH 1/3] tests/arm-cpu-features: Do not assume PMU availability Akihiko Odaki
2024-06-29 12:50 ` [PATCH 2/3] target/arm: Always add pmu property Akihiko Odaki
2024-07-01 11:54   ` Peter Maydell
2024-07-01 12:16     ` Akihiko Odaki
2024-07-01 13:32       ` Peter Maydell
2024-06-29 12:50 ` [PATCH 3/3] target/arm/kvm: Report PMU unavailability Akihiko Odaki
2024-06-29 17:27 ` [PATCH 0/3] " Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).