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.
v12:
-move APIC MMIO mapping into x86_cpu_apic_realize()
-change commit message in PATCH 4
v11:
-improve commit messages
-split per CPU AS change into a separate patch
v10:
-improve commit messages in patch 1 and 2
-make the check of cpu->cpu_as_root simplier
v9:
-use a callback to correct reset sequence for x86
-update apic mmio mapping
Chen Fan (2):
apic: move APIC's MMIO region mapping into APIC
cpu/apic: drop icc bus/bridge
Zhu Guihua (3):
apic: use per CPU AS to map APIC MMIO for TCG
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 | 46 ++++++++-------
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 | 33 ++++++++---
12 files changed, 58 insertions(+), 262 deletions(-)
delete mode 100644 hw/cpu/icc_bus.c
delete mode 100644 include/hw/cpu/icc_bus.h