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

Dave Jiang
2024-03-28T20:09:40Z

On 3/27/24 10:22 PM, Ira Weiny wrote:
> Davidlohr Bueso wrote:
>> On Sun, 24 Mar 2024, ira.weiny@intel.com wrote:
>>
>>> From: Navneet Singh <navneet.singh@intel.com>
>>>
>>> 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 but there is no need for it without DCD.
>
> I will work on re-ordering the cleanups if Dave will agree to take them
> early.

There's no reason for the change unless it comes with DCD right? And probably no urgent need to taking it ahead then?
>
> Ira