On Wed, May 22, 2024 at 10:11:06PM +0100, Salil Mehta via wrote: > Date: Wed, 22 May 2024 22:11:06 +0100 > From: Salil Mehta via <qemu-devel@nongnu.org> > Subject: [PATCH V11 3/8] hw/acpi: Update ACPI GED framework to support vCPU > Hotplug > X-Mailer: git-send-email 2.34.1 > > ACPI GED (as described in the ACPI 6.4 spec) uses an interrupt listed in the > _CRS object of GED to intimate OSPM about an event. Later then demultiplexes > the > notified event by evaluating ACPI _EVT method to know the type of event. Use > ACPI GED to also notify the guest kernel about any CPU hot(un)plug events. > > ACPI CPU hotplug related initialization should only happen if ACPI_CPU_HOTPLUG > support has been enabled for particular architecture. Add > cpu_hotplug_hw_init() > stub to avoid compilation break. > > Co-developed-by: Keqian Zhu <zhukeqi...@huawei.com> > Signed-off-by: Keqian Zhu <zhukeqi...@huawei.com> > Signed-off-by: Salil Mehta <salil.me...@huawei.com> > Reviewed-by: Jonathan Cameron <jonathan.came...@huawei.com> > Reviewed-by: Gavin Shan <gs...@redhat.com> > Reviewed-by: David Hildenbrand <da...@redhat.com> > Reviewed-by: Shaoqin Huang <shahu...@redhat.com> > Tested-by: Vishnu Pajjuri <vis...@os.amperecomputing.com> > Tested-by: Xianglai Li <lixiang...@loongson.cn> > Tested-by: Miguel Luis <miguel.l...@oracle.com> > Reviewed-by: Vishnu Pajjuri <vis...@os.amperecomputing.com> > --- > hw/acpi/acpi-cpu-hotplug-stub.c | 6 ++++++ > hw/acpi/cpu.c | 6 +++++- > hw/acpi/generic_event_device.c | 17 +++++++++++++++++ > include/hw/acpi/generic_event_device.h | 4 ++++ > 4 files changed, 32 insertions(+), 1 deletion(-) >
Reviewed-by: Zhao Liu <zhao1....@intel.com>