2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 01:34:00 +08:00
linux-next/drivers/xen/xen-pciback
Konrad Rzeszutek Wilk 494ef20db6 xen/pciback: Fine-grain the spinlocks and fix BUG: scheduling while atomic cases.
We were using coarse spinlocks that could end up with a deadlock.
This patch fixes that and makes the spinlocks much more fine-grained.

We also drop be->watchding state spinlocks as they are already
guarded by the xenwatch_thread against multiple customers. Without
that we would trigger the BUG: scheduling while atomic.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2011-07-19 20:58:32 -04:00
..
conf_space_capability_msi.c xen/pciback: Allocate IRQ handler for device that is shared with guest. 2011-07-19 20:58:31 -04:00
conf_space_capability_pm.c
conf_space_capability_vpd.c
conf_space_capability.c
conf_space_capability.h
conf_space_header.c xen/pciback: Allocate IRQ handler for device that is shared with guest. 2011-07-19 20:58:31 -04:00
conf_space_quirks.c
conf_space_quirks.h
conf_space.c
conf_space.h
controller.c
Makefile
passthrough.c xen/pciback: Fine-grain the spinlocks and fix BUG: scheduling while atomic cases. 2011-07-19 20:58:32 -04:00
pci_stub.c xen/pciback: Allocate IRQ handler for device that is shared with guest. 2011-07-19 20:58:31 -04:00
pciback_ops.c xen/pciback: Allocate IRQ handler for device that is shared with guest. 2011-07-19 20:58:31 -04:00
pciback.h xen/pciback: Allocate IRQ handler for device that is shared with guest. 2011-07-19 20:58:31 -04:00
slot.c
vpci.c
xenbus.c xen/pciback: Fine-grain the spinlocks and fix BUG: scheduling while atomic cases. 2011-07-19 20:58:32 -04:00