[kvm-unit-tests PATCH v10 08/15] powerpc: add pmu tests

Thomas Huth thuth at redhat.com
Wed Jun 19 01:20:24 AEST 2024


On 12/06/2024 07.23, Nicholas Piggin wrote:
> Add some initial PMU testing.
> 
> - PMC5/6 tests
> - PMAE / PMI test
> - BHRB basic tests
> 
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
>   lib/powerpc/asm/processor.h |   2 +
>   lib/powerpc/asm/reg.h       |   9 +
>   lib/powerpc/asm/setup.h     |   1 +
>   lib/powerpc/setup.c         |  20 ++
>   powerpc/Makefile.common     |   3 +-
>   powerpc/pmu.c               | 562 ++++++++++++++++++++++++++++++++++++
>   powerpc/unittests.cfg       |   3 +
>   7 files changed, 599 insertions(+), 1 deletion(-)
>   create mode 100644 powerpc/pmu.c

  Hi Nicholas!

Something in this patch breaks compiling with Clang in the Travis-CI:

  https://app.travis-ci.com/github/huth/kvm-unit-tests/builds/271013764

Not sure what exactly it is, the log is not very helpful. Do you have a 
ppc64 host where you could test your patches with Clang?

  Thomas




More information about the Linuxppc-dev mailing list