--- drivers/pci/hotplug/acpiphp_glue.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) Index: linux-pm/drivers/pci/hotplug/acpiphp_glue.c =================================================================== --- linux-pm.orig/drivers/pci/hotplug/acpiphp_glue.c +++ linux-pm/drivers/pci/hotplug/acpiphp_glue.c @@ -650,7 +650,11 @@ static bool acpiphp_no_hotplug(acpi_hand struct acpi_device *adev = NULL; acpi_bus_get_device(handle, &adev); - return adev && adev->flags.no_hotplug; + if (adev && adev->flags.no_hotplug) { + dev_info(&adev->dev, "no_hotplug set\n"); + return true; + } + return false; } static bool slot_no_hotplug(struct acpiphp_slot *slot) @@ -757,6 +761,8 @@ static void acpiphp_check_bridge(struct { struct acpiphp_slot *slot; + dev_info(&bridge->pci_dev->dev, "%s\n", __func__); + list_for_each_entry(slot, &bridge->slots, node) { struct pci_bus *bus = slot->bus; struct pci_dev *dev, *tmp; @@ -848,8 +854,8 @@ static void hotplug_event(acpi_handle ha switch (type) { case ACPI_NOTIFY_BUS_CHECK: /* bus re-enumerate */ - pr_debug("%s: Bus check notify on %s\n", __func__, objname); - pr_debug("%s: re-enumerating slots under %s\n", + pr_info("%s: Bus check notify on %s\n", __func__, objname); + pr_info("%s: re-enumerating slots under %s\n", __func__, objname); if (bridge) { acpiphp_check_bridge(bridge); @@ -864,7 +870,7 @@ static void hotplug_event(acpi_handle ha case ACPI_NOTIFY_DEVICE_CHECK: /* device check */ - pr_debug("%s: Device check notify on %s\n", __func__, objname); + pr_info("%s: Device check notify on %s\n", __func__, objname); if (bridge) { acpiphp_check_bridge(bridge); } else {