The following series implements support for DIMM firmware update in ndctl.

v4: Addressed Vishal's comments
- replaced copyright header
- changed gettimeofday to clock_gettime
- changed return error for verify_fw_size()

v3: Addressed Dan's comments
- Removed Intel specific bits from update get info. 
- Added inherited context for related commands
- Moved all input params into new_cmd function.
- Added translated status return

---

Dave Jiang (4):
      ndctl: add support to alloc_intel_cmd for variable payload
      ndctl: add firmware download support functions in libndctl
      ndctl: add firmware update command option for ndctl
      ndctl, test: firmware update unit test


 Documentation/ndctl/Makefile.am               |    1 
 Documentation/ndctl/ndctl-update-firmware.txt |   18 +
 builtin.h                                     |    1 
 ndctl/Makefile.am                             |    3 
 ndctl/lib/Makefile.am                         |    1 
 ndctl/lib/firmware.c                          |  119 ++++++
 ndctl/lib/intel.c                             |  264 ++++++++++++
 ndctl/lib/intel.h                             |   77 ++++
 ndctl/lib/libndctl.sym                        |   15 +
 ndctl/lib/private.h                           |   16 +
 ndctl/libndctl.h                              |   36 ++
 ndctl/ndctl.c                                 |    1 
 ndctl/update.c                                |  534 +++++++++++++++++++++++++
 test/Makefile.am                              |    3 
 test/firmware-update.sh                       |   74 +++
 15 files changed, 1160 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/ndctl/ndctl-update-firmware.txt
 create mode 100644 ndctl/lib/firmware.c
 create mode 100644 ndctl/update.c
 create mode 100755 test/firmware-update.sh

--
Signature
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to