All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v11 0/5] libnvidmm, nfit: dimm command marshaling
@ 2016-04-29  2:42 ` Dan Williams
  0 siblings, 0 replies; 24+ messages in thread
From: Dan Williams @ 2016-04-29  2:42 UTC (permalink / raw)
  To: linux-nvdimm; +Cc: Christoph Hellwig, linux-acpi, rafael.j.wysocki

Jerry and I have been working towards a way to support the ACPI DSM
command set needed by HPE DIMMs.  The HPE command sets differ
from the original Intel-defined command set already upstream.

Ideally the kernel would only implement a single standard command
format, however the standard is not yet available and devices
implementing an alternate command set are already shipping.

This rework of Jerry's initial patches [1] aims to support shipping
devices while encouraging future / follow-on command definitions to wait
for the standardization process to complete by:

1/ Requiring public documentation of commands

2/ Providing a mechanism to disable vendor-specific functionality

See patch 2 for more details.  This patch passes the existing nvdimm
unit tests, but I have yet to extend the tests to target this new
mechanism.


Changes since v10: [1]
1/ Rewrote the commit message for the patch that introduces ND_CMD_CALL

2/ Replace 'nfit_cmd_family_tbl' with nfit_mem->family to clean up some
   lookup code.

3/ Squash and reorganize the 7 patches into a smaller set.  Commit
   8467ba4fc94a from my for-4.7/dsm branch [2] was also squashed.

4/ Add sysfs attributes for the dimm family and DSM function-supported
   mask.

5/ Add a module parameter to disable vendor specific commands

[1]: https://lists.01.org/pipermail/linux-nvdimm/2016-April/005484.html
[2]: https://git.kernel.org/cgit/linux/kernel/git/djbw/nvdimm.git/commit/?h=for-4.7/dsm&id=8467ba4fc94a

---

Dan Williams (5):
      nfit, libnvdimm: clarify "commands" vs "_DSMs"
      nfit, libnvdimm: limited/whitelisted dimm command marshaling mechanism
      nfit: disable vendor specific commands
      tools/testing/nvdimm: ND_CMD_CALL support
      nfit: add sysfs dimm 'family' and 'dsm_mask' attributes


 drivers/acpi/nfit.c              |  145 +++++++++++++++++++++++++++++++++-----
 drivers/acpi/nfit.h              |   18 ++++-
 drivers/nvdimm/bus.c             |   47 +++++++++++-
 drivers/nvdimm/core.c            |    2 -
 drivers/nvdimm/dimm_devs.c       |   18 +++--
 drivers/nvdimm/nd-core.h         |    2 -
 include/linux/libnvdimm.h        |    5 +
 include/uapi/linux/ndctl.h       |   42 +++++++++++
 tools/testing/nvdimm/test/nfit.c |   46 ++++++++----
 9 files changed, 275 insertions(+), 50 deletions(-)
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

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

end of thread, other threads:[~2016-05-06 14:52 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-29  2:42 [PATCH v11 0/5] libnvidmm, nfit: dimm command marshaling Dan Williams
2016-04-29  2:42 ` Dan Williams
2016-04-29  2:42 ` [PATCH v11 1/5] nfit, libnvdimm: clarify "commands" vs "_DSMs" Dan Williams
2016-04-29  2:42   ` Dan Williams
2016-05-05 16:24   ` Jerry Hoemann
2016-05-05 16:24     ` Jerry Hoemann
2016-05-05 23:38     ` Dan Williams
2016-05-05 23:38       ` Dan Williams
2016-04-29  2:42 ` [PATCH v11 2/5] nfit, libnvdimm: limited/whitelisted dimm command marshaling mechanism Dan Williams
2016-04-29  2:42   ` Dan Williams
2016-05-05 18:01   ` Jerry Hoemann
2016-05-05 18:01     ` Jerry Hoemann
2016-05-05 23:44     ` Dan Williams
2016-05-05 23:44       ` Dan Williams
2016-05-06 14:52   ` Linda Knippers
2016-05-06 14:52     ` Linda Knippers
2016-04-29  2:42 ` [PATCH v11 3/5] nfit: disable vendor specific commands Dan Williams
2016-04-29  2:42   ` Dan Williams
2016-04-29  2:42 ` [PATCH v11 4/5] tools/testing/nvdimm: ND_CMD_CALL support Dan Williams
2016-04-29  2:42   ` Dan Williams
2016-04-29  2:42 ` [PATCH v11 5/5] nfit: add sysfs dimm 'family' and 'dsm_mask' attributes Dan Williams
2016-04-29  2:42   ` Dan Williams
2016-05-05 16:25   ` Jerry Hoemann
2016-05-05 16:25     ` Jerry Hoemann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.