Re: [Qemu-devel] [PATCH v5 4/8] hw: arm_gic: Keep track of SGI sources

2014-02-02 Thread Christoffer Dall
On Fri, Jan 31, 2014 at 06:33:25PM +, Peter Maydell wrote: > On 28 January 2014 20:32, Christoffer Dall > wrote: > > Right now the arm gic emulation doesn't keep track of the source of an > > SGI (which apparently Linux guests don't use, or they're fine with > > assuming CPU 0 always). > > >

Re: [Qemu-devel] [PATCH v5 4/8] hw: arm_gic: Keep track of SGI sources

2014-01-31 Thread Peter Maydell
On 28 January 2014 20:32, Christoffer Dall wrote: > Right now the arm gic emulation doesn't keep track of the source of an > SGI (which apparently Linux guests don't use, or they're fine with > assuming CPU 0 always). > > Add the necessary matrix on the GICState structure and maintain the data > w

[Qemu-devel] [PATCH v5 4/8] hw: arm_gic: Keep track of SGI sources

2014-01-28 Thread Christoffer Dall
Right now the arm gic emulation doesn't keep track of the source of an SGI (which apparently Linux guests don't use, or they're fine with assuming CPU 0 always). Add the necessary matrix on the GICState structure and maintain the data when setting and clearing the pending state of an IRQ and make