mbox series

[ndctl,v2,0/4] add the support for NVDIMM_FAMILY_HYPERV

Message ID PU1P153MB01692C7450B6CF3AC19F8FACBF7D0@PU1P153MB0169.APCP153.PROD.OUTLOOK.COM (mailing list archive)
Headers show
Series add the support for NVDIMM_FAMILY_HYPERV | expand

Message

Dexuan Cui Feb. 20, 2019, 5:10 a.m. UTC
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