nvdimm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [ndctl PATCH v2 0/4] add the support for NVDIMM_FAMILY_HYPERV
@ 2019-02-20  5:10 Dexuan Cui
  0 siblings, 0 replies; only message in thread
From: Dexuan Cui @ 2019-02-20  5:10 UTC (permalink / raw)
  To: Dave Jiang, Vishal Verma, Dan Williams,
	linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw, Michael Kelley,
	qi.fuli-LMvhtfratI1BDgjK7y7TUQ, Johannes Thumshirn


NVDIMM_FAMILY_HYPERV has been supported on this branch of the kernel:
https://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm.git/log/?h=libnvdimm-pending

Now, let's add the ndctl part as well.

Patch 0001 and 0002 have been posted on Feb 5, and this is just a resend. 

Patch 0003 and 0004 are a split version of the single patch I posted on Feb 14.
In v2, I split the single patch into 2 separate patches for easy review, and I
also added an explicit warning if the user specifies unsupported events for
"ndctl monitor". Thanks Qi Fuli for the suggestion, and thanks 
Johannes Thumshirn for reviewing the patch!

Please review the new patchset. Thanks!

Dexuan Cui (4):
  libndctl: add support for NVDIMM_FAMILY_HYPERV's _DSM Function 1
  libndctl: NVDIMM_FAMILY_HYPERV: add .smart_get_shutdown_count
    (Function 2)
  ndctl, lib: implement ndctl_dimm_get_cmd_family()
  ndctl, monitor: support NVDIMM_FAMILY_HYPERV

 ndctl/lib/Makefile.am  |   1 +
 ndctl/lib/hyperv.c     | 177 +++++++++++++++++++++++++++++++++++++++++
 ndctl/lib/hyperv.h     |  58 ++++++++++++++
 ndctl/lib/libndctl.c   |   7 ++
 ndctl/lib/libndctl.sym |   1 +
 ndctl/lib/private.h    |   3 +
 ndctl/libndctl.h       |   1 +
 ndctl/monitor.c        |  42 ++++++++--
 ndctl/ndctl.h          |   1 +
 9 files changed, 284 insertions(+), 7 deletions(-)
 create mode 100644 ndctl/lib/hyperv.c
 create mode 100644 ndctl/lib/hyperv.h

-- 
2.19.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-20  5:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-20  5:10 [ndctl PATCH v2 0/4] add the support for NVDIMM_FAMILY_HYPERV Dexuan Cui

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