KVM: s390: selftests: Add IRQ injection selftests
Janosch Frank
maintainerPATCH 1/1 KVM: s390: selftests: Add IRQ injection selftests
From: Gabriella Seifert <[email protected]>
The IRQ injection selftests haven't been added to the selftests yet so let's do that now. We start off with a couple simple error checks for invalid data.
---
Written by Gabriela in her internship as a side project. Unfortunately she wasn't able to send it out herself due to a bit of time crunch. She did prepare additional code that's more in-depth with guest side checks but didn't have the time to fully test and clean it up. We'll see if and when that code will be posted.
I have her permission to fix up review comments and she's in bcc.
--- tools/testing/selftests/kvm/Makefile.kvm | 1 + .../selftests/kvm/s390/irq_injection.c | 74 +++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 tools/testing/selftests/kvm/s390/irq_injection.c
tools/testing/selftests/kvm/Makefile.kvm +1 -0
@@ -215,6 +215,7 @@ TEST_GEN_PROGS_s390 += rseq_test TEST_GEN_PROGS_s390 += s390/irq_routing TEST_GEN_PROGS_s390 += mmu_stress_test TEST_GEN_PROGS_s390 += pre_fault_memory_test +TEST_GEN_PROGS_s390 += s390/irq_injection TEST_GEN_PROGS_riscv = $(TEST_GEN_PROGS_COMMON) TEST_GEN_PROGS_riscv += riscv/sbi_pmu_test
tools/testing/selftests/kvm/s390/irq_injection.c new file +74 -0
74 lines not on this page · raw message
Signature · 1 line
2.53.0
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 9 lines
From: Gabriella Seifert <[email protected]>
The IRQ injection selftests haven't been added to the selftests yet so let's do that now. We start off with a couple simple error checks for invalid data.
Signed-off-by Gabriella Seifert <[email protected]>[[email protected]: Improved formatting and wording]Signed-off-by Janosch Frank <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1