diff options
author | Dan Williams <dan.j.williams@intel.com> | 2023-02-07 11:04:30 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2023-02-07 11:04:30 -0800 |
commit | 711442e29f16f0d39dd0e2460c9baacfccb9d5a7 (patch) | |
tree | 38a77691658ba03fb61e06ab4a0c4b032bd3bef3 /drivers/cxl/acpi.c | |
parent | 4fa4302d6dc7de7e8e74dc7405611a2efb4bf54b (diff) | |
download | lwn-711442e29f16f0d39dd0e2460c9baacfccb9d5a7.tar.gz lwn-711442e29f16f0d39dd0e2460c9baacfccb9d5a7.zip |
cxl/region: Fix passthrough-decoder detection
A passthrough decoder is a decoder that maps only 1 target. It is a
special case because it does not impose any constraints on the
interleave-math as compared to a decoder with multiple targets. Extend
the passthrough case to multi-target-capable decoders that only have one
target selected. I.e. the current code was only considering passthrough
*ports* which are only a subset of the potential passthrough decoder
scenarios.
Fixes: e4f6dfa9ef75 ("cxl/region: Fix 'distance' calculation with passthrough ports")
Cc: <stable@vger.kernel.org>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/167564540422.847146.13816934143225777888.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl/acpi.c')
0 files changed, 0 insertions, 0 deletions