Re: [PATCH v2 2/4] cxl/pci: Define a common function get_cxl_devstate()
From: Dan Williams
Date: Wed Oct 02 2024 - 19:04:41 EST
Smita Koralahalli wrote:
> Refactor computation of cxlds to a common function get_cxl_devstate().
>
> The above function could then be reused in both FW-First Component and
> Protocol error reporting and handling.
Ira caught the bug in the cleanup conversion, but I am otherwise not
convinced there would be much reuse for a helper like this given any
endpoint-flagged protocol errors would reuse the common
cxl_handle_cper_event(), unless I am missing something?