[kvm-unit-tests PATCH v1 0/2] Some fixes for running under -cpu max on QEMU
Alex Bennée
alex.bennee at linaro.org
Tue Jul 2 09:35:13 PDT 2024
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
More information about the linux-arm-kernel
mailing list