qemu-patch-raspberry4/hw/xen
Zhenzhong Duan c976437c7d qemu-xen: free all the pirqs for msi/msix when driver unload
Pirqs are not freed when driver unload, then new pirqs are allocated when
driver reload. This could exhaust pirqs if do it in a loop.

This patch fixes the bug by freeing pirqs when ENABLE bit is cleared in
msi/msix control reg.

There is also other way of fixing it such as reuse pirqs between driver reload,
but this way is better.
Xen-devel: http://marc.info/?l=xen-devel&m=136800120304275&w=2

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
2014-05-07 16:14:41 +00:00
..
Makefile.objs Xen PV Device 2013-07-29 11:13:44 +00:00
xen-host-pci-device.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xen-host-pci-device.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xen_apic.c apic: QOM'ify APIC 2013-12-24 18:02:18 +01:00
xen_backend.c qemu/xen: make use of xenstore relative paths 2013-10-10 14:25:52 +00:00
xen_devconfig.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
xen_platform.c Call pci_piix3_xen_ide_unplug from unplug_disks 2014-02-20 17:28:08 +00:00
xen_pt.c xen_pt: Fix passthrough of device with ROM. 2014-01-17 15:29:33 +00:00
xen_pt.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xen_pt_config_init.c qemu-xen: free all the pirqs for msi/msix when driver unload 2014-05-07 16:14:41 +00:00
xen_pt_msi.c qemu-xen: free all the pirqs for msi/msix when driver unload 2014-05-07 16:14:41 +00:00
xen_pvdevice.c xen-pvdevice: make device-id property compulsory 2013-12-01 18:25:48 +00:00