Commit 8f55ada
cxl: Remove defunct code calculating host bridge target positions
The CXL Spec 3.1 Table 9-22 requires that the BIOS populate the CFMWS
target list in interleave target order. This means the calculations
the CXL driver added to determine positions when XOR math is in use,
along with the entire XOR vs Modulo call back setup is not needed.
A prior patch added a common method to verify positions.
Remove the now unused code related to the cxl_calc_hb_fn.
Signed-off-by: Alison Schofield <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Link: https://patch.msgid.link/2e2c32a2d0f1007e920b58712d15edad2e48d857.1719980933.git.alison.schofield@intel.com
Signed-off-by: Dave Jiang <[email protected]>1 parent 82a3e3a commit 8f55ada
3 files changed
+4
-84
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 25 | | |
77 | 26 | | |
78 | 27 | | |
| |||
398 | 347 | | |
399 | 348 | | |
400 | 349 | | |
401 | | - | |
402 | 350 | | |
403 | 351 | | |
404 | 352 | | |
| |||
426 | 374 | | |
427 | 375 | | |
428 | 376 | | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | 377 | | |
435 | | - | |
| 378 | + | |
| 379 | + | |
436 | 380 | | |
437 | 381 | | |
438 | 382 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1733 | 1733 | | |
1734 | 1734 | | |
1735 | 1735 | | |
1736 | | - | |
1737 | | - | |
1738 | | - | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
1743 | | - | |
1744 | | - | |
1745 | | - | |
1746 | | - | |
1747 | | - | |
1748 | | - | |
1749 | | - | |
1750 | | - | |
1751 | 1736 | | |
1752 | 1737 | | |
1753 | 1738 | | |
| |||
1807 | 1792 | | |
1808 | 1793 | | |
1809 | 1794 | | |
1810 | | - | |
1811 | 1795 | | |
1812 | 1796 | | |
1813 | 1797 | | |
1814 | 1798 | | |
1815 | 1799 | | |
1816 | 1800 | | |
1817 | 1801 | | |
1818 | | - | |
1819 | | - | |
| 1802 | + | |
1820 | 1803 | | |
1821 | 1804 | | |
1822 | 1805 | | |
| |||
1838 | 1821 | | |
1839 | 1822 | | |
1840 | 1823 | | |
1841 | | - | |
1842 | 1824 | | |
1843 | 1825 | | |
1844 | 1826 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
436 | | - | |
437 | 435 | | |
438 | 436 | | |
439 | 437 | | |
440 | 438 | | |
441 | 439 | | |
442 | 440 | | |
443 | | - | |
444 | 441 | | |
445 | 442 | | |
446 | 443 | | |
| |||
450 | 447 | | |
451 | 448 | | |
452 | 449 | | |
453 | | - | |
454 | 450 | | |
455 | 451 | | |
456 | 452 | | |
| |||
775 | 771 | | |
776 | 772 | | |
777 | 773 | | |
778 | | - | |
779 | | - | |
780 | | - | |
| 774 | + | |
781 | 775 | | |
782 | 776 | | |
783 | 777 | | |
| |||
0 commit comments