mbox series

[kvm-unit-tests,0/2] s390x: smp: Improve setup of additional cpus

Message ID 20191211115923.9191-1-frankja@linux.ibm.com (mailing list archive)
Headers show
Series s390x: smp: Improve setup of additional cpus | expand

Message

Janosch Frank Dec. 11, 2019, 11:59 a.m. UTC
Let's not use constants for the PSW mask and CRs, but set them from
input data or cpu 0.

Later on we could add functions that take a ptr for setting up CRs of
additional cpus, but for now using the CRs 0,1,7,13 from cpu 0 will at
least result in a working DAT environment.

Janosch Frank (2):
  s390x: smp: Use full PSW to bringup new cpu
  s390x: smp: Setup CRs from cpu 0

 lib/s390x/smp.c  | 7 ++++++-
 s390x/cstart64.S | 4 ++--
 2 files changed, 8 insertions(+), 3 deletions(-)