linux/drivers/xen/xen-pciback
Juergen Gross fae65ef3a1 xen/pciback: don't call pcistub_device_put() under lock
pcistub_device_put() shouldn't be called under spinlock, as it can
sleep.

For this reason pcistub_device_get_pci_dev() needs to be modified:
instead of always calling pcistub_device_get() just do the call of
pcistub_device_get() only if it is really needed. This removes the
need to call pcistub_device_put().

Reported-by: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/lkml/Y+JUIl64UDmdkboh@kadam/
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Link: https://lore.kernel.org/r/20230328084549.20695-1-jgross@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
2023-04-24 07:27:10 +02:00
..
conf_space_capability.c xen-pciback: Allow setting PCI_MSIX_FLAGS_MASKALL too 2022-11-14 13:29:10 +01:00
conf_space_header.c xen-pciback: allow compiling on other archs than x86 2021-11-02 08:03:43 -05:00
conf_space_quirks.c
conf_space_quirks.h
conf_space.c
conf_space.h
Makefile xen-pciback: allow compiling on other archs than x86 2021-11-02 08:03:43 -05:00
passthrough.c
pci_stub.c xen/pciback: don't call pcistub_device_put() under lock 2023-04-24 07:27:10 +02:00
pciback_ops.c xen/pciback: Fix comment typo 2022-08-12 12:19:50 +02:00
pciback.h xen-pciback: allow compiling on other archs than x86 2021-11-02 08:03:43 -05:00
vpci.c xen-pciback: redo VF placement in the virtual topology 2021-05-21 09:55:13 +02:00
xenbus.c xen: make remove callback of xen driver void returned 2022-12-15 16:06:10 +01:00