linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] Enable DSM pass thru for root functions
@ 2017-06-20 16:51 Jerry Hoemann
  2017-06-20 16:51 ` [PATCH v2 1/7] libnvdimm: passthru functions clear to send Jerry Hoemann
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Jerry Hoemann @ 2017-06-20 16:51 UTC (permalink / raw)
  To: dan.j.williams; +Cc: linux-nvdimm, linux-kernel, Jerry Hoemann

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

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

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.
Add new function names to nvdimm_bus_cmd_name.



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
  libnvdimm: New ACPI 6.2 DSM functions
  acpi, nfit: override mask

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

-- 
1.8.5.6

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-06-28 23:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-20 16:51 [PATCH v2 0/7] Enable DSM pass thru for root functions Jerry Hoemann
2017-06-20 16:51 ` [PATCH v2 1/7] libnvdimm: passthru functions clear to send Jerry Hoemann
2017-06-20 16:51 ` [PATCH v2 2/7] acpi, nfit: Enable DSM pass thru for root functions Jerry Hoemann
2017-06-20 16:51 ` [PATCH v2 3/7] libnvdimm: Add bus level dsm mask Jerry Hoemann
2017-06-20 16:51 ` [PATCH v2 4/7] acpi, nfit: Use bus_dsm_mask for passthru Jerry Hoemann
2017-06-28 21:09   ` Dan Williams
2017-06-20 16:51 ` [PATCH v2 5/7] acpi, nfit: Show bus_dsm_mask Jerry Hoemann
2017-06-28 21:07   ` Dan Williams
2017-06-28 23:15     ` Jerry Hoemann
2017-06-28 23:29       ` Dan Williams
2017-06-28 23:31         ` Dan Williams
2017-06-20 16:51 ` [PATCH v2 6/7] libnvdimm: New ACPI 6.2 DSM functions Jerry Hoemann
2017-06-28 21:11   ` Dan Williams
2017-06-20 16:51 ` [PATCH v2 7/7] acpi, nfit: override mask Jerry Hoemann
2017-06-26 17:37 ` [PATCH v2 0/7] Enable DSM pass thru for root functions Jerry Hoemann

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).