Re: [PATCH v5 2/3] cxl/edac: Skip event records marked NOT_REPAIRABLE
From: Jongwon Lee
Date: Wed Nov 25 2026 - 21:36:34 EST
On Tue, 17 Nov 2026 01:30:17 +0000, Jonathan Cameron wrote:
> It's silly but broken? I'd argue no. This feels like a useability improvement
> to me rather than something we want to call a fix which suggests backports
> make sense.
OK, I dropped the Fixes tag in v6.
One dependency to note: 3/3 keeps its Fixes tag, and it needs this
patch. Today a NOT_REPAIRABLE record is only missed because its key
still has bit 1 set. With 3/3 alone the masked DPA would find it, so
if 3/3 goes to stable, this patch has to go with it. I wrote this in
the 3/3 changelog. If you would rather keep a Fixes tag here for the
backport, or add "Cc: stable@xxxxxxxxxxxxxxx # needs 'cxl/edac: Skip
event records marked NOT_REPAIRABLE'" to 3/3, I can do either.
> A find routine that doesn't return the thing requested seems misnamed.
>
> cxl_check_for_rec_gen_media() or something like that is probably clearer.
Renamed to cxl_check_for_rec_gen_media() in v6.
> I'd split those two conditions as they are completely unrelated.
Done, they are two separate if statements now.
> Hmm. Was assuming there would be guard() available but nope.
> Was proposed but nothing happened with it.
> https://lore.kernel.org/all/20240228135352.14444-1-mschmidt@xxxxxxxxxx/#r
>
> Maybe worth resurrecting that. +CC Michal.
I'd like to keep the guard out of this series. 1/3 fixes a
use-after-free and has Fixes tags, so it is likely to be backported,
and an xarray.h change would have to go back with it. Once this lands
I can send a follow-up that adds the xa_lock guard and converts these
call sites, unless Michal wants to repost his patch.
v6: https://lore.kernel.org/r/20261126023520.39368-1-ai@xxxxxxxxx
Thanks,
Jongwon