Stefano Stabellini 521394e4e6 xen: use the pirq number to check the pirq_eoi_map
In pirq_check_eoi_map use the pirq number rather than the Linux irq
number to check whether an eoi is needed in the pirq_eoi_map.

The reason is that the irq number is not always identical to the
pirq number so if we wrongly use the irq number to check the
pirq_eoi_map we are going to check for the wrong pirq to EOI.

As a consequence some interrupts might not be EOI'ed by the
guest correctly.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Tested-by: Tobias Geiger <tobias.geiger@vido.info>
[v1: Added some extra wording to git commit]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2012-04-26 18:02:02 -04:00
..
2012-04-06 17:54:53 -07:00
2011-12-16 13:29:39 -05:00
2008-12-16 21:50:31 +01:00
2012-04-17 13:27:17 -04:00
2012-04-19 15:12:49 -04:00
2011-12-16 13:29:31 -05:00
2012-03-22 20:16:14 -07:00