Commit 910bc55
committed
cxl/region: Move HPA setup to cxl_region_attach()
A recent bug fix added the setup of the endpoint decoder interleave
geometry settings to cxl_region_attach(). Move the HPA setup there as
well to keep all endpoint decoder parameter setting in a central
location.
For symmetry, move endpoint HPA teardown to cxl_region_detach(), and for
switches move HPA setup / teardown to cxl_port_{setup,reset}_targets().
Cc: Jonathan Cameron <[email protected]>
Signed-off-by: Vishal Verma <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Link: https://lore.kernel.org/r/165973126020.1526540.14701949254436069807.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <[email protected]>1 parent 2901c8b commit 910bc55
2 files changed
+24
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | 502 | | |
525 | 503 | | |
526 | 504 | | |
| |||
601 | 579 | | |
602 | 580 | | |
603 | 581 | | |
604 | | - | |
| 582 | + | |
| 583 | + | |
605 | 584 | | |
606 | 585 | | |
607 | 586 | | |
| |||
674 | 653 | | |
675 | 654 | | |
676 | 655 | | |
677 | | - | |
678 | 656 | | |
679 | 657 | | |
680 | 658 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1044 | 1044 | | |
1045 | 1045 | | |
1046 | 1046 | | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
1047 | 1051 | | |
1048 | 1052 | | |
1049 | 1053 | | |
| |||
1070 | 1074 | | |
1071 | 1075 | | |
1072 | 1076 | | |
| 1077 | + | |
1073 | 1078 | | |
1074 | 1079 | | |
1075 | 1080 | | |
1076 | 1081 | | |
1077 | 1082 | | |
1078 | | - | |
1079 | | - | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
1080 | 1092 | | |
1081 | 1093 | | |
1082 | 1094 | | |
| |||
1257 | 1269 | | |
1258 | 1270 | | |
1259 | 1271 | | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
1260 | 1276 | | |
1261 | 1277 | | |
1262 | 1278 | | |
| |||
1315 | 1331 | | |
1316 | 1332 | | |
1317 | 1333 | | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
1318 | 1338 | | |
1319 | 1339 | | |
1320 | 1340 | | |
| |||
0 commit comments