qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 0/4] remove icc bus/bridge
@ 2015-05-13  7:11 Zhu Guihua
  2015-05-13  7:11 ` [Qemu-devel] [PATCH v5 1/4] apic: move apic mmio register to each apic realizefn Zhu Guihua
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Zhu Guihua @ 2015-05-13  7:11 UTC (permalink / raw)
  To: qemu-devel, imammedo, afaerber, pbonzini, ehabkost
  Cc: chen.fan.fnst, izumi.taku, Zhu Guihua, guz.fnst

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 rebased on Eduardo's x86 tree.
https://github.com/ehabkost/qemu.git

v5:
 -convert DEVICE() casts to C casts
 -use a local variable instead of doing the cast inline twice
 -drop to set cpu's parent bus
 -rename patch 3's subject
 -fix a bug about setting cpu's apic base

v4:
 -add wrapper to get root memory region from address space
 -set cpu apic base's default value in x86_cpu_apic_create()
 -drop NULL check for cpu apic_state
 -put drop of the unused files about icc_bus into a seprate patch
 -put DEVICE() casts into a seprate patch

v3:
 -replace init apic by object_new()
 -add reset apic at the time of CPU reset

Chen Fan (2):
  apic: move apic mmio register to each apic realizefn
  cpu/apic: drop icc bus/bridge

Zhu Guihua (2):
  apic: convert ->busdev.qdev casts to C casts
  icc_bus: drop the unused files

 default-configs/i386-softmmu.mak   |   1 -
 default-configs/x86_64-softmmu.mak |   1 -
 exec.c                             |   5 ++
 hw/cpu/Makefile.objs               |   1 -
 hw/cpu/icc_bus.c                   | 118 -------------------------------------
 hw/i386/pc.c                       |  26 ++------
 hw/i386/pc_piix.c                  |   9 +--
 hw/i386/pc_q35.c                   |   9 +--
 hw/intc/apic.c                     |   8 ++-
 hw/intc/apic_common.c              |  19 +++---
 include/exec/memory.h              |   5 ++
 include/hw/cpu/icc_bus.h           |  82 --------------------------
 include/hw/i386/apic_internal.h    |   7 ++-
 include/hw/i386/pc.h               |   2 +-
 target-i386/cpu.c                  |  16 +++--
 15 files changed, 46 insertions(+), 263 deletions(-)
 delete mode 100644 hw/cpu/icc_bus.c
 delete mode 100644 include/hw/cpu/icc_bus.h

-- 
1.9.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-05-15 16:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-13  7:11 [Qemu-devel] [PATCH v5 0/4] remove icc bus/bridge Zhu Guihua
2015-05-13  7:11 ` [Qemu-devel] [PATCH v5 1/4] apic: move apic mmio register to each apic realizefn Zhu Guihua
2015-05-15 15:48   ` Igor Mammedov
2015-05-13  7:11 ` [Qemu-devel] [PATCH v5 2/4] apic: convert ->busdev.qdev casts to C casts Zhu Guihua
2015-05-15 15:38   ` Igor Mammedov
2015-05-13  7:11 ` [Qemu-devel] [PATCH v5 3/4] cpu/apic: drop icc bus/bridge Zhu Guihua
2015-05-15 16:12   ` Igor Mammedov
2015-05-13  7:11 ` [Qemu-devel] [PATCH v5 4/4] icc_bus: drop the unused files Zhu Guihua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).