ping...
On 07/03/2015 05:38 PM, Zhu Guihua wrote:
ICC Bus was used for providing a hotpluggable bus for APIC and CPU,
but now we use HotplugHandler to make hotplug. So ICC Bus is
unnecessary.
This code has passed the new pc-cpu-test.
And I have tested with kvm along with kernel_irqchip=on/off,
it works fine.
This patch series is based on the latest master.
v9:
-use a callback to correct reset sequence for x86
-update apic mmio mapping
v8:
-add a wrapper to specify reset order
v7:
-update to register reset handler for main_system_bus when created
-register reset handler for apic after all devices are initialized
Chen Fan (2):
apic: map APIC's MMIO region at each CPU's address space
cpu/apic: drop icc bus/bridge
Zhu Guihua (2):
x86: use new method to correct reset sequence
icc_bus: drop the unused files
default-configs/i386-softmmu.mak | 1 -
default-configs/x86_64-softmmu.mak | 1 -
hw/cpu/Makefile.objs | 1 -
hw/cpu/icc_bus.c | 118 -------------------------------------
hw/i386/pc.c | 43 +++++++-------
hw/i386/pc_piix.c | 9 +--
hw/i386/pc_q35.c | 9 +--
hw/intc/apic_common.c | 11 +---
include/hw/cpu/icc_bus.h | 82 --------------------------
include/hw/i386/apic_internal.h | 7 ++-
include/hw/i386/pc.h | 2 +-
target-i386/cpu.c | 30 +++++++---
12 files changed, 52 insertions(+), 262 deletions(-)
delete mode 100644 hw/cpu/icc_bus.c
delete mode 100644 include/hw/cpu/icc_bus.h