OSDN Git Service

nvme: add support for FW activation without reset
authorArnav Dawn <a.dawn@samsung.com>
Wed, 12 Jul 2017 10:40:40 +0000 (16:10 +0530)
committerChristoph Hellwig <hch@lst.de>
Mon, 28 Aug 2017 19:38:17 +0000 (21:38 +0200)
commitb6dccf7fae4331b0ea41cf087e3f02d5db9161dc
treedb9b0a9a59990b07642d6b9c61c022aa8ef99244
parentcd996fb47c360320cf25ac9503c16de085ea9cfc
nvme: add support for FW activation without reset

This patch adds support for handling Fw activation without reset
On completion of FW-activation-starting AER, all queues are
paused till CSTS.PP is cleared or timed out (exceeds max time for
fw activtion MTFA). If device fails to clear CSTS.PP within MTFA,
driver issues reset controller.

Signed-off-by: Arnav Dawn <a.dawn@samsung.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
include/linux/nvme.h