Re: [PATCH] NVMe: Don't unmap controller registers on reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/02/2016, 12:06 AM, Gabriel Krisman Bertazi wrote:
> From: Keith Busch <keith.busch@xxxxxxxxx>
> 
> Hi Greg,
> 
> This fix is particularly important for openpower systems, since their
> current petitboot kernel is based on the 4.4 tree.  It's a bit larger
> than usual for stable rules, but I wanna favor it instead of a custom
> patch.  We had it well tested over night on two POWER boxes without
> issues.
> 
> I'm CC'ing Keith for his awareness and feedback.
> 
> Can we get it merged for the next 4.4 stable release?
> 
> -- >8 --
> 
> Commit b00a726a9fd82ddd4c10344e46f0d371e1674303 upstream.

...

> @@ -2734,18 +2724,21 @@ static int nvme_dev_map(struct nvme_dev *dev)
>  
>  	return 0;
>  
> - unmap:
> -	iounmap(dev->bar);
> -	dev->bar = NULL;
>   disable:
>  	pci_release_regions(pdev);
> - disable_pci:
> -	pci_disable_device(pdev);

Is this a correct backport?

The original removes pci_release_regions, not pci_disable_device.

thanks,
-- 
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]