Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2017 21:38:29 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r322901 - head/sys/dev/nvme
Message-ID:  <201708252138.v7PLcTs1088390@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708252138.v7PLcTs1088390>