Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102906473
D42049.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
892 B
Referenced Files
None
Subscribers
None
D42049.diff
View Options
diff --git a/sys/conf/options b/sys/conf/options
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -999,7 +999,6 @@
# NVME options
NVME_USE_NVD opt_nvme.h
-NVME_2X_RESET opt_nvme.h
# amdsbwd options
AMDSBWD_DEBUG opt_amdsbwd.h
diff --git a/sys/dev/nvme/nvme_ctrlr.c b/sys/dev/nvme/nvme_ctrlr.c
--- a/sys/dev/nvme/nvme_ctrlr.c
+++ b/sys/dev/nvme/nvme_ctrlr.c
@@ -1145,18 +1145,6 @@
return;
}
-#ifdef NVME_2X_RESET
- /*
- * Reset controller twice to ensure we do a transition from cc.en==1 to
- * cc.en==0. This is because we don't really know what status the
- * controller was left in when boot handed off to OS. Linux doesn't do
- * this, however, and when the controller is in state cc.en == 0, no
- * I/O can happen.
- */
- if (nvme_ctrlr_hw_reset(ctrlr) != 0)
- goto fail;
-#endif
-
nvme_qpair_reset(&ctrlr->adminq);
nvme_admin_qpair_enable(&ctrlr->adminq);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 2:18 PM (20 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14718006
Default Alt Text
D42049.diff (892 B)
Attached To
Mode
D42049: nvme: Really remove NVME_2X_RESET
Attached
Detach File
Event Timeline
Log In to Comment