ppc/xics: account correct irq status
commit056b977521a907e9b84c0ad0017a082ff56e69f3
authorNikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Mon, 19 Sep 2016 06:29:29 +0000 (19 11:59 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 23 Sep 2016 02:39:07 +0000 (23 12:39 +1000)
treef834c3a552c1e187f78e3a310a2cd6d585ac6a0f
parent5145ad4fad099983887c6e6caa2354376005226f
ppc/xics: account correct irq status

Fix inconsistent irq status, because of this in the trace logs, for e.g.
LSI status was 0x7, i.e. XICS_STATUS_ASSERTED, XICS_STATUS_SENT and
XICS_STATUS_REJECTED all set, which did not make sense. So the REJECTED
would have been set in earlier interrupt cycle, and then asserted and
sent in this current one.

Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xics.c