summaryrefslogtreecommitdiff
path: root/tools/testing/cxl
diff options
context:
space:
mode:
authorAdam Manzanares <a.manzanares@samsung.com>2022-08-30 01:03:14 +0300
committerDan Williams <dan.j.williams@intel.com>2022-11-14 23:11:27 +0300
commit3b39fd6cf12ceda2a2582dcb9b9ee9f4d197b857 (patch)
treefc834ede9ddc5f526e44a5c442097909a4c468bd /tools/testing/cxl
parentb51d76752120a267397276121619fca80f767e62 (diff)
downloadlinux-3b39fd6cf12ceda2a2582dcb9b9ee9f4d197b857.tar.xz
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 'tools/testing/cxl')
0 files changed, 0 insertions, 0 deletions