RE: [PATCH v2] cxl: Replace HDM decoder granularity magic numbers

From: Dan Williams
Date: Fri Oct 21 2022 - 13:52:53 EST


Adam Manzanares wrote:
> 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@xxxxxxxxxxx>

Applied for 6.2.