Re: [PATCH v9 12/13] cxl/region: Factor out code into cxl_region_setup_poison()

From: Jonathan Cameron

Date: Wed Jan 14 2026 - 13:18:00 EST


On Tue, 13 Jan 2026 19:32:54 -0800
Alison Schofield <alison.schofield@xxxxxxxxx> wrote:

> On Sat, Jan 10, 2026 at 12:46:57PM +0100, Robert Richter wrote:
> > Poison injection setup code is embedded in cxl_region_probe(). For
> > improved encapsulation, readability, and maintainability, factor out
> > code into function cxl_region_setup_poison().
> >
> > This patch is a prerequisit to disable poison injection for Normalized
> > Addressing.
>
> I prefer we be clearer about intent. Poison injection altogether is not
> being disabled, only by region offset.
>
> Replace this:
> > This patch is a prerequisit to disable poison injection for Normalized
> > Addressing.
>
> With this:
> This patch is a prerequisite to disable poison by region offset for
> Normalized Addressing.
>
> With that,
> Reviewed-by: Alison Schofield <alison.schofield@xxxxxxxxx>
Alison's request seems sensible to me. Otherwise looks good.
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>

>
>
>