[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55195804.2G24WjSeEI@vostro.rjw.lan>
Date: Thu, 18 Jun 2015 00:00:24 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Dan Williams <dan.j.williams@...el.com>
Cc: linux-nvdimm@...ts.01.org, mingo@...nel.org, sfr@...b.auug.org.au,
rafael@...nel.org, neilb@...e.de, gregkh@...uxfoundation.org,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Robert Moore <robert.moore@...el.com>,
linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
jmoyer@...hat.com, axboe@...nel.dk, linux-api@...r.kernel.org,
akpm@...ux-foundation.org, hch@....de
Subject: Re: [PATCH v6 03/21] libnvdimm: control character device and nvdimm_bus sysfs attributes
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@...e.de>
> Cc: Greg KH <gregkh@...uxfoundation.org>
> Cc: <linux-acpi@...r.kernel.org>
> Cc: Robert Moore <robert.moore@...el.com>
> Cc: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
> Signed-off-by: Dan Williams <dan.j.williams@...el.com>
For the ACPI part:
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists