original_kernel/include/xen
Stefano Stabellini 68c2c39a76 xen: do not map the same GSI twice in PVHVM guests.
PV on HVM guests map GSIs into event channels. At restore time the
event channels are resumed by restore_pirqs.

Device drivers might try to register the same GSI again through ACPI at
restore time, but the GSI has already been mapped and bound by
restore_pirqs. This patch detects these situations and avoids
 mapping the same GSI multiple times.

Without this patch we get:
(XEN) irq.c:2235: dom4: pirq 23 or emuirq 28 already mapped
and waste a pirq.

CC: stable@kernel.org
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2012-05-21 14:11:36 -04:00
..
interface
Kbuild
acpi.h xen/acpi/sleep: Enable ACPI sleep via the __acpi_os_prepare_sleep 2012-05-07 15:33:18 -04:00
balloon.h
events.h xen: do not map the same GSI twice in PVHVM guests. 2012-05-21 14:11:36 -04:00
evtchn.h
features.h
gntalloc.h
gntdev.h
grant_table.h xenbus: Add support for xenbus backend in stub domain 2012-05-21 09:53:18 -04:00
hvc-console.h
hvm.h
page.h
platform_pci.h
privcmd.h
swiotlb-xen.h
tmem.h
xen-ops.h
xen.h
xenbus.h
xenbus_dev.h xenbus: Add support for xenbus backend in stub domain 2012-05-21 09:53:18 -04:00
xencomm.h