Re: [Linux-nvdimm] [PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-24 Thread Toshi Kani
On Fri, 2015-04-24 at 10:45 -0700, Dan Williams wrote: > On Fri, Apr 24, 2015 at 10:18 AM, Toshi Kani wrote: > > On Fri, 2015-04-24 at 09:25 -0700, Dan Williams wrote: > >> On Fri, Apr 24, 2015 at 8:56 AM, Toshi Kani wrote: > >> > On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: > >> >> Mos

Re: [Linux-nvdimm] [PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-24 Thread Dan Williams
On Fri, Apr 24, 2015 at 10:18 AM, Toshi Kani wrote: > On Fri, 2015-04-24 at 09:25 -0700, Dan Williams wrote: >> On Fri, Apr 24, 2015 at 8:56 AM, Toshi Kani wrote: >> > On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: >> >> Most configuration of the nd-subsystem is done via nd-sysfs. Howeve

Re: [Linux-nvdimm] [PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-24 Thread Toshi Kani
On Fri, 2015-04-24 at 09:25 -0700, Dan Williams wrote: > On Fri, Apr 24, 2015 at 8:56 AM, Toshi Kani wrote: > > On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: > >> Most configuration of the nd-subsystem is done via nd-sysfs. However, > >> the NFIT specification defines a small set of mess

Re: [Linux-nvdimm] [PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-24 Thread Dan Williams
On Fri, Apr 24, 2015 at 9:09 AM, Toshi Kani wrote: > On Fri, 2015-04-24 at 09:56 -0600, Toshi Kani wrote: >> On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: >> > Most configuration of the nd-subsystem is done via nd-sysfs. However, >> > the NFIT specification defines a small set of message

Re: [Linux-nvdimm] [PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-24 Thread Toshi Kani
On Fri, 2015-04-24 at 09:56 -0600, Toshi Kani wrote: > On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: > > Most configuration of the nd-subsystem is done via nd-sysfs. However, > > the NFIT specification defines a small set of messages that can be > > passed to the subsystem via platform-fi

Re: [Linux-nvdimm] [PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-24 Thread Dan Williams
On Fri, Apr 24, 2015 at 8:56 AM, Toshi Kani wrote: > On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: >> Most configuration of the nd-subsystem is done via nd-sysfs. However, >> the NFIT specification defines a small set of messages that can be >> passed to the subsystem via platform-firmwa

Re: [Linux-nvdimm] [PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-24 Thread Toshi Kani
On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: > Most configuration of the nd-subsystem is done via nd-sysfs. However, > the NFIT specification defines a small set of messages that can be > passed to the subsystem via platform-firmware-defined methods. The > command set (as of the current

Re: [Linux-nvdimm] [PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-21 Thread Toshi Kani
On Tue, 2015-04-21 at 15:05 -0700, Dan Williams wrote: > On Tue, Apr 21, 2015 at 2:20 PM, Toshi Kani wrote: : > >> +static int nd_acpi_add_dimm(struct nfit_bus_descriptor *nfit_desc, > >> + struct nd_dimm *nd_dimm) > >> +{ > >> + struct acpi_nfit *nfit = to_acpi_nfit(nfit_desc); >

Re: [Linux-nvdimm] [PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-21 Thread Dan Williams
On Tue, Apr 21, 2015 at 2:20 PM, Toshi Kani wrote: > On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: >> Most configuration of the nd-subsystem is done via nd-sysfs. However, >> the NFIT specification defines a small set of messages that can be >> passed to the subsystem via platform-firmwa

Re: [Linux-nvdimm] [PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-21 Thread Toshi Kani
On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: > Most configuration of the nd-subsystem is done via nd-sysfs. However, > the NFIT specification defines a small set of messages that can be > passed to the subsystem via platform-firmware-defined methods. The > command set (as of the current

[PATCH 08/21] nd: ndctl.h, the nd ioctl abi

2015-04-17 Thread Dan Williams
Most configuration of the nd-subsystem is done via nd-sysfs. However, the NFIT specification defines a small set of messages that can be passed to the subsystem via platform-firmware-defined methods. The command set (as of the current version of the NFIT-DSM spec) is: NFIT_CMD_SMART: media h