Spdk/test
Jim Harris 32e22643ef nvme: add NVME_QUIRK_DELAY_BEFORE_INIT quirk
Currently we *always* wait 2 seconds before starting
controller initialization during attach.  This
works around an issue where some older Intel NVMe SSDs
could not handle MMIO writes too soon after a PCIe
FLR (which would be triggered when VFIO was enabled).

After further discussion with Intel experts, we know
the SSD models that exhibit this issue.  So we can
quirk this so that only the older SSDs incur the extra
delay.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ieb408c24f6afd5bd5147d1c87239aa20f2d13511

Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466064
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
2019-08-26 17:35:06 +00:00
..
app lib: move trace_rpc into lib/trace 2019-08-19 06:10:30 +00:00
bdev lib: move trace_rpc into lib/trace 2019-08-19 06:10:30 +00:00
blobfs test/rocksdb: remove run_tests.sh 2019-07-05 12:13:16 +00:00
blobstore RPC: rename RPC aio_bdev series 2019-08-20 22:44:20 +00:00
common mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
compress RPC: rename RPC compress_bdev series 2019-08-20 22:44:42 +00:00
config_converter RPC: rename RPC aio_bdev series 2019-08-20 22:44:20 +00:00
cpp_headers Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
env ut/cunit: added missing semicolon on CU_ASSERT macros 2019-07-24 18:21:22 +00:00
event notify: add notification library 2019-03-29 21:15:14 +00:00
ftl test: use single quotes in trap instruction 2019-08-14 02:20:45 +00:00
fuzz scripts/rpc: Change rpc construct_malloc_bdev to bdev_malloc_create 2019-08-14 22:15:08 +00:00
ioat test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
iscsi_tgt test/iscsi_tgt: fix trace_record rare failure 2019-08-22 15:44:22 +00:00
json_config RPC: rename rpc clone_lvol_bdev to bdev_lvol_clone 2019-08-23 22:36:28 +00:00
lvol RPC: rename rcp rename_lvol_bdev to bdev_lvol_rename 2019-08-23 22:36:28 +00:00
nvme test: move get_nvme_name_from_bdf function to autotest_common.sh 2019-08-14 21:24:58 +00:00
nvmf RPC: rename rpc clone_lvol_bdev to bdev_lvol_clone 2019-08-23 22:36:28 +00:00
ocf scripts/rpc: Change rpc construct_malloc_bdev to bdev_malloc_create 2019-08-14 22:15:08 +00:00
openstack test/openstack: Fix. Assign nvmfpid var as it is used in nvmftestfini 2019-08-08 22:58:35 +00:00
pmem scripts: use -n instead of ! -z 2019-08-08 21:27:40 +00:00
rpc_client jsonrpc: tolerate null json value for parameters in json-rpc call 2019-07-26 19:30:57 +00:00
spdkcli scripts: use -n instead of ! -z 2019-08-08 21:27:40 +00:00
unit nvme: add NVME_QUIRK_DELAY_BEFORE_INIT quirk 2019-08-26 17:35:06 +00:00
vhost test/fuzz: remove shm file during cleanup. 2019-08-23 17:31:47 +00:00
vmd test: use single quotes in trap instruction 2019-08-14 02:20:45 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00