Re: [PATCH 02/26] cxl/core: Separate region mode from decoder mode

From: Ira Weiny
Date: Tue Apr 02 2024 - 19:26:21 EST


Davidlohr Bueso wrote:
> On Sun, 24 Mar 2024, ira.weiny@xxxxxxxxx wrote:
>
> >From: Navneet Singh <navneet.singh@xxxxxxxxx>
> >
> >Until now region modes and decoder modes were equivalent in that they
> >were either PMEM or RAM. With the upcoming addition of Dynamic Capacity
> >regions (which will represent an array of device regions [better named
> >partitions] the index of which could be different on different
> >interleaved devices), the mode of an endpoint decoder and a region will
> >no longer be equivalent.
> >
> >Define a new region mode enumeration and adjust the code for it.
>
> Could this could also be picked up regardless of dcd?

It could be. But there is no practical need for it without the addition of
DCD. So I don't think it should be.

Ira