Cédric Le Goater
97c00c5444
spapr/xive: Set the OS CAM line at reset
...
When a Virtual Processor is scheduled to run on a HW thread, the
hypervisor pushes its identifier in the OS CAM line. When running with
kernel_irqchip=off, QEMU needs to emulate the same behavior.
Set the OS CAM line when the interrupt presenter of the sPAPR core is
reset. This will also cover the case of hot-plugged CPUs.
This change also has the benefit to remove the use of CPU_FOREACH()
which can be unsafe.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <20191022163812.330-8-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-10-24 13:34:15 +11:00
..
2019-10-10 11:36:23 +02:00
2019-10-17 18:16:55 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:53 +02:00
2019-10-22 17:44:01 +01:00
2019-08-21 09:13:37 +02:00
2019-10-15 18:09:05 +01:00
2019-06-12 13:20:20 +02:00
2019-10-15 18:09:05 +01:00
2019-10-15 18:18:08 -03:00
2019-08-21 13:24:01 +02:00
2019-08-16 13:31:52 +02:00
2019-10-15 18:09:05 +01:00
2019-10-15 18:09:05 +01:00
2019-10-15 18:09:04 +01:00
2019-10-04 18:49:17 +02:00
2019-08-16 13:31:53 +02:00
2019-10-15 18:09:04 +01:00
2019-10-17 15:30:44 +01:00
2019-10-15 18:18:08 -03:00
2019-10-15 18:18:08 -03:00
2019-10-24 13:34:15 +11:00
2019-08-16 13:31:53 +02:00
2019-09-20 14:08:10 -05:00
2019-10-15 18:18:08 -03:00
2019-08-16 13:31:53 +02:00
2019-10-22 17:44:00 +01:00
2019-10-15 18:18:08 -03:00
2019-10-04 18:49:16 +02:00
2019-10-04 18:49:17 +02:00
2019-10-15 18:18:08 -03:00
2019-08-16 13:31:52 +02:00
2019-10-15 18:09:05 +01:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:37:36 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:53 +02:00
2019-09-03 11:26:55 -03:00
2019-08-20 09:11:17 +02:00
2019-08-16 13:31:52 +02:00
2019-10-24 13:34:09 +11:00
2019-08-16 13:37:36 +02:00
2019-09-17 08:42:49 -07:00
2019-10-09 12:49:01 +02:00
2019-10-10 10:56:18 +02:00
2019-10-22 17:44:00 +01:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:37:36 +02:00
2019-09-20 14:08:10 -05:00
2019-08-16 13:37:36 +02:00
2019-08-20 09:11:17 +02:00
2019-10-15 18:09:04 +01:00
2019-10-22 17:44:00 +01:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:52 +02:00
2019-10-18 08:14:05 +02:00
2019-10-10 11:07:28 -06:00
2019-10-17 15:30:44 +01:00
2019-10-15 18:09:04 +01:00
2019-09-24 12:21:29 +01:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:37:36 +02:00
2019-08-20 09:11:05 +02:00
2019-07-15 20:58:37 +02:00