Re: [PATCH v2] libnvdimm: Update persistence domain value for of_pmem and papr_scm device

2020-03-23 Thread Dan Williams
On Fri, Mar 20, 2020 at 2:25 AM Aneesh Kumar K.V wrote: > > > Hi Dan, > > > Dan Williams writes: > > ... > > > > > >> > >> Or are you suggesting that application should not infer any of those > >> details looking at persistence_domain value? If so what is the purpose > >> of exporting that

Re: [PATCH v2] libnvdimm: Update persistence domain value for of_pmem and papr_scm device

2020-03-20 Thread Aneesh Kumar K.V
Hi Dan, Dan Williams writes: ... > >> >> Or are you suggesting that application should not infer any of those >> details looking at persistence_domain value? If so what is the purpose >> of exporting that attribute? > > The way the patch was worded I thought it was referring to an explicit

Re: [PATCH v2] libnvdimm: Update persistence domain value for of_pmem and papr_scm device

2020-02-11 Thread Dan Williams
On Tue, Feb 11, 2020 at 6:57 AM Aneesh Kumar K.V wrote: > > On 2/10/20 11:48 PM, Dan Williams wrote: > > On Mon, Feb 10, 2020 at 6:20 AM Aneesh Kumar K.V > > wrote: > >> > >> Dan Williams writes: > >> > >>> On Tue, Feb 4, 2020 at 9:21 PM Aneesh Kumar K.V > >>> wrote: > > Currently,

Re: [PATCH v2] libnvdimm: Update persistence domain value for of_pmem and papr_scm device

2020-02-11 Thread Aneesh Kumar K.V
On 2/10/20 11:48 PM, Dan Williams wrote: On Mon, Feb 10, 2020 at 6:20 AM Aneesh Kumar K.V wrote: Dan Williams writes: On Tue, Feb 4, 2020 at 9:21 PM Aneesh Kumar K.V wrote: Currently, kernel shows the below values "persistence_domain":"cpu_cache"

Re: [PATCH v2] libnvdimm: Update persistence domain value for of_pmem and papr_scm device

2020-02-10 Thread Dan Williams
On Mon, Feb 10, 2020 at 6:20 AM Aneesh Kumar K.V wrote: > > Dan Williams writes: > > > On Tue, Feb 4, 2020 at 9:21 PM Aneesh Kumar K.V > > wrote: > >> > >> Currently, kernel shows the below values > >> "persistence_domain":"cpu_cache" > >>

Re: [PATCH v2] libnvdimm: Update persistence domain value for of_pmem and papr_scm device

2020-02-10 Thread Aneesh Kumar K.V
Dan Williams writes: > On Tue, Feb 4, 2020 at 9:21 PM Aneesh Kumar K.V > wrote: >> >> Currently, kernel shows the below values >> "persistence_domain":"cpu_cache" >> "persistence_domain":"memory_controller" >> "persistence_domain":"unknown" >> >> "cpu_cache" indicates no

Re: [PATCH v2] libnvdimm: Update persistence domain value for of_pmem and papr_scm device

2020-02-09 Thread Dan Williams
On Tue, Feb 4, 2020 at 9:21 PM Aneesh Kumar K.V wrote: > > Currently, kernel shows the below values > "persistence_domain":"cpu_cache" > "persistence_domain":"memory_controller" > "persistence_domain":"unknown" > > "cpu_cache" indicates no extra instructions is needed to

[PATCH v2] libnvdimm: Update persistence domain value for of_pmem and papr_scm device

2020-02-04 Thread Aneesh Kumar K.V
Currently, kernel shows the below values "persistence_domain":"cpu_cache" "persistence_domain":"memory_controller" "persistence_domain":"unknown" "cpu_cache" indicates no extra instructions is needed to ensure the persistence of data in the pmem media on power failure.