Commit df5192d
committed
PCI/ASPM: Enable only L0s and L1 for devicetree platforms
f3ac2ff ("PCI/ASPM: Enable all ClockPM and ASPM states for devicetree
platforms") enabled Clock Power Management and L1 PM Substates, but those
features depend on CLKREQ# and possibly other device-specific
configuration. We don't know whether CLKREQ# is supported, so we shouldn't
blindly enable Clock PM and L1 PM Substates.
Enable only ASPM L0s and L1, and only when both ends of the link advertise
support for them.
Fixes: f3ac2ff ("PCI/ASPM: Enable all ClockPM and ASPM states for devicetree platforms")
Reported-by: Christian Zigotzky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]/
Reported-by: FUKAUMI Naoki <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Reported-by: Herve Codina <[email protected]>
Link: https://lore.kernel.org/r/[email protected]/
Reported-by: Diederik de Haas <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Bjorn Helgaas <[email protected]>
Tested-by: FUKAUMI Naoki <[email protected]>
Tested-by: Diederik de Haas <[email protected]>
Acked-by: Dragan Simic <[email protected]>
Link: https://patch.msgid.link/[email protected]1 parent f294a5f commit df5192d
1 file changed
+9
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
| 246 | + | |
248 | 247 | | |
249 | 248 | | |
250 | 249 | | |
| |||
376 | 375 | | |
377 | 376 | | |
378 | 377 | | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | 378 | | |
392 | 379 | | |
393 | 380 | | |
| |||
410 | 397 | | |
411 | 398 | | |
412 | 399 | | |
413 | | - | |
414 | 400 | | |
415 | 401 | | |
416 | 402 | | |
| |||
811 | 797 | | |
812 | 798 | | |
813 | 799 | | |
814 | | - | |
| 800 | + | |
815 | 801 | | |
816 | | - | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
817 | 806 | | |
818 | 807 | | |
819 | | - | |
820 | | - | |
821 | | - | |
822 | | - | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
827 | 811 | | |
828 | 812 | | |
829 | 813 | | |
| |||
0 commit comments