bus/pci: support sigbus handler
authorJeff Guo <jia.guo@intel.com>
Mon, 15 Oct 2018 11:27:24 +0000 (19:27 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 15 Oct 2018 20:17:26 +0000 (22:17 +0200)
commit5c96a299340fcb67a86217de656bbe63ba7ce15e
tree0cca34172d936b9061bc2020b3d6d1bc52081409
parent538d974bcdc57812487e9df7b57a29e5416c1087
bus/pci: support sigbus handler

This patch implements the ops for the PCI bus sigbus handler. It finds the
PCI device that is being hot-unplugged and calls the relevant ops of the
hot-unplug handler to handle the hot-unplug failure of the device.

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Shaopeng He <shaopeng.he@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
drivers/bus/pci/pci_common.c