diff options
| author | Alison Schofield <alison.schofield@intel.com> | 2026-11-02 12:16:02 -0800 |
|---|---|---|
| committer | Dave Jiang <dave.jiang@intel.com> | 2026-11-02 13:43:25 -0700 |
| commit | a8aaec84078be2bb18cc8c268f313e2d94f7f276 (patch) | |
| tree | 48e1ab72da13e44caecbca713f3915a4b56003e9 /scripts/Makefile.thinlto | |
| parent | e2720e46d4ed7a3132a6792b31a61275ad54d533 (diff) | |
| download | linux-next-a8aaec84078be2bb18cc8c268f313e2d94f7f276.tar.gz linux-next-a8aaec84078be2bb18cc8c268f313e2d94f7f276.zip | |
cxl/region: Factor out cxl_port_setup_decoder()
Once cxl_switch_port_setup_targets() has calculated the interleave for a
port's decoder, it either checks that interleave against the decoder
settings found for an auto region, or checks the decoder's interleave
capabilities and programs the decoder for a user created region. Both paths
are open coded in cxl_switch_port_setup_targets().
Move both paths to a new helper, cxl_port_setup_decoder().
No functional change.
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Li Ming <ming.li@zohomail.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Link: https://patch.msgid.link/b7591ef1790f21b3e3168778e25eadcf7cd2c4e6.1793649898.git.alison.schofield@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
