Commit 4495bff
committed
PCI/ASPM: Cache L0s/L1 Supported so advertised link states can be overridden
Defective devices sometimes advertise support for ASPM L0s or L1 states
even if they don't work correctly.
Cache the L0s Supported and L1 Supported bits early in enumeration so
HEADER quirks can override the ASPM states advertised in Link Capabilities
before pcie_aspm_cap_init() enables ASPM.
Signed-off-by: Bjorn Helgaas <[email protected]>
Tested-by: Shawn Lin <[email protected]>
Reviewed-by: Lukas Wunner <[email protected]>
Link: https://patch.msgid.link/[email protected]1 parent 3a86608 commit 4495bff
3 files changed
+13
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
833 | | - | |
834 | 833 | | |
835 | 834 | | |
836 | 835 | | |
| |||
845 | 844 | | |
846 | 845 | | |
847 | 846 | | |
848 | | - | |
849 | | - | |
850 | | - | |
| 847 | + | |
| 848 | + | |
851 | 849 | | |
852 | 850 | | |
853 | 851 | | |
| |||
859 | 857 | | |
860 | 858 | | |
861 | 859 | | |
862 | | - | |
863 | | - | |
864 | 860 | | |
865 | 861 | | |
866 | 862 | | |
| |||
880 | 876 | | |
881 | 877 | | |
882 | 878 | | |
883 | | - | |
| 879 | + | |
884 | 880 | | |
885 | 881 | | |
886 | 882 | | |
| |||
889 | 885 | | |
890 | 886 | | |
891 | 887 | | |
892 | | - | |
| 888 | + | |
893 | 889 | | |
894 | 890 | | |
895 | 891 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1663 | 1663 | | |
1664 | 1664 | | |
1665 | 1665 | | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
1666 | 1673 | | |
1667 | 1674 | | |
1668 | 1675 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| 415 | + | |
| 416 | + | |
415 | 417 | | |
416 | 418 | | |
417 | 419 | | |
| |||
0 commit comments