Re: [Qemu-devel] [PATCH v2 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-06 Thread Paolo Bonzini
Il 06/03/2013 00:23, Peter Maydell ha scritto: On 6 March 2013 03:00, Paolo Bonzini pbonz...@redhat.com wrote: On the x86, some devices need access to the CPU reset pin (INIT#). Provide a generic service to do this, using one of the internal cpu_interrupt targets. Generalize the PPC-specific

Re: [Qemu-devel] [PATCH v2 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-06 Thread Paolo Bonzini
Il 06/03/2013 03:02, Peter Crosthwaite ha scritto: If you truly have connectivity from device land to the CPU cluster should that be reflected by some sort of QOM linkage? I think in real hardware what happens is that a single wire is distributed to all CPUs. Devices do not have direct links

Re: [Qemu-devel] [PATCH v2 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-06 Thread Andreas Färber
Am 06.03.2013 10:13, schrieb Paolo Bonzini: Il 06/03/2013 03:02, Peter Crosthwaite ha scritto: If you truly have connectivity from device land to the CPU cluster should that be reflected by some sort of QOM linkage? I think in real hardware what happens is that a single wire is distributed

Re: [Qemu-devel] [PATCH v2 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-06 Thread Peter Maydell
On 6 March 2013 17:13, Paolo Bonzini pbonz...@redhat.com wrote: Il 06/03/2013 03:02, Peter Crosthwaite ha scritto: If you truly have connectivity from device land to the CPU cluster should that be reflected by some sort of QOM linkage? I think in real hardware what happens is that a single

Re: [Qemu-devel] [PATCH v2 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-06 Thread Paolo Bonzini
Il 06/03/2013 13:12, Peter Maydell ha scritto: On 6 March 2013 17:13, Paolo Bonzini pbonz...@redhat.com wrote: Il 06/03/2013 03:02, Peter Crosthwaite ha scritto: If you truly have connectivity from device land to the CPU cluster should that be reflected by some sort of QOM linkage? I think

[Qemu-devel] [PATCH v2 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-05 Thread Paolo Bonzini
On the x86, some devices need access to the CPU reset pin (INIT#). Provide a generic service to do this, using one of the internal cpu_interrupt targets. Generalize the PPC-specific code for CPU_INTERRUPT_RESET to other targets, and provide a function that will raise the interrupt on all CPUs.

Re: [Qemu-devel] [PATCH v2 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-05 Thread Peter Maydell
On 6 March 2013 03:00, Paolo Bonzini pbonz...@redhat.com wrote: On the x86, some devices need access to the CPU reset pin (INIT#). Provide a generic service to do this, using one of the internal cpu_interrupt targets. Generalize the PPC-specific code for CPU_INTERRUPT_RESET to other targets,

Re: [Qemu-devel] [PATCH v2 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-05 Thread Peter Crosthwaite
Hi Paolo, On Wed, Mar 6, 2013 at 5:00 AM, Paolo Bonzini pbonz...@redhat.com wrote: On the x86, some devices need access to the CPU reset pin (INIT#). Provide a generic service to do this, using one of the internal cpu_interrupt targets. Generalize the PPC-specific code for