svn commit: r322901 - head/sys/dev/nvme

Warner Losh imp at FreeBSD.org
Fri Aug 25 21:38:31 UTC 2017


Author: imp
Date: Fri Aug 25 21:38:29 2017
New Revision: 322901
URL: https://svnweb.freebsd.org/changeset/base/322901

Log:
  Add feature codes from NVMe 1.3 specification:
  
  o Automomous Power State Transition
  o Host Memory Buffer
  o Timestamp
  o Keep Alive Timer
  o Host Controlled Thermal Management
  o Non-Operational Power State Config
  
  Also note that feature codes 0x78-0x7f are reserved for the NVMe
  Management Interface.
  
  Sponsored by: Netflix

Modified:
  head/sys/dev/nvme/nvme.h

Modified: head/sys/dev/nvme/nvme.h
==============================================================================
--- head/sys/dev/nvme/nvme.h	Fri Aug 25 19:41:38 2017	(r322900)
+++ head/sys/dev/nvme/nvme.h	Fri Aug 25 21:38:29 2017	(r322901)
@@ -397,7 +397,14 @@ enum nvme_feature {
 	NVME_FEAT_INTERRUPT_VECTOR_CONFIGURATION = 0x09,
 	NVME_FEAT_WRITE_ATOMICITY		= 0x0A,
 	NVME_FEAT_ASYNC_EVENT_CONFIGURATION	= 0x0B,
-	/* 0x0C-0x7F - reserved */
+	NVME_FEAT_AUTONOMOUS_POWER_STATE_TRANSITION = 0x0C,
+	NVME_FEAT_HOST_MEMORY_BUFFER		= 0x0D,
+	NVME_FEAT_TIMESTAMP			= 0x0E,
+	NVME_FEAT_KEEP_ALIVE_TIMER		= 0x0F,
+	NVME_FEAT_HOST_CONTROLLED_THERMAL_MGMT	= 0x10,
+	NVME_FEAT_NON_OP_POWER_STATE_CONFIG	= 0x11,
+	/* 0x12-0x77 - reserved */
+	/* 0x78-0x7f - NVMe Management Interface */
 	NVME_FEAT_SOFTWARE_PROGRESS_MARKER	= 0x80,
 	/* 0x81-0xBF - command set specific (reserved) */
 	/* 0xC0-0xFF - vendor specific */


More information about the svn-src-all mailing list