summaryrefslogtreecommitdiff
path: root/drivers/cxl/core/hdm.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2022-07-23 03:56:09 +0300
committerDan Williams <dan.j.williams@intel.com>2022-08-02 01:36:33 +0300
commite77483055c325fa629c5835913b07f3dce3ac7fd (patch)
tree495ef024370c09ba46e3e417913dadb969e06858 /drivers/cxl/core/hdm.c
parent2bde6dbebc1cf02fd1b3d740246b92df1514a370 (diff)
downloadlinux-e77483055c325fa629c5835913b07f3dce3ac7fd.tar.xz
cxl/acpi: Minimize granularity for x1 interleaves
The kernel enforces that region granularity is >= to the top-level interleave-granularity for the given CXL window. However, when the CXL window interleave is x1, i.e. non-interleaved at the host bridge level, then the specified granularity does not matter. Override the window specified granularity to the CXL minimum so that any valid region granularity is >= to the root granularity. Reported-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Vishal Verma <vishal.l.verma@intel.com> Reviewed-by: Alison Schofield <alison.schofield@intel.com> Link: https://lore.kernel.org/r/165853776917.2430596.16823264262010844458.stgit@dwillia2-xfh.jf.intel.com [djbw: add CXL_DECODER_MIN_GRANULARITY per vishal] Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl/core/hdm.c')
0 files changed, 0 insertions, 0 deletions