linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Loic Poulain <loic.poulain@linaro.org>
To: Hemant Kumar <hemantk@codeaurora.org>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
	linux-arm-msm <linux-arm-msm@vger.kernel.org>,
	Jeffrey Hugo <jhugo@codeaurora.org>,
	Bhaumik Bhatt <bbhatt@codeaurora.org>
Subject: Re: [PATCH v4 06/10] mhi: pci_generic: Add suspend/resume/recovery procedure
Date: Mon, 14 Dec 2020 15:06:23 +0100	[thread overview]
Message-ID: <CAMZdPi9_A1oJpqJ1_oO1W19jnNeES=HaqDfBXiUqnz2TWcTTYw@mail.gmail.com> (raw)
In-Reply-To: <3fd3f60c-777c-2710-92ae-1c89cda1aa38@codeaurora.org>

On Fri, 11 Dec 2020 at 21:22, Hemant Kumar <hemantk@codeaurora.org> wrote:
>
> Hi Loic,
>
> On 12/10/20 2:02 AM, Loic Poulain wrote:
> > Add support for system wide suspend/resume. During suspend, MHI
> > device controller must be put in M3 state and PCI bus in D3 state.
> >
> > Add a recovery procedure allowing to reinitialize the device in case
> > of error during resume steps, which can happen if device loses power
> > (and so its context) while system suspend.
> >
> > Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
> > ---
> >[..]
> > +int  __maybe_unused mhi_pci_suspend(struct device *dev)
> suspend API is not static but resume is. Any reason for that ?

No, going to fix that, thanks.

  reply	other threads:[~2020-12-14 14:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-10 10:02 [PATCH v4 00/10] mhi: pci_generic: Misc improvements Loic Poulain
2020-12-10 10:02 ` [PATCH v4 01/10] mhi: Add mhi_controller_initialize helper Loic Poulain
2020-12-11 18:57   ` Hemant Kumar
     [not found]     ` <CAMZdPi8+UFmTOeivvZXefm-UHuN+v5zNJBQuZAOw0omiWY-ifw@mail.gmail.com>
2020-12-11 20:00       ` Hemant Kumar
2020-12-14 14:01         ` Loic Poulain
2020-12-10 10:02 ` [PATCH v4 02/10] bus: mhi: core: Add device hardware reset support Loic Poulain
2020-12-10 10:02 ` [PATCH v4 03/10] mhi: pci-generic: Increase number of hardware events Loic Poulain
2020-12-10 10:02 ` [PATCH v4 04/10] mhi: pci_generic: Enable burst mode for hardware channels Loic Poulain
2020-12-10 10:02 ` [PATCH v4 05/10] mhi: pci_generic: Add support for reset Loic Poulain
2020-12-11 20:15   ` Hemant Kumar
2020-12-14 14:04     ` Loic Poulain
2020-12-10 10:02 ` [PATCH v4 06/10] mhi: pci_generic: Add suspend/resume/recovery procedure Loic Poulain
2020-12-11 20:22   ` Hemant Kumar
2020-12-14 14:06     ` Loic Poulain [this message]
2020-12-10 10:02 ` [PATCH v4 07/10] mhi: pci_generic: Add PCI error handlers Loic Poulain
2020-12-11 20:25   ` Hemant Kumar
2020-12-10 10:02 ` [PATCH v4 08/10] mhi: pci_generic: Add health-check Loic Poulain
2020-12-10 10:02 ` [PATCH v4 09/10] mhi: pci_generic: Increase controller timeout value Loic Poulain
2020-12-10 10:02 ` [PATCH v4 10/10] mhi: pci_generic: Add diag channels Loic Poulain
2020-12-11 20:28   ` Hemant Kumar

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='CAMZdPi9_A1oJpqJ1_oO1W19jnNeES=HaqDfBXiUqnz2TWcTTYw@mail.gmail.com' \
    --to=loic.poulain@linaro.org \
    --cc=bbhatt@codeaurora.org \
    --cc=hemantk@codeaurora.org \
    --cc=jhugo@codeaurora.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=manivannan.sadhasivam@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).