Re: [PATCH] libnvdimm: Fix nvdimm_probe error on NVDIMM-N

2016-08-16 Thread Kani, Toshimitsu
On Mon, 2016-08-15 at 14:20 -0700, Dan Williams wrote: > On Mon, Aug 15, 2016 at 10:52 AM, Toshi Kani > wrote: > > > > 'ndctl list --buses --dimms' does not list any NVDIMM-Ns since > > they are considered as idle.  ndctl checks if any driver is > > attached to nmem device.  

Re: [PATCH] libnvdimm: Fix nvdimm_probe error on NVDIMM-N

2016-08-16 Thread Kani, Toshimitsu
On Mon, 2016-08-15 at 14:20 -0700, Dan Williams wrote: > On Mon, Aug 15, 2016 at 10:52 AM, Toshi Kani > wrote: > > > > 'ndctl list --buses --dimms' does not list any NVDIMM-Ns since > > they are considered as idle.  ndctl checks if any driver is > > attached to nmem device.  nvdimm_probe()

Re: [PATCH] libnvdimm: Fix nvdimm_probe error on NVDIMM-N

2016-08-15 Thread Dan Williams
On Mon, Aug 15, 2016 at 10:52 AM, Toshi Kani wrote: > 'ndctl list --buses --dimms' does not list any NVDIMM-Ns since > they are considered as idle. ndctl checks if any driver is > attached to nmem device. nvdimm_probe() always fails in > nvdimm_init_nsarea() since NVDIMM-Ns

Re: [PATCH] libnvdimm: Fix nvdimm_probe error on NVDIMM-N

2016-08-15 Thread Dan Williams
On Mon, Aug 15, 2016 at 10:52 AM, Toshi Kani wrote: > 'ndctl list --buses --dimms' does not list any NVDIMM-Ns since > they are considered as idle. ndctl checks if any driver is > attached to nmem device. nvdimm_probe() always fails in > nvdimm_init_nsarea() since NVDIMM-Ns do not implement

[PATCH] libnvdimm: Fix nvdimm_probe error on NVDIMM-N

2016-08-15 Thread Toshi Kani
'ndctl list --buses --dimms' does not list any NVDIMM-Ns since they are considered as idle. ndctl checks if any driver is attached to nmem device. nvdimm_probe() always fails in nvdimm_init_nsarea() since NVDIMM-Ns do not implement optinal ND_CMD_GET_CONFIG_DATA command. Change nvdimm_probe()

[PATCH] libnvdimm: Fix nvdimm_probe error on NVDIMM-N

2016-08-15 Thread Toshi Kani
'ndctl list --buses --dimms' does not list any NVDIMM-Ns since they are considered as idle. ndctl checks if any driver is attached to nmem device. nvdimm_probe() always fails in nvdimm_init_nsarea() since NVDIMM-Ns do not implement optinal ND_CMD_GET_CONFIG_DATA command. Change nvdimm_probe()