From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH] nfit: Collect shutdown status for NVDIMM_FAMILY_HYPERV Date: Wed, 30 Jan 2019 20:37:52 +0100 Message-ID: <20190130193752.GA21181@kroah.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Sender: "Linux-nvdimm" To: Dexuan Cui Cc: Josh Poulson , "linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org" , Haiyang Zhang , "driverdev-devel-tBiZLqfeLfOHmIFyCCdPziST3g8Odh+X@public.gmane.org" , "Rafael J. Wysocki" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Michael Kelley , Sasha Levin , "linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Ross Zwisler , Stephen Hemminger , Len Brown List-Id: linux-acpi@vger.kernel.org On Wed, Jan 30, 2019 at 06:48:40PM +0000, Dexuan Cui wrote: > > See http://www.uefi.org/RFIC_LIST ("Virtual NVDIMM 0x1901"): > "Get Unsafe Shutdown Count (Function Index 2)". > > 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 :(