Commit fddebfa
committed
FROMLIST: PCI: qcom: Add support for host_stop_link() & host_start_link()
Add support for host_stop_link() and host_start_link() for switches like
TC956x, which require configuration before the PCIe link is established.
Assert PERST# and disable LTSSM bit to prevent the PCIe controller from
participating in link training during host_stop_link(). De-assert PERST#
and enable LTSSM bit during host_start_link().
Introduce ltssm_disable function op to stop link training.
For the switches like TC956x, which needs to configure it before
the PCIe link is established.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krishna Chaitanya Chundru <[email protected]>1 parent eab34c8 commit fddebfa
1 file changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
| |||
640 | 641 | | |
641 | 642 | | |
642 | 643 | | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
643 | 675 | | |
644 | 676 | | |
645 | 677 | | |
| |||
1378 | 1410 | | |
1379 | 1411 | | |
1380 | 1412 | | |
| 1413 | + | |
1381 | 1414 | | |
1382 | 1415 | | |
1383 | 1416 | | |
| |||
1448 | 1481 | | |
1449 | 1482 | | |
1450 | 1483 | | |
| 1484 | + | |
| 1485 | + | |
1451 | 1486 | | |
1452 | 1487 | | |
1453 | 1488 | | |
| |||
0 commit comments