linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jerry Hoemann <jerry.hoemann@hpe.com>
To: dan.j.williams@intel.com
Cc: linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org,
	Jerry Hoemann <jerry.hoemann@hpe.com>
Subject: [PATCH v3 0/7] Enable DSM pass thru for root functions
Date: Thu, 29 Jun 2017 10:56:25 -0600	[thread overview]
Message-ID: <cover.1498754314.git.jerry.hoemann@hpe.com> (raw)

The ACPI 6.2 spec added NVDIMM root DSM functions that managibility
and test software need to call.

This patch set enables the calling of root functions DSMs via the
pass thru mechanism.

Changes v3
----------
1. Fix checkpatch warnings

2. modify bus_dsm_mask_show to display name "dsm_mask" in sysfs.

3. modified submittal comments.

Changes v2
----------
1. Add bus_dsm_mask to filter root pass thru calls.

2. Add bus_dsm_mask_show to display bus_dsm_mask in sysfs

3. Extend override_dsm_mask to be used for bus_dms_mask also.




Details v1
----------

__nd_ioctl:
Check pass thru functions against nd_cmd_clear_to_send.

acpi_nfit_init_dsms:
Set additional bits in cmd_mask for new functions.

ndctl.h:
Define data structure for the new 6.2 functions.


Jerry Hoemann (7):
  libnvdimm: passthru functions clear to send
  acpi, nfit: Enable DSM pass thru for root functions.
  libnvdimm: Add bus level dsm mask.
  acpi, nfit: Use bus_dsm_mask for passthru
  acpi, nfit: Show bus_dsm_mask in sysfs
  libnvdimm: New ACPI 6.2 DSM functions
  acpi, nfit: override mask

 drivers/acpi/nfit/core.c   | 23 +++++++++++++++++++++++
 drivers/nvdimm/bus.c       |  4 +++-
 include/linux/libnvdimm.h  |  1 +
 include/uapi/linux/ndctl.h | 41 ++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 67 insertions(+), 2 deletions(-)

-- 
1.8.5.6

             reply	other threads:[~2017-06-29 16:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-29 16:56 Jerry Hoemann [this message]
2017-06-29 16:56 ` [PATCH v3 1/7] libnvdimm: passthru functions clear to send Jerry Hoemann
2017-06-29 16:56 ` [PATCH v3 2/7] acpi, nfit: Enable DSM pass thru for root functions Jerry Hoemann
2017-06-29 16:56 ` [PATCH v3 3/7] libnvdimm: Add bus level dsm mask Jerry Hoemann
2017-06-29 21:23   ` Dan Williams
2017-06-29 16:56 ` [PATCH v3 4/7] acpi, nfit: Use bus_dsm_mask for passthru Jerry Hoemann
2017-06-29 21:35   ` Dan Williams
2017-06-29 21:47     ` Jerry Hoemann
2017-06-29 21:55       ` Dan Williams
2017-06-29 23:26         ` Jerry Hoemann
2017-06-30  1:26           ` Dan Williams
2017-06-29 16:56 ` [PATCH v3 5/7] acpi, nfit: Show bus_dsm_mask in sysfs Jerry Hoemann
2017-06-29 16:56 ` [PATCH v3 6/7] libnvdimm: New ACPI 6.2 DSM functions Jerry Hoemann
2017-06-29 16:56 ` [PATCH v3 7/7] acpi, nfit: override mask Jerry Hoemann
2017-06-29 21:16   ` Dan Williams
2017-06-29 22:18     ` Jerry Hoemann
2017-06-29 22:50       ` Dan Williams
2017-06-30 16:09 [PATCH v3 0/7] Enable DSM pass thru for root functions Jerry Hoemann

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=cover.1498754314.git.jerry.hoemann@hpe.com \
    --to=jerry.hoemann@hpe.com \
    --cc=dan.j.williams@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvdimm@lists.01.org \
    /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).