[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <PU1P153MB01698684AC3E12B2F3DD09AEBF900@PU1P153MB0169.APCP153.PROD.OUTLOOK.COM>
Date: Wed, 30 Jan 2019 20:10:49 +0000
From: Dexuan Cui <decui@...rosoft.com>
To: Dan Williams <dan.j.williams@...el.com>,
Greg KH <gregkh@...uxfoundation.org>
CC: Josh Poulson <jopoulso@...rosoft.com>,
"linux-nvdimm@...ts.01.org" <linux-nvdimm@...ts.01.org>,
Haiyang Zhang <haiyangz@...rosoft.com>,
"driverdev-devel@...uxdriverproject.org"
<driverdev-devel@...uxdriverproject.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Michael Kelley <mikelley@...rosoft.com>,
Sasha Levin <Alexander.Levin@...rosoft.com>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
Ross Zwisler <zwisler@...nel.org>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Len Brown <lenb@...nel.org>
Subject: RE: [PATCH] nfit: Collect shutdown status for NVDIMM_FAMILY_HYPERV
> From: Linux-nvdimm <linux-nvdimm-bounces@...ts.01.org> On Behalf Of
> Dexuan Cui
> Sent: Wednesday, January 30, 2019 12:03 PM
> To: Greg KH <gregkh@...uxfoundation.org>
> Cc: Josh Poulson <jopoulso@...rosoft.com>; linux-nvdimm@...ts.01.org;
> Haiyang Zhang <haiyangz@...rosoft.com>;
> driverdev-devel@...uxdriverproject.org; Rafael J. Wysocki
> <rjw@...ysocki.net>; linux-kernel@...r.kernel.org; Michael Kelley
> <mikelley@...rosoft.com>; Sasha Levin <Alexander.Levin@...rosoft.com>;
> linux-acpi@...r.kernel.org; Ross Zwisler <zwisler@...nel.org>; Stephen
> Hemminger <sthemmin@...rosoft.com>; Len Brown <lenb@...nel.org>
> Subject: RE: [PATCH] nfit: Collect shutdown status for
> NVDIMM_FAMILY_HYPERV
>
> > From: Greg KH <gregkh@...uxfoundation.org>
> > Sent: Wednesday, January 30, 2019 11:38 AM
> >
> > On Wed, Jan 30, 2019 at 06:48:40PM +0000, Dexuan Cui wrote:
> > >
> > > Let's expose the info to the userspace (e.g. ntctl) via sysfs.
> >
> > If you add a new sysfs file, you need to add a new Documentation/ABI/
> > update as well :(
>
> It's an existing sysfs node, which was originally added by Dan in Sep 2018:
> /sys/bus/nd/devices/nmem0/nfit/dirty_shutdown.
>
> Before this patch, the node doesn't appear when Linux runs on Hyper-V,
> and with this patch, the node can appear now.
>
> However, indeed, the node and the other related nodes have not been
> documented in Documentation/ABI/testing/sysfs-bus-nfit yet.
> I suppose Dan would add that?
Actually the other nodes have been documented, and only the
"dirty_shutdown" is missed.
It should be straightfoward. Let me make a patch for this.
Thanks for the reminder, Greg!
Thanks,
-- Dexuan
Powered by blists - more mailing lists