Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153385132
D43600.id133519.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
509 B
Referenced Files
None
Subscribers
None
D43600.id133519.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
@@ -1065,7 +1065,7 @@
* cleared to 0h produces undefined results" for both ACQS and
* ASQS. If zero, set CFS and do not become ready.
*/
- asqs = ONE_BASED(sc->regs.aqa & NVME_AQA_REG_ASQS_MASK);
+ asqs = ONE_BASED(NVMEV(NVME_AQA_REG_ASQS, sc->regs.aqa));
if (asqs < 2) {
EPRINTLN("%s: illegal ASQS value %#x (aqa=%#x)", __func__,
asqs - 1, sc->regs.aqa);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 8:39 PM (9 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31878687
Default Alt Text
D43600.id133519.diff (509 B)
Attached To
Mode
D43600: bhyve: Use NVMEV to read the ASQS field of AQA
Attached
Detach File
Event Timeline
Log In to Comment