summaryrefslogtreecommitdiffstats
path: root/drivers/cxl/cxl.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2022-05-18 17:55:13 -0700
committerDan Williams <dan.j.williams@intel.com>2022-07-09 16:22:41 -0700
commite8b7ea58abbd2335734e67cccbd992e4735366bd (patch)
tree38b9055fa6dd884db5b06c56a4374316830672ab /drivers/cxl/cxl.h
parent04ed37a2baf957620970b4049b0390089da5ec17 (diff)
downloadlinux-e8b7ea58abbd2335734e67cccbd992e4735366bd.tar.gz
linux-e8b7ea58abbd2335734e67cccbd992e4735366bd.tar.bz2
linux-e8b7ea58abbd2335734e67cccbd992e4735366bd.zip
cxl/core: Rename ->decoder_range ->hpa_range
In preparation for growing a ->dpa_range attribute for endpoint decoders, rename the current ->decoder_range to the more descriptive ->hpa_range. Reviewed-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Adam Manzanares <a.manzanares@samsung.com> Link: https://lore.kernel.org/r/165603872867.551046.2170426227407458814.stgit@dwillia2-xfh Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl/cxl.h')
-rw-r--r--drivers/cxl/cxl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cxl/cxl.h b/drivers/cxl/cxl.h
index 6799b27c7db2..8256728cea8d 100644
--- a/drivers/cxl/cxl.h
+++ b/drivers/cxl/cxl.h
@@ -198,7 +198,7 @@ enum cxl_decoder_type {
* @dev: this decoder's device
* @id: kernel device name id
* @platform_res: address space resources considered by root decoder
- * @decoder_range: address space resources considered by midlevel decoder
+ * @hpa_range: Host physical address range mapped by this decoder
* @interleave_ways: number of cxl_dports in this decode
* @interleave_granularity: data stride per dport
* @target_type: accelerator vs expander (type2 vs type3) selector
@@ -212,7 +212,7 @@ struct cxl_decoder {
int id;
union {
struct resource platform_res;
- struct range decoder_range;
+ struct range hpa_range;
};
int interleave_ways;
int interleave_granularity;