From: Marc Zyngier <maz@kernel.org>
To: Kevin Rowland <kevin.p.rowland@gmail.com>
Cc: Bjorn Helgaas <helgaas@kernel.org>,
linux-pci@vger.kernel.org, Thomas Gleixner <tglx@linutronix.de>,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
Krishna Chaitanya Chundru <quic_krichai@quicinc.com>
Subject: Re: ARMv8 SError, panic around msi_set_mask_bit during suspend-to-RAM
Date: Fri, 30 Sep 2022 13:53:14 +0100 [thread overview]
Message-ID: <86h70paurp.wl-maz@kernel.org> (raw)
In-Reply-To: <CAHK3GzyU6k1eROfzFFj7AZSwnaJ=kqw6Budz=HibiqxmtAGBmQ@mail.gmail.com>
On Thu, 29 Sep 2022 21:07:50 +0100,
Kevin Rowland <kevin.p.rowland@gmail.com> wrote:
>
> On Thu, Sep 29, 2022 at 2:08 AM Marc Zyngier <maz@kernel.org> wrote:
> >
> > On Wed, 28 Sep 2022 17:56:01 -0400,
> > Bjorn Helgaas <helgaas@kernel.org> wrote:
> > >
> > > > At this point I'm wondering why we mask MSIs so late in the suspend
> > > > process (right when the last non-boot CPU is taken offline). Shouldn't
> > > > we disable/mask these IRQs as part of host controller suspend?
> >
> > This is what we do for *all* interrupts. The question is really
> > whether there is any form of PM involved when accessing the device
> > implementing the masking.
> I'm afraid I didn't understand this part. What is it that we do for
> all interrupts? Mask them when the last CPU in their affinity mask is
> taken offline, or mask them as part of the suspend process of the
> owning device?
Sorry, I wasn't clear at all: *managed* interrupts (which are per-CPU
interrupts) are disabled when the corresponding CPU goes down. If you
have some extra logic to pull the plug on the RC when the last CPU
goes away, it must happen after this disabling phase.
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
next prev parent reply other threads:[~2022-09-30 12:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 19:01 ARMv8 SError, panic around msi_set_mask_bit during suspend-to-RAM Kevin Rowland
2022-09-28 21:56 ` Bjorn Helgaas
2022-09-29 9:08 ` Marc Zyngier
2022-09-29 20:07 ` Kevin Rowland
2022-09-30 12:53 ` Marc Zyngier [this message]
2022-09-29 10:07 ` Manivannan Sadhasivam
2022-09-29 20:22 ` Kevin Rowland
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=86h70paurp.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=helgaas@kernel.org \
--cc=kevin.p.rowland@gmail.com \
--cc=linux-pci@vger.kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=quic_krichai@quicinc.com \
--cc=tglx@linutronix.de \
/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