diff options
author | Adam Manzanares <a.manzanares@samsung.com> | 2022-08-29 22:03:14 +0000 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2022-11-14 12:11:27 -0800 |
commit | 3b39fd6cf12ceda2a2582dcb9b9ee9f4d197b857 (patch) | |
tree | fc834ede9ddc5f526e44a5c442097909a4c468bd /drivers/cxl/pmem.c | |
parent | b51d76752120a267397276121619fca80f767e62 (diff) | |
download | linux-3b39fd6cf12ceda2a2582dcb9b9ee9f4d197b857.tar.bz2 |
cxl: Replace HDM decoder granularity magic numbers
When reviewing the CFMWS parsing code that deals with the HDM decoders,
I noticed a couple of magic numbers. This commit replaces these magic numbers
with constants defined by the CXL 3.0 specification.
v2:
- Change references to CXL 3.0 specification (David)
- CXL_DECODER_MAX_GRANULARITY_ORDER -> CXL_DECODER_MAX_ENCODED_IG (Dan)
Signed-off-by: Adam Manzanares <a.manzanares@samsung.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20220829220249.243888-1-a.manzanares@samsung.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl/pmem.c')
0 files changed, 0 insertions, 0 deletions