RE: [PATCH v2 3/3] ras/events: Trace CXL CPER events without CXL stack
From: Dan Williams
Date: Mon Apr 22 2024 - 20:26:15 EST
Ira Weiny wrote:
> If CXL is solely managed by firmware (including HDM configuration and
> event processing via firmware first) it is possible to run the system
> without the CXL software loaded. In this case no CXL callback will be
> loaded and CXL CPER errors will not be processed at all.
>
> In this case memory device and region (HPA) information is missing but
> omitting the error completely is not friendly. Some device information
> is available the event.
>
> Trace CXL CPER events if the CXL stack is not loaded. A balance was
> chosen to decode only the CPER header as this configuration is likely
> rare.
I think the justification for this is weak and it pollutes the user ABI.
What environment cares about CXL RAS without the CXL driver? If such a
use case ever pops up it is trivial to revive this otherwise saves
carrying this and all the minor maintenance overhead it causes.