All of lore.kernel.org
 help / color / mirror / Atom feed
From: Prabhakar Kushwaha <prabhakar.pkin@gmail.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: Prabhakar Kushwaha <pkushwaha@marvell.com>,
	stable@vger.kernel.org, Jens Axboe <axboe@kernel.dk>,
	Ganapatrao Prabhakerrao Kulkarni <gkulkarni@marvell.com>,
	Kamlakant Patel <kamlakantp@marvell.com>
Subject: Re: [RESEND][PATCH] ata: ahci: Add shutdown to freeze hardware resources of ahci
Date: Sat, 22 Feb 2020 09:52:27 +0530	[thread overview]
Message-ID: <CAJ2QiJLOqAFGN9UPWb0jGBE8mRvTsY3RufTt3fu2H_au6iA77A@mail.gmail.com> (raw)
In-Reply-To: <20200218044136.GB2046752@kroah.com>

On Tue, Feb 18, 2020 at 10:11 AM Greg KH <gregkh@linuxfoundation.org> 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@marvell.com>
> > Signed-off-by: Jens Axboe <axboe@kernel.dk>
> > ---
> >
> > This problem has also been seen on older kernel. So sending to stable@vger.kernel.org
> > 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

  reply	other threads:[~2020-02-22  4:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18  2:28 [RESEND][PATCH] ata: ahci: Add shutdown to freeze hardware resources of ahci Prabhakar Kushwaha
2020-02-18  4:41 ` Greg KH
2020-02-22  4:22   ` Prabhakar Kushwaha [this message]
2020-02-27 12:50     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ2QiJLOqAFGN9UPWb0jGBE8mRvTsY3RufTt3fu2H_au6iA77A@mail.gmail.com \
    --to=prabhakar.pkin@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=gkulkarni@marvell.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kamlakantp@marvell.com \
    --cc=pkushwaha@marvell.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.