[kvm-unit-tests PATCH v9 12/31] powerpc: general interrupt tests
Thomas Huth
thuth at redhat.com
Tue May 7 22:12:04 AEST 2024
On 04/05/2024 14.28, Nicholas Piggin wrote:
> Add basic testing of various kinds of interrupts, machine check,
> page fault, illegal, decrementer, trace, syscall, etc.
>
> This has a known failure on QEMU TCG pseries machines where MSR[ME]
> can be incorrectly set to 0.
>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
> lib/powerpc/asm/processor.h | 4 +
> lib/powerpc/asm/reg.h | 17 ++
> lib/powerpc/setup.c | 11 +
> lib/ppc64/asm/ptrace.h | 16 ++
> powerpc/Makefile.common | 3 +-
> powerpc/interrupts.c | 414 ++++++++++++++++++++++++++++++++++++
> powerpc/unittests.cfg | 3 +
> 7 files changed, 467 insertions(+), 1 deletion(-)
> create mode 100644 powerpc/interrupts.c
Acked-by: Thomas Huth <thuth at redhat.com>
More information about the Linuxppc-dev
mailing list