Commit a3a9687
cxl/region: Rename function to cxl_port_pick_region_decoder()
Current function cxl_region_find_decoder() is used to find a port's
decoder during region setup. In the region creation path the function
is an allocator to find a free port. In the region assembly path, it
is recalling the decoder that platform firmware picked for validation
purposes.
Rename function to cxl_port_pick_region_decoder() that better
describes its use and update the function's description.
The result of cxl_port_pick_region_decoder() is recorded in a 'struct
cxl_region_ref' in @PORT for later recall when other endpoints might
also be targets of the picked decoder.
Signed-off-by: Robert Richter <[email protected]>
Reviewed-by: Gregory Price <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: "Fabio M. De Francesco" <[email protected]>
Tested-by: Gregory Price <[email protected]>
Acked-by: Dan Williams <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Dave Jiang <[email protected]>1 parent 99ff906 commit a3a9687
1 file changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
864 | 864 | | |
865 | 865 | | |
866 | 866 | | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
867 | 880 | | |
868 | | - | |
869 | | - | |
870 | | - | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
871 | 884 | | |
872 | 885 | | |
873 | 886 | | |
| |||
931 | 944 | | |
932 | 945 | | |
933 | 946 | | |
934 | | - | |
| 947 | + | |
935 | 948 | | |
936 | 949 | | |
937 | 950 | | |
| |||
1019 | 1032 | | |
1020 | 1033 | | |
1021 | 1034 | | |
1022 | | - | |
| 1035 | + | |
1023 | 1036 | | |
1024 | 1037 | | |
1025 | 1038 | | |
| |||
0 commit comments