Re: [PATCH v5 2/3] cxl/core/region: move dax region device logic into region_dax.c
From: Anisa Su
Date: Mon Apr 13 2026 - 13:27:05 EST
On Sat, Apr 11, 2026 at 01:09:13AM -0400, Gregory Price wrote:
> 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
Wait no sorry I was wrong... I got confused by the merge conflict when I was
rebasing the dcd series
Pls ignore
- Anisa