Re: [PATCH v2] libndctl: add support for the MSFT family of DSM functions

2017-03-30 Thread Linda Knippers
: [PATCH v2] libndctl: add support for the MSFT family of DSM functions -Original Message- From: Dan Williams [mailto:dan.j.willi...@intel.com] From: Lijun Pan This patch retrieves the health data from NVDIMM-N via the MSFT _DSM function[1], following JESD245A[2] standards. Now '

Re: [PATCH v2] libndctl: add support for the MSFT family of DSM functions

2017-03-30 Thread Linda Knippers
: [PATCH v2] libndctl: add support for the MSFT family of DSM functions On Sun, Mar 26, 2017 at 1:17 PM, Lijun Pan wrote: From: Lijun Pan This patch retrieves the health data from NVDIMM-N via the MSFT _DSM function[1], following JESD245A[2] standards. Now 'ndctl list --dimms --health -

RE: [PATCH v2] libndctl: add support for the MSFT family of DSM functions

2017-03-29 Thread Lijun.Pan
vdimm@lists.01.org > Subject: RE: [PATCH v2] libndctl: add support for the MSFT family of DSM > functions > > > -Original Message- > > From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On > Behalf > > Of lijun@dell.com > > Sent:

RE: [PATCH v2] libndctl: add support for the MSFT family of DSM functions

2017-03-29 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On Behalf > Of lijun@dell.com > Sent: Wednesday, March 29, 2017 4:41 PM > To: dan.j.willi...@intel.com; lijunpan2...@gmail.com > Subject: RE: [PATCH v2] libndctl: add support for the

RE: [PATCH v2] libndctl: add support for the MSFT family of DSM functions

2017-03-29 Thread Lijun.Pan
Dell - Internal Use - Confidential > -Original Message- > From: Dan Williams [mailto:dan.j.willi...@intel.com] > Sent: Wednesday, March 29, 2017 1:13 PM > To: Lijun Pan > Cc: linux-nvdimm@lists.01.org; Pan, Lijun ; Hayes, > Stuart > Subject: Re: [PATCH v2] libn

Re: [PATCH v2] libndctl: add support for the MSFT family of DSM functions

2017-03-29 Thread Dan Williams
On Sun, Mar 26, 2017 at 1:17 PM, Lijun Pan wrote: > From: Lijun Pan > > This patch retrieves the health data from NVDIMM-N via > the MSFT _DSM function[1], following JESD245A[2] standards. > Now 'ndctl list --dimms --health --idle' could work > on MSFT type NVDIMM-N, but limited to health_state,

Re: [PATCH v2] libndctl: add support for the MSFT family of DSM functions

2017-03-29 Thread Linda Knippers
On 03/29/2017 11:08 AM, lijun_...@dell.com wrote: >>> +static unsigned int msft_cmd_smart_get_temperature(struct ndctl_cmd >> *cmd) >>> +{ >>> + if (msft_smart_valid(cmd) < 0) >>> + return UINT_MAX; >>> + /* >>> +* refer to JESD245 spec section 7.8 to calculate the temperature >

RE: [PATCH v2] libndctl: add support for the MSFT family of DSM functions

2017-03-29 Thread Lijun.Pan
Dell - Internal Use - Confidential > -Original Message- > From: Linda Knippers [mailto:linda.knipp...@hpe.com] > Sent: Tuesday, March 28, 2017 5:02 PM > To: Lijun Pan ; linux-nvdimm@lists.01.org > Cc: Pan, Lijun ; Hayes, Stuart > > Subject: Re: [PATCH v2] libn

Re: [PATCH v2] libndctl: add support for the MSFT family of DSM functions

2017-03-28 Thread Linda Knippers
, March 28, 2017 5:02 PM >> To: Lijun Pan ; linux-nvdimm@lists.01.org >> Cc: Pan, Lijun ; Hayes, Stuart >> >> Subject: Re: [PATCH v2] libndctl: add support for the MSFT family of DSM >> functions >> >> [EXTERNAL EMAIL] >> >> On 03/26/2017 04:

RE: [PATCH v2] libndctl: add support for the MSFT family of DSM functions

2017-03-28 Thread Lijun.Pan
Dell - Internal Use - Confidential > -Original Message- > From: Linda Knippers [mailto:linda.knipp...@hpe.com] > Sent: Tuesday, March 28, 2017 5:02 PM > To: Lijun Pan ; linux-nvdimm@lists.01.org > Cc: Pan, Lijun ; Hayes, Stuart > > Subject: Re: [PATCH v2] libn

Re: [PATCH v2] libndctl: add support for the MSFT family of DSM functions

2017-03-28 Thread Linda Knippers
On 03/26/2017 04:17 PM, Lijun Pan wrote: > From: Lijun Pan > > This patch retrieves the health data from NVDIMM-N via > the MSFT _DSM function[1], following JESD245A[2] standards. > Now 'ndctl list --dimms --health --idle' could work > on MSFT type NVDIMM-N, but limited to health_state, > tempera