[kvm-unit-tests PATCH v2 0/7] s390x: smp: Improve smp code and reset checks

Janosch Frank
2020-01-16T12:05:31Z

Let's extend sigp reset testing and clean up the smp library as well.

GIT: https://github.com/frankjaa/kvm-unit-tests/tree/smp_cleanup

v2:
* Added cpu stop to test_store_status()
* Added smp_cpu_destroy() to the end of smp.c main()
* New patch that prints cpu id on interrupt errors
* New patch that reworks cpu start in the smp library (needed for lpar)
* New patch that waits for cpu setup in smp_cpu_setup() (needed for lpar)
* nullp is now an array

Janosch Frank (7):
s390x: smp: Cleanup smp.c
s390x: smp: Only use smp_cpu_setup once
s390x: Add cpu id to interrupt error prints
s390x: smp: Rework cpu start and active tracking
s390x: smp: Wait for cpu setup to finish
s390x: smp: Test all CRs on initial reset
s390x: smp: Dirty fpc before initial reset test

lib/s390x/interrupt.c | 20 +++++------
lib/s390x/smp.c | 47 +++++++++++++-----------
s390x/cstart64.S | 2 ++
s390x/smp.c | 84 +++++++++++++++++++++++++++++--------------
4 files changed, 96 insertions(+), 57 deletions(-)

--
2.20.1