Re: [PATCH] cxl/acpi: Verify CHBS length for CXL2.0
From: Zhijian Li (Fujitsu)
Date: Thu Mar 27 2025 - 03:45:50 EST
On 27/03/2025 11:44, Ira Weiny wrote:
> Li Zhijian wrote:
>> Per CXL Spec r3.1 Table 9-21, both CXL1.1 and CXL2.0 have defined their
>> own length, verify it to avoid an invalid CHBS
>
>
> I think this looks fine. But did a platform have issues with this?
Not really, actually, I discovered it while reviewing the code and
CXL specification.
Currently, this issue arises only when I inject an incorrect length
via QEMU environment. Our hardware does not experience this problem.
> Does this need to be backported?
I remain neutral :)
Thanks
>
> Reviewed-by: Ira Weiny <ira.weiny@xxxxxxxxx>
>
> [snip]