Re: [kvm-unit-tests PATCH v2 1/5] [kvm-unit-tests PATCH v2 0/5] Add specification exception tests

Janis Schoetterl-Glausch
2021-10-05T11:14:24Z

Oops, forgot to Cc the lists on the cover letter, see below.

Test that specification exceptions cause the correct interruption code
during both normal and transactional execution.

The last three patches are cosmetic only and could be dropped.

Unrelated: There should not be * in the file patterns in MAINTAINERS,
should there?

v1 -> v2
Add license and test description
Split test patch into normal test and transactional execution test
Add comments to
invalid PSW fixup function
with_transaction
Rename some variables/functions
Pass mask as single parameter to asm
Get rid of report_info_if macro
Introduce report_pass/fail and use them

Janis Schoetterl-Glausch (5):
s390x: Add specification exception test
s390x: Test specification exceptions during transaction
lib: Introduce report_pass and report_fail
Use report_fail(...) instead of report(0/false, ...)
Use report_pass(...) instead of report(1/true, ...)

s390x/Makefile | 1 +
lib/s390x/asm/arch_def.h | 1 +
lib/libcflat.h | 6 +-
lib/report.c | 20 ++-
lib/s390x/css_lib.c | 30 ++--
x86/vmx.h | 31 ++--
arm/psci.c | 2 +-
arm/timer.c | 2 +-
s390x/css.c | 22 +--
s390x/diag288.c | 2 +-
s390x/selftest.c | 2 +-
s390x/smp.c | 16 +-
s390x/spec_ex.c | 345 +++++++++++++++++++++++++++++++++++++++
x86/asyncpf.c | 11 +-
x86/emulator.c | 2 +-
x86/hyperv_stimer.c | 24 ++-
x86/hyperv_synic.c | 2 +-
x86/svm_tests.c | 180 ++++++++++----------
x86/syscall.c | 2 +-
x86/taskswitch2.c | 2 +-
x86/tsc_adjust.c | 2 +-
x86/vmx.c | 23 ++-
x86/vmx_tests.c | 172 ++++++++++---------
s390x/unittests.cfg | 3 +
24 files changed, 630 insertions(+), 273 deletions(-)
create mode 100644 s390x/spec_ex.c

base-commit: fe26131eec769cef7ad7e2e1e4e192aa0bdb2bba
--
2.31.1