diff options
author | Laine Walker-Avina <laine.walker-avina@intel.com> | 2019-05-20 10:13:04 -0700 |
---|---|---|
committer | Keith Busch <keith.busch@intel.com> | 2019-05-21 09:01:37 -0600 |
commit | 2d466c7a574d0b893a233735f133c60115013c0e (patch) | |
tree | 8ae8e403a23d6d9c8e1b195de0d7d8e17ea0b751 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 510a405d945bc985abc513fafe45890cac34fafa (diff) |
nvme: copy MTFA field from identify controller
We use the controller's reported maximum firmware activation time as our
timeout before resetting a controller for a failed activation notice,
but this value was never being read so we could only use the default
timeout. Copy the Identify Controller MTFA field to the corresponding
nvme_ctrl's mtfa field.
Fixes: b6dccf7fae433 (“nvme: add support for FW activation without reset”).
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Minwoo Im <minwoo.im@samsung.com>
Signed-off-by: Laine Walker-Avina <laine.walker-avina@intel.com>
[changelog, fix endian]
Signed-off-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions