Commit 23a3b8d
xhci: Add update_hub_device override for PCI xHCI hosts
Allow PCI hosts to check and tune roothub and port settings
before the hub is up and running.
This override is needed to turn off U1 and U2 LPM for some ports
based on per port ACPI _DSM, _UPC, or possibly vendor specific mmio
values for Intel xHC hosts.
Usb core calls the host update_hub_device once it creates a hub.
Entering U1 or U2 link power save state on ports with this limitation
will cause link to fail, turning the usb device unusable in that setup.
Cc: [email protected]
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent a2bc47c commit 23a3b8d
3 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
386 | 389 | | |
387 | 390 | | |
388 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
389 | 398 | | |
390 | 399 | | |
391 | 400 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5124 | 5124 | | |
5125 | 5125 | | |
5126 | 5126 | | |
5127 | | - | |
| 5127 | + | |
5128 | 5128 | | |
5129 | 5129 | | |
5130 | 5130 | | |
| |||
5224 | 5224 | | |
5225 | 5225 | | |
5226 | 5226 | | |
| 5227 | + | |
5227 | 5228 | | |
5228 | 5229 | | |
5229 | 5230 | | |
| |||
5507 | 5508 | | |
5508 | 5509 | | |
5509 | 5510 | | |
| 5511 | + | |
| 5512 | + | |
5510 | 5513 | | |
5511 | 5514 | | |
5512 | 5515 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1943 | 1943 | | |
1944 | 1944 | | |
1945 | 1945 | | |
| 1946 | + | |
| 1947 | + | |
1946 | 1948 | | |
1947 | 1949 | | |
1948 | 1950 | | |
| |||
2122 | 2124 | | |
2123 | 2125 | | |
2124 | 2126 | | |
| 2127 | + | |
| 2128 | + | |
2125 | 2129 | | |
2126 | 2130 | | |
2127 | 2131 | | |
| |||
0 commit comments