Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-27 Thread Blue Swirl
On Thu, Oct 27, 2011 at 08:41, liu ping fan wrote: > Hi, > > I want to rework on it according to your comments. Before that, just want to > make clear that I understand your meanings exactly :) > > According to the previous discussion, I will model the system according the > rule -- if there is

Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-27 Thread liu ping fan
Hi, I want to rework on it according to your comments. Before that, just want to make clear that I understand your meanings exactly :) According to the previous discussion, I will model the system according the rule -- if there is APIC in the system (including UP and MP), ICC bus will be creat

Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-25 Thread Blue Swirl
On Tue, Oct 25, 2011 at 08:55, liu ping fan wrote: > On Sun, Oct 23, 2011 at 12:40:08PM +, Blue Swirl wrote: >> On Wed, Oct 19, 2011 at 01:55,   wrote: >> > From: Liu Ping Fan >> > >> > Introduce a new structure CPUS as the controller of ICC (INTERRUPT >> > CONTROLLER COMMUNICATIONS), and new

Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-25 Thread liu ping fan
On Sun, Oct 23, 2011 at 12:40:08PM +, Blue Swirl wrote: > On Wed, Oct 19, 2011 at 01:55, wrote: > > 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 su

Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-23 Thread Jan Kiszka
On 2011-10-23 17:54, Blue Swirl wrote: > On Sun, Oct 23, 2011 at 15:45, Jan Kiszka wrote: >> On 2011-10-23 14:40, Blue Swirl wrote: >>> I'm not sure that a full bus is needed for now, even if it could match >>> real HW better, since the memory API already provides the separation >>> needed. Perhap

Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-23 Thread Blue Swirl
On Sun, Oct 23, 2011 at 15:45, Jan Kiszka wrote: > On 2011-10-23 14:40, Blue Swirl wrote: >> I'm not sure that a full bus is needed for now, even if it could match >> real HW better, since the memory API already provides the separation >> needed. Perhaps this would be needed later to make IRQs per

Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-23 Thread Jan Kiszka
On 2011-10-23 14:40, Blue Swirl wrote: > I'm not sure that a full bus is needed for now, even if it could match > real HW better, since the memory API already provides the separation > needed. Perhaps this would be needed later to make IRQs per-CPU also, > or to put IOAPIC also to the bus? The ICC

Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-23 Thread Blue Swirl
On Wed, Oct 19, 2011 at 01:55, wrote: > 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. Is this ICC bus or APIC hot plugging docum

Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-19 Thread liu ping fan
On Wed, Oct 19, 2011 at 03:42:27PM +0200, Jan Kiszka wrote: > On 2011-10-19 15:33, Jan Kiszka wrote: > > On 2011-10-19 14:54, Anthony Liguori wrote: > >> On 10/19/2011 05:53 AM, Jan Kiszka wrote: > >>> On 2011-10-19 03:55, pingf...@linux.vnet.ibm.com wrote: > From: Liu Ping Fan > > I

Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-19 Thread Jan Kiszka
On 2011-10-19 15:33, Jan Kiszka wrote: > On 2011-10-19 14:54, Anthony Liguori wrote: >> On 10/19/2011 05:53 AM, Jan Kiszka wrote: >>> On 2011-10-19 03:55, pingf...@linux.vnet.ibm.com wrote: From: Liu Ping Fan Introduce a new structure CPUS as the controller of ICC (INTERRUPT CON

Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-19 Thread Jan Kiszka
On 2011-10-19 14:54, Anthony Liguori wrote: > On 10/19/2011 05:53 AM, Jan Kiszka wrote: >> On 2011-10-19 03:55, pingf...@linux.vnet.ibm.com wrote: >>> From: Liu Ping Fan >>> >>> Introduce a new structure CPUS as the controller of ICC (INTERRUPT >>> CONTROLLER COMMUNICATIONS), and new bus "ICC" to h

Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-19 Thread Anthony Liguori
On 10/19/2011 05:53 AM, Jan Kiszka wrote: On 2011-10-19 03:55, pingf...@linux.vnet.ibm.com wrote: 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 f

Re: [Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-19 Thread Jan Kiszka
On 2011-10-19 03:55, pingf...@linux.vnet.ibm.com wrote: > 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 pi

[Qemu-devel] [PATCH 1/1] Introduce a new bus "ICC" to connect APIC

2011-10-18 Thread pingfank
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