From: Marc Zyngier <marc.zyngier@arm.com>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Jason Cooper <jason@lakedaemon.net>,
<linux-kernel@vger.kernel.org>, <tomli@tomli.me>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Ralf Baechle <ralf@linux-mips.org>,
Paul Burton <paul.burton@mips.com>,
James Hogan <jhogan@kernel.org>
Subject: Re: [PATCH] irqchip/i8259: fix shutdown order by moving syscore_ops registration
Date: Thu, 14 Feb 2019 10:43:06 +0000 [thread overview]
Message-ID: <86r2caslad.wl-marc.zyngier@arm.com> (raw)
In-Reply-To: <20190207205812.GA11315@darkstar.musicnaut.iki.fi>
On Thu, 07 Feb 2019 20:58:12 +0000,
Aaro Koskinen <aaro.koskinen@iki.fi> wrote:
>
> Hi,
>
> On Thu, Feb 07, 2019 at 08:56:37AM +0000, Marc Zyngier wrote:
> > On 06/02/2019 21:26, Aaro Koskinen wrote:
> > > static void init_8259A(int auto_eoi)
> > > {
> > > unsigned long flags;
> > > @@ -332,6 +324,7 @@ struct irq_domain * __init __init_i8259_irqs(struct device_node *node)
> > > panic("Failed to add i8259 IRQ domain");
> > >
> > > setup_irq(I8259A_IRQ_BASE + PIC_CASCADE_IR, &irq2);
> > > + register_syscore_ops(&i8259_syscore_ops);
> > > return domain;
> > > }
> > >
> > >
> >
> > Given that this is a change of behaviour that is likely to affect other
> > platforms (I see at least another 6 MIPS machines using the i8259),
> > could someone make sure that this doesn't cause any regression? This is
> > unlikely to affect the SGI boxes, as they predate any notion of power
> > management, but something like Malta could potentially be affected.
>
> For shutdown, I don't think there are many syscore_ops users on these
> platforms. Actually I could find only two that I think could be used:
> - cpufreq (issue fixed by this patch, and Loongson is the only user
> anyway)
> - leds-trigger
>
> Then suspend/resume: i8259 doesn't implement suspend, so there is no
> change in behaviour. In resume it does PIC re-init, but syscore_resume()
> is done with interrupts disabled so the order shouldn't matter.
In the absence of any comment from the MIPS guys over the past week,
I've queued this. Please let me know should it break anything.
Thanks,
M.
--
Jazz is not dead, it just smell funny.
next prev parent reply other threads:[~2019-02-14 10:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-06 21:26 Aaro Koskinen
2019-02-07 8:56 ` Marc Zyngier
2019-02-07 20:58 ` Aaro Koskinen
2019-02-14 10:43 ` Marc Zyngier [this message]
2019-02-14 18:43 ` Paul Burton
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=86r2caslad.wl-marc.zyngier@arm.com \
--to=marc.zyngier@arm.com \
--cc=aaro.koskinen@iki.fi \
--cc=jason@lakedaemon.net \
--cc=jhogan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul.burton@mips.com \
--cc=rafael@kernel.org \
--cc=ralf@linux-mips.org \
--cc=tglx@linutronix.de \
--cc=tomli@tomli.me \
/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
all inboxes | Powered by JetHome®