Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102847026
D36192.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
527 B
Referenced Files
None
Subscribers
None
D36192.id.diff
View Options
diff --git a/usr.sbin/bhyve/pci_nvme.c b/usr.sbin/bhyve/pci_nvme.c
--- a/usr.sbin/bhyve/pci_nvme.c
+++ b/usr.sbin/bhyve/pci_nvme.c
@@ -560,6 +560,10 @@
cd->wctemp = 0x0157;
cd->cctemp = 0x0157;
+ /* SANICAP must not be 0 for Revision 1.4 and later NVMe Controllers */
+ cd->sanicap = (NVME_CTRLR_DATA_SANICAP_NODMMAS_NO <<
+ NVME_CTRLR_DATA_SANICAP_NODMMAS_SHIFT);
+
cd->sqes = (6 << NVME_CTRLR_DATA_SQES_MAX_SHIFT) |
(6 << NVME_CTRLR_DATA_SQES_MIN_SHIFT);
cd->cqes = (4 << NVME_CTRLR_DATA_CQES_MAX_SHIFT) |
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 10:44 PM (6 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14705980
Default Alt Text
D36192.id.diff (527 B)
Attached To
Mode
D36192: bhyve nvme: Fix reported SANICAP value
Attached
Detach File
Event Timeline
Log In to Comment