Alexey Kardashevskiy 395a20d3cc ppc/spapr: Move GPRs setup to one place
At the moment "pseries" starts in SLOF which only expects the FDT blob
pointer in r3. As we are going to introduce a OpenFirmware support in
QEMU, we will be booting OF clients directly and these expect a stack
pointer in r1, Linux looks at r3/r4 for the initramdisk location
(although vmlinux can find this from the device tree but zImage from
distro kernels cannot).

This extends spapr_cpu_set_entry_state() to take more registers. This
should cause no behavioral change.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20200310050733.29805-2-aik@ozlabs.ru>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-03-17 15:08:50 +11:00
..
2020-03-10 16:12:49 +01:00
2020-03-09 15:59:31 +01:00
2020-03-09 15:59:31 +01:00
2020-03-09 15:59:31 +01:00
2020-03-06 17:21:27 +01:00
2020-03-09 15:59:31 +01:00
2020-03-09 15:59:31 +01:00
2020-02-21 09:15:04 +11:00
2020-03-12 17:34:34 +00:00
2020-03-05 12:18:08 -05:00