Commit 4fde895
committed
cxl: Add helper to detect top of CXL device topology
Add a helper to replace the open code detection of CXL device hierarchy
root, or the host bridge. The helper will be used for delayed downstream
port (dport) creation.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Li Ming <ming.li@zohomail.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Robert Richter <rrichter@amd.com>
Tested-by: Robert Richter <rrichter@amd.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>1 parent 8f5ae30 commit 4fde895
1 file changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
36 | 45 | | |
37 | 46 | | |
38 | 47 | | |
| |||
1541 | 1550 | | |
1542 | 1551 | | |
1543 | 1552 | | |
1544 | | - | |
| 1553 | + | |
1545 | 1554 | | |
1546 | 1555 | | |
1547 | 1556 | | |
| |||
1629 | 1638 | | |
1630 | 1639 | | |
1631 | 1640 | | |
1632 | | - | |
1633 | | - | |
1634 | | - | |
1635 | | - | |
1636 | | - | |
| 1641 | + | |
1637 | 1642 | | |
1638 | 1643 | | |
1639 | 1644 | | |
| |||
0 commit comments