diff options
author | Cédric Le Goater <clg@kaod.org> | 2017-11-24 08:05:49 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-12-15 09:49:24 +1100 |
commit | d6322252b3210b663e303746f151abbae7d0b6db (patch) | |
tree | 72e721aed9af669c0f5874e1e70d8a2ff90f8236 /hw/lm32 | |
parent | 9a94ee5bb15793ef69692998ef57794a33074134 (diff) |
spapr/rtas: fix reboot of a a SMP TCG guest
Just like for hot unplug CPUs, when a guest is rebooted, the secondary
CPUs can be awaken by the decrementer and start entering SLOF at the
same time the boot CPU is.
To be safe, let's disable on the secondaries all the exceptions which
can cause an exit while the CPU is in power-saving mode.
Based on previous work from Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/lm32')
0 files changed, 0 insertions, 0 deletions