Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1167168
| From | "Rafael J. Wysocki" <rjw@rjwysocki.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v6 03/21] libnvdimm: control character device and nvdimm_bus sysfs attributes |
| Date | 2015-06-17 23:40 +0200 |
| Message-ID | <pCtdU-5cm-21@gated-at.bofh.it> (permalink) |
| References | <pAh7c-86n-3@gated-at.bofh.it> <pAh7e-86n-57@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thursday, June 11, 2015 04:10:24 PM Dan Williams wrote: > The control device for a nvdimm_bus is registered as an "nd" class > device. The expectation is that there will usually only be one "nd" bus > registered under /sys/class/nd. However, we allow for the possibility > of multiple buses and they will listed in discovery order as > ndctl0...ndctlN. This character device hosts the ioctl for passing > control messages. The initial command set has a 1:1 correlation with > the commands listed in the by the "NFIT DSM Example" document [1], but > this scheme is extensible to future command sets. > > Note, nd_ioctl() and the backing ->ndctl() implementation are defined in > a subsequent patch. This is simply the initial registrations and sysfs > attributes. > > [1]: http://pmem.io/documents/NVDIMM_DSM_Interface_Example.pdf > > Cc: Neil Brown <neilb@suse.de> > Cc: Greg KH <gregkh@linuxfoundation.org> > Cc: <linux-acpi@vger.kernel.org> > Cc: Robert Moore <robert.moore@intel.com> > Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > Signed-off-by: Dan Williams <dan.j.williams@intel.com> For the ACPI part: Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v6 00/21] libnvdimm: non-volatile memory devices Dan Williams <dan.j.williams@intel.com> - 2015-06-11 22:20 +0200
[PATCH v6 01/21] e820, efi: add ACPI 6.0 persistent memory types Dan Williams <dan.j.williams@intel.com> - 2015-06-11 22:20 +0200
[PATCH v6 11/21] libnvdimm, nfit: add interleave-set state-tracking infrastructure Dan Williams <dan.j.williams@intel.com> - 2015-06-11 22:20 +0200
Re: [PATCH v6 11/21] libnvdimm, nfit: add interleave-set state-tracking infrastructure "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-06-17 23:50 +0200
[PATCH v6 04/21] libnvdimm, nfit: dimm/memory-devices Dan Williams <dan.j.williams@intel.com> - 2015-06-11 22:20 +0200
Re: [PATCH v6 04/21] libnvdimm, nfit: dimm/memory-devices "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-06-17 23:40 +0200
[PATCH v6 06/21] libnvdimm, nvdimm: dimm driver and base libnvdimm device-driver infrastructure Dan Williams <dan.j.williams@intel.com> - 2015-06-11 22:20 +0200
[PATCH v6 12/21] libnvdimm: namespace indices: read and validate Dan Williams <dan.j.williams@intel.com> - 2015-06-11 22:20 +0200
[PATCH v6 15/21] libnvdimm: write pmem label set Dan Williams <dan.j.williams@intel.com> - 2015-06-11 22:20 +0200
[PATCH v6 09/21] libnvdimm, pmem: move pmem to drivers/nvdimm/ Dan Williams <dan.j.williams@intel.com> - 2015-06-11 22:20 +0200
[PATCH v6 03/21] libnvdimm: control character device and nvdimm_bus sysfs attributes Dan Williams <dan.j.williams@intel.com> - 2015-06-11 22:20 +0200
Re: [PATCH v6 03/21] libnvdimm: control character device and nvdimm_bus sysfs attributes "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-06-17 23:40 +0200
Re: [PATCH v6 18/21] nd_btt: atomic sector updates Dan Williams <dan.j.williams@intel.com> - 2015-06-11 22:30 +0200
Re: [PATCH v6 19/21] libnvdimm, nfit, nd_blk: driver for BLK-mode access persistent memory "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-06-17 23:50 +0200
csiph-web