diff options
author | Dan Williams <dan.j.williams@intel.com> | 2023-06-15 03:30:13 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2023-06-25 23:31:08 +0200 |
commit | 5aa39a9165cfc80d37f1db8ba8fee798a3ecf74f (patch) | |
tree | cab6fef742184dfb5a2d6aea7f09b4029a2d7293 /drivers/cxl/acpi.c | |
parent | cxl/memdev: Make mailbox functionality optional (diff) | |
download | linux-5aa39a9165cfc80d37f1db8ba8fee798a3ecf74f.tar.xz linux-5aa39a9165cfc80d37f1db8ba8fee798a3ecf74f.zip |
cxl/port: Rename CXL_DECODER_{EXPANDER, ACCELERATOR} => {HOSTONLYMEM, DEVMEM}
In preparation for support for HDM-D and HDM-DB configuration
(device-memory, and device-memory with back-invalidate). Rename the current
type designators to use HOSTONLYMEM and DEVMEM as a suffix.
HDM-DB can be supported by devices that are not accelerators, so DEVMEM is
a more generic term for that case.
Fixup one location where this type value was open coded.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/168679261369.3436160.7042443847605280593.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl/acpi.c')
-rw-r--r-- | drivers/cxl/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cxl/acpi.c b/drivers/cxl/acpi.c index 7e1765b09e04..603e5df8aec0 100644 --- a/drivers/cxl/acpi.c +++ b/drivers/cxl/acpi.c @@ -258,7 +258,7 @@ static int cxl_parse_cfmws(union acpi_subtable_headers *header, void *arg, cxld = &cxlrd->cxlsd.cxld; cxld->flags = cfmws_to_decoder_flags(cfmws->restrictions); - cxld->target_type = CXL_DECODER_EXPANDER; + cxld->target_type = CXL_DECODER_HOSTONLYMEM; cxld->hpa_range = (struct range) { .start = res->start, .end = res->end, |