NVMe: Add pci error handlers
authorKeith Busch <keith.busch@intel.com>
Mon, 7 Dec 2015 22:30:31 +0000 (15:30 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 22 Dec 2015 17:09:06 +0000 (10:09 -0700)
commita0a3408ee614848c27b0d36c2fe490da3b387b8d
tree2b045db6bf91c40535e2d49b3b923d779f60834c
parentbbc758ec04c2f30805ce0fcdfbaa4c3445fafbae
NVMe: Add pci error handlers

Requests enabling pcie aer support. Shuts down the controller on error
detected with io frozen state prior to requesting slot reset; resumes
controller after reset completes.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c