Re: [PATCH v7 2/7] cxl/region: Scan all partitions for unmapped poison

From: Jonathan Cameron

Date: Tue Sep 15 2026 - 22:19:55 EST


On Wed, 2 Sep 2026 13:38:34 +0800
Richard Cheng <icheng@xxxxxxxxxx> wrote:

> cxl_get_poison_unmapped() sweeps the unmapped tail of each partition
> from ctx->part onward. A fully-mapped partition has no unmapped tail,
> it's a normal per-partition state, but the loop treated it with break,
> aborting the whole sweep and silently skipping unmapped poison in all
> later partition. Use continue so a fully-mapped partition is skipped and
> later partitions are still scanned.
>
> Fixes: be5cbd0840275 ("cxl: Kill enum cxl_decoder_mode")
> Reviewed-by: Dave Jiang <dave.jiang@xxxxxxxxx>
> Reviewed-by: Alison Schofield <alison.schofield@xxxxxxxxx>
> Tested-by: Alison Schofield <alison.schofield@xxxxxxxxx>
> Signed-off-by: Richard Cheng <icheng@xxxxxxxxxx>
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxxxxxxxx>