Hello, This patch set enables the use of PCI Express link up and link down events for Hotplug or Unplug. Resending the patch after taking care of review comments, splitting patch into multiple smaller patches, and incorporating the conclusions drawn from the discussion here: http://marc.info/?t=138611014300001&r=1&w=2 Due to splitting of the patch, 4 new patches are added to the patchset, although the content is almost the same. Patch v2 [1/4] = Patch v3 [1/8] Patch v2 [2/8] = Patch v3 [2/8] + Patch v3 [3/8] + Patch v3 [4/8] + Patch v3 [5/8] + Patch v3 [6/8] Patch v2 [3/4] = Patch v3 [7/8] Patch v2 [4/4] = Patch v3 [8/8] (As a side effect, this patch also fixes the bug https://bugzilla.kernel.org/show_bug.cgi?id=65521 ) I'd appreciate if you could please review and provide me with any comments. Thanks, Rajat Rajat Jain (8): pciehp: Make check_link_active() non-static pciehp: Use link change notifications for hot-plug and removal pciehp: Enable link state change notifications pciehp: Don't disable the link permanently, during removal pciehp: Don't check for adapter or latch status while disabling pciehp: Disabling the link notification across slot reset pciehp: Ensure very fast hotplug events are also processed. pciehp: Introduce hotplug_lock to serialize HP events drivers/pci/hotplug/pciehp.h | 5 ++ drivers/pci/hotplug/pciehp_core.c | 7 +- drivers/pci/hotplug/pciehp_ctrl.c | 152 ++++++++++++++++++++++++++++++------- drivers/pci/hotplug/pciehp_hpc.c | 73 +++++++++--------- 4 files changed, 171 insertions(+), 66 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html