Re: [PATCH v19 08/14] cxl/ras: Handle RCH correctable and uncorrectable errors in one pass
Alison Schofield <[email protected]> Mon, 3 Aug 2026 19:16:11 -0700
| Newsgroups | org.kernel.vger.linux-acpi,org.kernel.vger.linux-cxl,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 03, 2026 at 05:18:04PM -0500, Terry Bowman wrote: > cxl_rch_get_aer_info() reads and clears both the correctable and > uncorrectable AER status registers in a single pass. The previous > severity decode returned after the first matching class, so when a > correctable and an uncorrectable error were logged simultaneously the > correctable event was cleared in hardware but never traced or handled. > > Handle both classes independently: dispatch cxl_handle_cor_ras() when > correctable status is set and cxl_do_recovery() when uncorrectable > status is set. Remove the now-unused cxl_rch_get_aer_severity() helper > and decode the uncorrectable severity inline. Reviewed-by: Alison Schofield <[email protected]>