Re: [RESEND][PATCH] ata: ahci: Add shutdown to freeze hardware resources of ahci

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

 



On Tue, Feb 18, 2020 at 10:11 AM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, Feb 17, 2020 at 06:28:02PM -0800, Prabhakar Kushwaha wrote:
> > device_shutdown() called from reboot or power_shutdown expect
> > all devices to be shutdown. Same is true for even ahci pci driver.
> > As no ahci shutdown function is implemented, the ata subsystem
> > always remains alive with DMA & interrupt support. File system
> > related calls should not be honored after device_shutdown().
> >
> > So defining ahci pci driver shutdown to freeze hardware (mask
> > interrupt, stop DMA engine and free DMA resources).
> >
> > Signed-off-by: Prabhakar Kushwaha <pkushwaha@xxxxxxxxxxx>
> > Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
> > ---
> >
> > This problem has also been seen on older kernel. So sending to stable@xxxxxxxxxxxxxxx
> > Note: It is already applied to git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > with commit id: 10a663a1b151 ("ata: ahci: Add shutdown to freeze hardware resources of ahci")
>
> So what kernel(s) do you wish to have this commit backported to?
>

Sorry for the late reply.  This patch should be back-ported to
following kernels versions
4.9, 4.14, 4.19, 5.4 and 5.5

--pk



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

  Powered by Linux