Comment 14 for bug 1507472

Revision history for this message
Ricardo Salveti (rsalveti) wrote : Re: XHCI controller causing MacbookPro12,1 to resume immediately after suspend

Tested latest daily (4.4.0-rc5 based) and this is still an issue:

[ 524.598918] PM: suspend of devices complete after 206.893 msecs
[ 524.618522] PM: late suspend of devices complete after 19.604 msecs
[ 524.618686] thunderbolt 0000:07:00.0: suspending...
[ 524.618901] thunderbolt 0000:07:00.0: stopping RX ring 0
[ 524.618905] thunderbolt 0000:07:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1)
[ 524.618909] thunderbolt 0000:07:00.0: stopping TX ring 0
[ 524.618911] thunderbolt 0000:07:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0)
[ 524.618914] thunderbolt 0000:07:00.0: control channel stopped
[ 524.618915] thunderbolt 0000:07:00.0: suspend finished
[ 524.619320] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
[ 524.658498] PM: noirq suspend of devices complete after 39.977 msecs
[ 524.658754] ACPI: Preparing to enter system sleep state S3
[ 524.794534] ACPI : EC: EC stopped
[ 524.794534] PM: Saving platform NVS memory
[ 524.794536] Disabling non-boot CPUs ...
[ 524.795725] smpboot: CPU 1 is now offline
[ 524.807921] smpboot: CPU 2 is now offline
[ 524.819911] smpboot: CPU 3 is now offline
[ 524.832530] ACPI: Low-level resume complete
[ 524.832603] ACPI : EC: EC started
[ 524.832603] PM: Restoring platform NVS memory
[ 524.833028] Enabling non-boot CPUs ...
[ 524.852834] x86: Booting SMP configuration:
[ 524.852835] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 524.863122] cache: parent cpu1 should not be sleeping
[ 524.863910] CPU1 is up
[ 524.880888] smpboot: Booting Node 0 Processor 2 APIC 0x1
[ 524.884775] cache: parent cpu2 should not be sleeping
[ 524.884864] CPU2 is up
[ 524.908765] smpboot: Booting Node 0 Processor 3 APIC 0x3
[ 524.916146] cache: parent cpu3 should not be sleeping
[ 524.916490] CPU3 is up
[ 524.920386] ACPI: Waking up from system sleep state S3
[ 525.008898] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
[ 525.024860] thunderbolt 0000:07:00.0: resuming...
[ 525.024862] thunderbolt 0000:07:00.0: control channel starting...
[ 525.024863] thunderbolt 0000:07:00.0: starting TX ring 0
[ 525.024867] thunderbolt 0000:07:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1)
[ 525.024868] thunderbolt 0000:07:00.0: starting RX ring 0
[ 525.024872] thunderbolt 0000:07:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001)
[ 525.024875] thunderbolt 0000:07:00.0: resetting switch at 0
[ 525.025439] thunderbolt 0000:07:00.0: 0: resuming switch
[ 525.061153] thunderbolt 0000:07:00.0: resume finished
[ 525.061160] PM: noirq resume of devices complete after 52.395 msecs
[ 525.066725] PM: early resume of devices complete after 5.518 msecs
[ 525.096662] sd 1:0:0:0: [sdb] Starting disk
[ 525.126085] thunderbolt 0000:07:00.0: resetting error on 0:b.
[ 525.126097] thunderbolt 0000:07:00.0: 0:b: hotplug: scanning
[ 525.126098] thunderbolt 0000:07:00.0: resetting error on 0:c.
[ 525.126099] thunderbolt 0000:07:00.0: 0:b: hotplug: no switch found
[ 525.126103] thunderbolt 0000:07:00.0: 0:c: hotplug: scanning
[ 525.126103] thunderbolt 0000:07:00.0: 0:c: hotplug: no switch found
[ 525.149090] usb 1-3: ep 0x86 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 525.168635] pciehp 0000:06:00.0:pcie24: Device 0000:07:00.0 already exists at 0000:07:00, cannot hot-add
[ 525.168636] pciehp 0000:06:00.0:pcie24: Cannot add device at 0000:07:00
[ 525.168661] rtc_cmos 00:02: System wakeup disabled by ACPI
[ 525.291076] PM: resume of devices complete after 224.368 msecs
[ 525.291269] PM: Finishing wakeup.