Re: [Qemu-devel] [PATCH 1/2] ppc/xics: Fix stale irq->status bits after get

2017-04-30 Thread David Gibson
On Thu, Apr 27, 2017 at 04:31:53PM +1000, Sam Bobroff wrote: > ics_get_kvm_state() "or"s set bits into irq->status but does not mask > out clear bits. > > Correct this by initializing the IRQ status to zero before adding bits > to it. > > Signed-off-by: Sam Bobroff This definitely looks like a

[Qemu-devel] [PATCH 1/2] ppc/xics: Fix stale irq->status bits after get

2017-04-26 Thread Sam Bobroff
ics_get_kvm_state() "or"s set bits into irq->status but does not mask out clear bits. Correct this by initializing the IRQ status to zero before adding bits to it. Signed-off-by: Sam Bobroff --- hw/intc/xics_kvm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/intc/xics_kvm.c b/hw/intc/