[kvm-unit-tests,v5,0/7] s390x: smp: Improve smp code and reset checks
mbox series

Message ID 20200201152851.82867-1-frankja@linux.ibm.com
Headers show
  • s390x: smp: Improve smp code and reset checks
Related show


Janosch Frank Feb. 1, 2020, 3:28 p.m. UTC
Let's cleanup the smp library and smp tests.

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

	* Split up series into three parts to make review easier
	* Greetings from FOSDEM :-)

	* Introduce set_flag() for manipulating testflag
	* Cleanup of stray braces and mb()s

	* Added patch to introduce cpu loop in cpu setup
	* Added patch that removes cpu loops in favor of the previously introduced one
	* Fixed inline assembly for fpc dirtying
	* Moved cpu stop hunk from first into the second patch
	* Reworked patch #4 commit message and added a comment when waiting for PU

	* 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)
	* nullp is now an array

Janosch Frank (7):
  s390x: smp: Cleanup smp.c
  s390x: smp: Fix ecall and emcall report strings
  s390x: Stop the cpu that is executing exit()
  s390x: Add cpu id to interrupt error prints
  s390x: smp: Only use smp_cpu_setup once
  s390x: smp: Rework cpu start and active tracking
  s390x: smp: Wait for cpu setup to finish

 lib/s390x/interrupt.c | 20 +++++------
 lib/s390x/io.c        |  2 +-
 lib/s390x/smp.c       | 59 +++++++++++++++++++------------
 s390x/cstart64.S      |  2 ++
 s390x/smp.c           | 80 ++++++++++++++++++++++++++-----------------
 5 files changed, 100 insertions(+), 63 deletions(-)