[Feature] Runtime PM for native PCIe hotplug ports

Bug #1741383 reported by quanxian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intel
Fix Released
Medium
Unassigned
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Description:
Currently we already support runtime PM for PCIe ports but it is explicitly disabled for hotplug capable ports. There are many reasons for this:

1. It will not work well when ACPI based hotplug is used as the SMI handler will get confused if the port is powered down.
2. For native PCIe hotplug there are problems when the slot is enabled through sysfs like the one here: https://bugzilla.kernel.org/show_bug.cgi?id=193951

Since we are moving from ACPI based hotplug to native PCIe hotplug in case of Thunderbolt, it is essential to get the runtime PM for such ports working properly. We should be able to relax the limitation a bit and allow runtime PM for native PCIe hotplug ports once 2. above has been resolved first.

Target Release: 19.04

Target Kernel: 4.19

Alice Liu (dxliu)
description: updated
quanxian (quanxian-wang)
tags: added: intel-kernel-18.10
description: updated
quanxian (quanxian-wang)
description: updated
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Can we move this bug to the "Linux" package and make it public?

Changed in intel:
importance: Undecided → Medium
status: New → Triaged
tags: added: kernel-da-key
Revision history for this message
quanxian (quanxian-wang) wrote :

the commit is not ready in upstream. not public. Thanks for your understanding.

quanxian (quanxian-wang)
information type: Proprietary → Private
information type: Private → Public
Revision history for this message
quanxian (quanxian-wang) wrote :

2d442e94047e1c710f6d3bda1872cabd147efd7c 65f7ec627142063b664cb4d2012729f3ff3f1678 6ef24c05f22259646e5933822fe3f1d6835f625d 89bfb0e20bfbd68c144903c8f2eaee2a81d20f60 8c1c233ece2646b088971ff8e55eb74bb5692212 8db836c53006f343ec544607548464b55784b365 9ac4adc06db4c0d2e8fa1173dd9d9ea22c500ec8 b104b02ee1944a66e04498ebc693d7bea993f1fc e56fe1c259ca9b4a07dc26785c84595173e00ce3 f9a191186e48a254c5928b0a13e5387a64096cfd

description: updated
quanxian (quanxian-wang)
Changed in intel:
status: Triaged → Fix Released
tags: added: intel-kernel-19.04
removed: intel-kernel-18.10
quanxian (quanxian-wang)
Changed in intel:
status: Fix Released → Fix Committed
Revision history for this message
quanxian (quanxian-wang) wrote :

Commit Ids in upstream
0e157e52860441cb26051f131dd0b5ae3187a07b 26ad34d510a87fc65caeb48fa85cce58d2477a88 52be9464aa7edeeda35f7faecb162412ddb47e94 5f5e4890d57a8af5da72c9d73a4efa9bad43a7a3 6299cf9ec3985cac70bede8a855b5087b81a6640 720d6a671a6e2cf2b9ed032279b7c21c122bed7e 94c7993fb5bd1e3c20f67a2d24ba05bbdc938340 9c62f0bfb83260cb2469eb84d3185c9728e36900 ac86e8eeb0542d1089d8cba55884eeeb9410f027 eb34da60edee8cf7bac691a406a1ddaa4175e5bc

quanxian (quanxian-wang)
Changed in intel:
status: Fix Committed → Fix Released
Changed in ubuntu:
status: New → Fix Released
affects: ubuntu → linux (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.