mirror of https://gitee.com/openkylin/linux.git
68c2c39a76
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> |
||
---|---|---|
.. | ||
interface | ||
Kbuild | ||
acpi.h | ||
balloon.h | ||
events.h | ||
evtchn.h | ||
features.h | ||
gntalloc.h | ||
gntdev.h | ||
grant_table.h | ||
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 | ||
xencomm.h |