Commit 034f93f
committed
Merge branch 'pci/pm'
- Cache the PTM capability offset instead of searching for it every time
(Bjorn Helgaas)
- Separate PTM configuration from PTM enable (Bjorn Helgaas)
- Add pci_suspend_ptm() and pci_resume_ptm() to disable and re-enable PTM
on suspend/resume so some Root Ports can safely enter a lower-power PM
state (Bjorn Helgaas)
- Disable PTM for all devices during suspend; previously we only did this
for Root Ports and even then only in certain cases (Bjorn Helgaas)
- Simplify pci_pm_suspend_noirq() (Rajvi Jingar)
- Reduce the delay after transitions to/from D3hot by using usleep_range()
instead of msleep(), which reduces the typical delay from 19ms to 10ms
(Sajid Dalvi, Will McVicker)
* pci/pm:
PCI/PM: Reduce D3hot delay with usleep_range()
PCI/PM: Simplify pci_pm_suspend_noirq()
PCI/PM: Always disable PTM for all devices during suspend
PCI/PTM: Consolidate PTM interface declarations
PCI/PTM: Reorder functions in logical order
PCI/PTM: Preserve RsvdP bits in PTM Control register
PCI/PTM: Move pci_ptm_info() body into its only caller
PCI/PTM: Add pci_suspend_ptm() and pci_resume_ptm()
PCI/PTM: Separate configuration and enable
PCI/PTM: Add pci_upstream_ptm() helper
PCI/PTM: Cache PTM Capability offset5 files changed
Lines changed: 208 additions & 183 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
774 | 774 | | |
775 | 775 | | |
776 | 776 | | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
777 | 783 | | |
778 | 784 | | |
779 | 785 | | |
| |||
867 | 873 | | |
868 | 874 | | |
869 | 875 | | |
870 | | - | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
871 | 879 | | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
878 | 883 | | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
| 884 | + | |
884 | 885 | | |
885 | 886 | | |
886 | 887 | | |
| |||
987 | 988 | | |
988 | 989 | | |
989 | 990 | | |
| 991 | + | |
| 992 | + | |
990 | 993 | | |
991 | 994 | | |
992 | 995 | | |
| |||
1274 | 1277 | | |
1275 | 1278 | | |
1276 | 1279 | | |
| 1280 | + | |
| 1281 | + | |
1277 | 1282 | | |
1278 | 1283 | | |
1279 | 1284 | | |
| |||
1335 | 1340 | | |
1336 | 1341 | | |
1337 | 1342 | | |
| 1343 | + | |
1338 | 1344 | | |
1339 | 1345 | | |
1340 | 1346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
2708 | 2710 | | |
2709 | 2711 | | |
2710 | 2712 | | |
2711 | | - | |
2712 | | - | |
2713 | | - | |
2714 | | - | |
2715 | | - | |
2716 | | - | |
2717 | | - | |
2718 | | - | |
2719 | | - | |
2720 | | - | |
2721 | 2713 | | |
2722 | 2714 | | |
2723 | 2715 | | |
2724 | 2716 | | |
2725 | | - | |
| 2717 | + | |
2726 | 2718 | | |
2727 | | - | |
2728 | | - | |
2729 | 2719 | | |
2730 | 2720 | | |
2731 | 2721 | | |
| |||
2766 | 2756 | | |
2767 | 2757 | | |
2768 | 2758 | | |
2769 | | - | |
2770 | | - | |
2771 | | - | |
2772 | | - | |
2773 | | - | |
2774 | | - | |
2775 | | - | |
2776 | | - | |
2777 | | - | |
2778 | | - | |
2779 | 2759 | | |
2780 | 2760 | | |
2781 | 2761 | | |
2782 | 2762 | | |
2783 | | - | |
| 2763 | + | |
2784 | 2764 | | |
2785 | | - | |
2786 | | - | |
2787 | 2765 | | |
2788 | 2766 | | |
2789 | 2767 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
| 508 | + | |
508 | 509 | | |
509 | 510 | | |
510 | | - | |
| 511 | + | |
| 512 | + | |
511 | 513 | | |
| 514 | + | |
512 | 515 | | |
513 | 516 | | |
514 | | - | |
| 517 | + | |
| 518 | + | |
515 | 519 | | |
516 | 520 | | |
517 | 521 | | |
| |||
579 | 583 | | |
580 | 584 | | |
581 | 585 | | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | 586 | | |
589 | 587 | | |
590 | 588 | | |
| |||
0 commit comments