ACK: [SRU] [F/G/Unstable/OEM-5.6] [PATCH 0/2] Refresh ACPI wakeup power to make Thunderbolt hotplug detection work

Stefan Bader stefan.bader at canonical.com
Wed Dec 2 08:11:23 UTC 2020


On 30.11.20 09:13, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1906229
> 
> [Impact]
> Dell Precision 5550 cannot detect Thunderbolt device hotplug.
> 
> [Fix]
> Refresh ACPI wakeup power if it's already enabled to make GPE work.
> 
> [Test]
> Make sure the root port of TBT hierachy is in D3cold.
> Plug a Thunderbolt Dock or Thunderbolt Disk, the system cannot detect
> anything.
> 
> With the patch applied, OS can always detect hotplugged Thunderbolt
> devices.
> 
> [Where problems could occur]
> Though we refresh the wakeup device power, we didn't disable/enable ACPI
> GPEs, so we won't miss any GPE event from this fix.
> 
> Rafael J. Wysocki (2):
>   PM: ACPI: PCI: Drop acpi_pm_set_bridge_wakeup()
>   PM: ACPI: Refresh wakeup device power configuration every time
> 
>  drivers/acpi/device_pm.c | 62 +++++++++++++++++++---------------------
>  drivers/pci/pci-acpi.c   |  4 +--
>  include/acpi/acpi_bus.h  |  5 ----
>  3 files changed, 31 insertions(+), 40 deletions(-)
> 
Acked-by: Stefan Bader <stefan.bader at canonical.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20201202/78f39844/attachment.sig>


More information about the kernel-team mailing list