svn commit: r362764 - head/usr.sbin/bhyve
Chuck Tuffli
chuck at FreeBSD.org
Mon Jun 29 00:33:11 UTC 2020
Author: chuck
Date: Mon Jun 29 00:32:18 2020
New Revision: 362764
URL: https://svnweb.freebsd.org/changeset/base/362764
Log:
bhyve: fix NVMe Get Features, Predictable Latency
If the Predictable Latency Mode is not supported, NVMe Controllers must
return Invalid Field in Command status for the Get Features command
with IDs:
- Predictable Latency Mode Config
- Predictable Latency Mode Window
Fixes UNH Tests 3.6
Tested by: Jason Tubnor
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D24899
Modified:
head/usr.sbin/bhyve/pci_nvme.c
Modified: head/usr.sbin/bhyve/pci_nvme.c
==============================================================================
--- head/usr.sbin/bhyve/pci_nvme.c Mon Jun 29 00:32:15 2020 (r362763)
+++ head/usr.sbin/bhyve/pci_nvme.c Mon Jun 29 00:32:18 2020 (r362764)
@@ -618,6 +618,10 @@ pci_nvme_init_features(struct pci_nvme_softc *sc)
sc->feat[NVME_FEAT_NUMBER_OF_QUEUES].set = nvme_feature_num_queues;
sc->feat[NVME_FEAT_INTERRUPT_VECTOR_CONFIGURATION].set =
nvme_feature_iv_config;
+ sc->feat[NVME_FEAT_PREDICTABLE_LATENCY_MODE_CONFIG].get =
+ nvme_feature_invalid_cb;
+ sc->feat[NVME_FEAT_PREDICTABLE_LATENCY_MODE_WINDOW].get =
+ nvme_feature_invalid_cb;
}
static void
More information about the svn-src-all
mailing list