From: Liu Ping Fan
Introduce a new structure CPUS as the controller of ICC (INTERRUPT
CONTROLLER COMMUNICATIONS), and new bus "ICC" to hold APIC,instead
of sysbus. So we can support APIC hot-plug feature.
Signed-off-by: liu ping fan
---
Makefile.target |1 +
hw/apic.c | 24
From: Liu Ping Fan
Introduce a new structure CPUS as the controller of ICC (INTERRUPT
CONTROLLER COMMUNICATIONS), and new bus "ICC" to hold APIC,instead
of sysbus. So we can support APIC hot-plug feature.
Signed-off-by: liu ping fan
---
Makefile.target |1 +
hw/apic.c | 24
From: Liu Ping Fan
Introduce a new structure CPUS as the controller of ICC (INTERRUPT
CONTROLLER COMMUNICATIONS), and new bus "ICC" to hold APIC,instead
of sysbus. So we can support APIC hot-plug feature.
Signed-off-by: liu ping fan
---
Makefile.target |1 +
hw/apic.c | 24
From: Liu Ping Fan
When I tried to enable cpu hotplug feature for qemu-kvm, I found that the ACPI
device eject event just skipped by kernel.
static void acpi_bus_notify(acpi_handle handle, u32 type, void *data)
{
case ACPI_NOTIFY_EJECT_REQUEST:
/* TBD */---> skipped fro
From: Liu Ping Fan
Call the remove handler for ACPI_NOTIFY_EJECT_REQUEST
Signed-off-by: Liu Ping Fan
---
drivers/acpi/bus.c |2 +-
drivers/acpi/scan.c |2 +-
include/acpi/acpi_bus.h |2 ++
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/bus.c b/
From: Liu Ping Fan
When I tried to enable cpu hotplug feature for qemu-kvm, I found that the ACPI
device eject event just skipped by kernel.
static void acpi_bus_notify(acpi_handle handle, u32 type, void *data)
{
case ACPI_NOTIFY_EJECT_REQUEST:
/* TBD */---> skipped fro
From: Liu Ping Fan
Call the remove handler for ACPI_NOTIFY_EJECT_REQUEST
Signed-off-by: Liu Ping Fan
---
drivers/acpi/bus.c |2 +-
drivers/acpi/scan.c |2 +-
include/acpi/acpi_bus.h |2 ++
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/bus.c b/
From: Liu Ping Fan
Introduce a new structure CPUS as the controller of ICC (INTERRUPT
CONTROLLER COMMUNICATIONS), and new bus "ICC" to hold APIC,instead
of sysbus. So we can support APIC hot-plug feature.
Signed-off-by: liu ping fan
---
Makefile.target |1 +
hw/apic.c | 25
From: Liu Ping Fan
A bunch of patches, which are applied separately for kernel and qemu-kvm,
and make x86 based linux guest with cpu hotplug feature.
For kernel:
0001-ACPI-Call-ACPI-remove-handler-when-handling-ACPI-eje.patch
--call acpi eject event handler in acpi_bus_notify()
For qemu-kvm:
00
From: Liu Ping Fan
Separate apic from qbus to icc bus which supports hotplug feature.
And make the creation of apic as part of cpu initialization, so
apic's state has been ready, before setting kvm_apic.
Signed-off-by: Liu Ping Fan
---
Makefile.target |1 +
hw/apic.c|7
From: Liu Ping Fan
Need to update cpu hotplug event for guest when updating SCI event
Signed-off-by: Liu Ping Fan
---
hw/acpi_piix4.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c
index 44eb8ae..f585226 100644
--- a/hw/acpi_piix4.c
From: Liu Ping Fan
Call the remove handler for ACPI_NOTIFY_EJECT_REQUEST
Signed-off-by: Liu Ping Fan
---
drivers/acpi/bus.c |2 +-
drivers/acpi/scan.c |2 +-
include/acpi/acpi_bus.h |2 ++
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/bus.c b/
12 matches
Mail list logo