]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen: use the pirq number to check the pirq_eoi_map
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 25 Apr 2012 15:11:38 +0000 (16:11 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 30 Apr 2012 15:14:09 +0000 (11:14 -0400)
commitb001c64086adde9b4fdb0bb8c2c8cfde2c350494
tree2823ea6cf5b68102d1b5d6ffb517087ea200e110
parent11ec2bc9fc2e664c8c7622a2176f920ce06dae96
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.

[upstream git commit 521394e4e679996955bc351cb6b64639751db2ff]
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>
drivers/xen/events.c