]> git.baikalelectronics.ru Git - kernel.git/commit
NVMe: Add nvme subsystem reset support
authorKeith Busch <keith.busch@intel.com>
Mon, 10 Aug 2015 21:20:40 +0000 (15:20 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 18 Aug 2015 17:56:11 +0000 (11:56 -0600)
commit04ff365fc659413d950406fb7197a1f7c8c0e1b4
tree7c04b5a9131d80100f2c0955fe783022af74dc96
parent3b737925fdc4875c8a03a1108e7b3428efa2fb99
NVMe: Add nvme subsystem reset support

Controllers part of an NVMe subsystem may be reset by any other controller
in the subsystem. If the device is capable of subsystem resets, this
patch adds detection for such events and performs appropriate controller
initialization upon subsystem reset detection.

The register bit is a RW1C type, so the driver needs to write a 1 to the
status bit to clear the subsystem reset occured bit during initialization.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c
include/linux/nvme.h