diff options
| author | Dan Williams <dan.j.williams@intel.com> | 2026-03-26 22:28:14 -0700 |
|---|---|---|
| committer | Dave Jiang <dave.jiang@intel.com> | 2026-04-01 08:12:17 -0700 |
| commit | 1eaef15b2349087d9ce583b9153970d5cf5c5329 (patch) | |
| tree | b0c5d902a0d0eafc793d876a9729dc028a56bef5 /tools/perf/scripts/python/bin | |
| parent | 87805c32e6ad7b5ce2d9f7f47e76081857a4a335 (diff) | |
dax/cxl: Fix HMEM dependencies
The expectation is that DEV_DAX_HMEM=y should be disallowed if any of
CXL_ACPI, or CXL_PCI are set =m. Also DEV_DAX_CXL=y should be disallowed if
DEV_DAX_HMEM=m. Use "$config || !$config" syntax for each dependency.
Otherwise, the invalid DEV_DAX_HMEM=m && DEV_DAX_CXL=y configuration is
allowed.
Lastly, dax_hmem depends on the availability of the
cxl_region_contains_resource() symbol published by the cxl_core.ko module.
So, also prevent DEV_DAX_HMEM from being built-in when the cxl_core module
is not built-in.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/20260327052821.440749-3-dan.j.williams@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
