linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v1 0/2] Some fixes for running under -cpu max on QEMU
@ 2024-07-02 16:35 Alex Bennée
  2024-07-02 16:35 ` [kvm-unit-tests PATCH v1 1/2] arm/pmu: skip the PMU introspection test if missing Alex Bennée
  2024-07-02 16:35 ` [kvm-unit-tests PATCH v1 2/2] arm/mmu: widen the page size check to account for LPA2 Alex Bennée
  0 siblings, 2 replies; 13+ messages in thread
From: Alex Bennée @ 2024-07-02 16:35 UTC (permalink / raw)
  To: pbonzini, drjones, thuth
  Cc: kvm, qemu-arm, linux-arm-kernel, kvmarm, christoffer.dall, maz,
	Alex Bennée

Hi,

The following fixes try and make the experience of QEMU -cpu max a bit
smoother by actually checking the PMU versions supported. You can also
set -cpu max,pmu=off to fully hide PMU functionality from the
processor.

As max includes all the features we also need to take into account the
additional TGran values you can have with 52 bit addressing.

Please review,


Alex Bennée (2):
  arm/pmu: skip the PMU introspection test if missing
  arm/mmu: widen the page size check to account for LPA2

 lib/arm64/asm/processor.h | 29 ++++++++++++++---------------
 arm/pmu.c                 |  7 ++++++-
 2 files changed, 20 insertions(+), 16 deletions(-)

-- 
2.39.2



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

end of thread, other threads:[~2024-07-09 17:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-02 16:35 [kvm-unit-tests PATCH v1 0/2] Some fixes for running under -cpu max on QEMU Alex Bennée
2024-07-02 16:35 ` [kvm-unit-tests PATCH v1 1/2] arm/pmu: skip the PMU introspection test if missing Alex Bennée
2024-07-03  7:09   ` Zenghui Yu
2024-07-03  7:23     ` Marc Zyngier
2024-07-04 10:32       ` Alex Bennée
2024-07-09  8:58   ` Alexandru Elisei
2024-07-09  9:33     ` Peter Maydell
2024-07-09 14:05       ` Alex Bennée
2024-07-09 15:05         ` Alexandru Elisei
2024-07-09 17:18           ` Eric Auger
2024-07-02 16:35 ` [kvm-unit-tests PATCH v1 2/2] arm/mmu: widen the page size check to account for LPA2 Alex Bennée
2024-07-03  3:52   ` Zenghui Yu
2024-07-03 13:34     ` Andrew Jones

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).