From mboxrd@z Thu Jan 1 00:00:00 1970 From: krisman@linux.vnet.ibm.com (Gabriel Krisman Bertazi) Date: Mon, 14 Nov 2016 11:21:18 -0200 Subject: [PATCH] NVMe: Call nvme_pci_disable on error path of nvme_probe_work In-Reply-To: <62459369-5c23-8819-d360-58892b4ff1fc@amazon.com> (Rashika Kheria's message of "Mon, 14 Nov 2016 09:57:27 +0100") References: <20161101152756.GA32044@ub8ca3ab5e3235612a6d0.ant.amazon.com> <20161112174133.GA10883@infradead.org> <62459369-5c23-8819-d360-58892b4ff1fc@amazon.com> Message-ID: <87lgwm42pd.fsf@linux.vnet.ibm.com> Rashika Kheria writes: > Hi everyone, > > Could you please review the following patch? This solves a regression in > stable 4.4.y tree. > > > On 11/12/16 18:41, Christoph Hellwig wrote: >> Bouncing to Keith and linux-nvme >> >> On Tue, Nov 01, 2016@04:27:56PM +0100, Rashika Kheria wrote: >>> Commit d5537e988eec ("NVMe: Don't unmap controller registers on reset"), >>> introduced a regression in which it did not replace nvme_dev_unmap() >>> with nvme_pci_disable() in the error path of nvme_probe_work(). >>> Hmm, the original commit had the same issue, which I think was fixed upstream by f58944e265d4 ("NVMe: Simplify device reset failure"), which was included in 4.5-rc7. Isn't the upstream commit a better candidate for -stable? It's a bit larger but the commit message says it may prevent other issues too. -- Gabriel Krisman Bertazi