Re: [PATCH v5 2/3] cxl/core/region: move dax region device logic into region_dax.c
From: Gregory Price
Date: Sat Apr 11 2026 - 01:10:43 EST
On Fri, Apr 10, 2026 at 05:02:00PM -0700, Anisa Su wrote:
> > +
> > + cxlr_dax->hpa_range.start = p->res->start;
> > + cxlr_dax->hpa_range.end = p->res->end;
> > +
> > + dev = &cxlr_dax->dev;
> > + cxlr_dax->cxlr = cxlr;
> cxlr->cxlr_dax = cxlr_dax;
>
> Running into segfaults without this ^
This should have been a purely non-functional change (the code is just
moving from A to B without changes).
That would mean the original code should run into this too unless I
mucked up the move.
~Gregory