Commit 69d8388
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/lkml/20250412-qps615_v4_1-v5-0-5b6a06132fec@oss.qualcomm.com/
Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>1 parent df237d9 commit 69d8388
1 file changed
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
250 | 251 | | |
251 | 252 | | |
252 | 253 | | |
| |||
618 | 619 | | |
619 | 620 | | |
620 | 621 | | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
621 | 653 | | |
622 | 654 | | |
623 | 655 | | |
| |||
1362 | 1394 | | |
1363 | 1395 | | |
1364 | 1396 | | |
| 1397 | + | |
1365 | 1398 | | |
1366 | 1399 | | |
1367 | 1400 | | |
| |||
1429 | 1462 | | |
1430 | 1463 | | |
1431 | 1464 | | |
| 1465 | + | |
| 1466 | + | |
1432 | 1467 | | |
1433 | 1468 | | |
1434 | 1469 | | |
| |||
0 commit comments