Re: [NDCTL PATCH v3 2/2] cxl: Add check for regions before disabling memdev

2024-04-25 Thread Zhijian Li (Fujitsu)
On 26/04/2024 00:52, Alison Schofield wrote: > On Thu, Apr 25, 2024 at 05:30:40AM +, Zhijian Li (Fujitsu) wrote: >> Hi Verma, >> >> >> On 18/04/2024 02:14, Verma, Vishal L wrote: >>> On Wed, 2024-04-17 at 02:46 -0400, Yao Xingtao wrote: Hi Dave,   I have applied this patch

Re: [NDCTL PATCH v3 2/2] cxl: Add check for regions before disabling memdev

2024-04-25 Thread Alison Schofield
On Thu, Apr 25, 2024 at 05:30:40AM +, Zhijian Li (Fujitsu) wrote: > Hi Verma, > > > On 18/04/2024 02:14, Verma, Vishal L wrote: > > On Wed, 2024-04-17 at 02:46 -0400, Yao Xingtao wrote: > >> > >> Hi Dave, > >>   I have applied this patch in my env, and done a lot of testing, > >> this > >>

Re: [NDCTL PATCH v3 2/2] cxl: Add check for regions before disabling memdev

2024-04-24 Thread Zhijian Li (Fujitsu)
Hi Verma, On 18/04/2024 02:14, Verma, Vishal L wrote: > On Wed, 2024-04-17 at 02:46 -0400, Yao Xingtao wrote: >> >> Hi Dave, >>   I have applied this patch in my env, and done a lot of testing, >> this >> feature is currently working fine. >>   But it is not merged into master branch yet, are

[NDCTL PATCH v3 2/2] cxl: Add check for regions before disabling memdev

2023-11-30 Thread Dave Jiang
Add a check for memdev disable to see if there are active regions present before disabling the device. This is necessary now regions are present to fulfill the TODO that was left there. The best way to determine if a region is active is to see if there are decoders enabled for the mem device. This