nvme: add support for NVMe 1.3 Timestamp Feature
authorJon Derrick <jonathan.derrick@intel.com>
Wed, 16 Aug 2017 07:51:29 +0000 (09:51 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 28 Aug 2017 19:38:18 +0000 (21:38 +0200)
commitdbf86b39005d26b21c52a23720e15fb850d71cdc
tree1d7d0d819fe95cc24dae0fe1641203edb71c1d59
parent62346eaeb2f1a0524b35eaa2f479596f40491165
nvme: add support for NVMe 1.3 Timestamp Feature

NVME's Timestamp feature allows controllers to be aware of the epoch
time in milliseconds. This patch adds the set features hook for various
transports through the identify path, so that resets and resumes can
update the controller as necessary.

Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
[hch: rebased on top of nvme-4.13 error handling changes,
      changed nvme_configure_timestamp to return the status]
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
include/linux/nvme.h