linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dan.j.williams@intel.com>
To: linux-nvdimm@ml01.01.org
Cc: Vishal Verma <vishal.l.verma@intel.com>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	linux-kernel@vger.kernel.org, Toshi Kani <toshi.kani@hpe.com>,
	linux-acpi@vger.kernel.org
Subject: [PATCH 0/3] acpi, nfit: nvdimm notification support + tests
Date: Tue, 23 Aug 2016 14:54:11 -0700	[thread overview]
Message-ID: <147198925154.3136.14739108342311837939.stgit@dwillia2-desk3.amr.corp.intel.com> (raw)

ACPI 6.1 added an "NFIT Health Event Notification" for nvdimm devices.
When this fires, system software is expected to issue a DSM to retrieve
the latest health values.  For the NFIT driver this notification
arrives as an event on the sysfs 'flags' attribute for an nfit/nvdimm
device.  The 'flags' attribute reflects the "NVDIMM State Flags" of the
"5.2.25.3 NVDIMM Region Mapping Structure", and when read indicates if
the platform supports sending health events.

---

Dan Williams (3):
      tools/testing/nvdimm: unit test for acpi_nfit_notify()
      acpi, nfit: add dimm device notification support
      tools/testing/nvdimm: unit test for acpi_nvdimm_notify()


 drivers/acpi/nfit/core.c          |  112 ++++++++++++++++++++++++++++++++-----
 drivers/acpi/nfit/nfit.h          |    7 ++
 drivers/nvdimm/dimm_devs.c        |    6 ++
 include/linux/libnvdimm.h         |    1 
 tools/testing/nvdimm/Kbuild       |    1 
 tools/testing/nvdimm/test/iomap.c |   17 ++++++
 tools/testing/nvdimm/test/nfit.c  |   64 +++++++++++++++++++--
 7 files changed, 188 insertions(+), 20 deletions(-)

             reply	other threads:[~2016-08-23 21:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-23 21:54 Dan Williams [this message]
2016-08-23 21:54 ` [PATCH 1/3] tools/testing/nvdimm: unit test for acpi_nfit_notify() Dan Williams
2016-08-23 21:54 ` [PATCH 2/3] acpi, nfit: add dimm device notification support Dan Williams
2016-08-26 18:26   ` Kani, Toshimitsu
2016-08-26 18:39     ` Dan Williams
2016-08-29 22:19       ` Kani, Toshimitsu
2016-09-01 19:46   ` Dan Williams
2016-08-23 21:54 ` [PATCH 3/3] tools/testing/nvdimm: unit test for acpi_nvdimm_notify() Dan Williams
2016-08-23 22:39 ` [PATCH 0/3] acpi, nfit: nvdimm notification support + tests Vishal Verma
2016-08-29 21:50 ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=147198925154.3136.14739108342311837939.stgit@dwillia2-desk3.amr.corp.intel.com \
    --to=dan.j.williams@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvdimm@ml01.01.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=toshi.kani@hpe.com \
    --cc=vishal.l.verma@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).