From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3] irqchip/gic-v3: Ensure GICR_CTLR.EnableLPI=0 is observed before enabling
Date: Tue, 19 Jun 2018 15:46:35 +0100 [thread overview]
Message-ID: <86tvpy7s1g.wl-marc.zyngier@arm.com> (raw)
In-Reply-To: <8898674D84E3B24BA3A2D289B872026A69F37935@G01JPEXMBKW03>
Hi Lei,
On Tue, 19 Jun 2018 15:14:27 +0100,
"Zhang, Lei" <zhang.lei@jp.fujitsu.com> wrote:
>
> Hi shankerd, Marc
>
> I have one question.
>
> Does it means after GICR_CTLR.EnableLPI has been written to 1,
> if the bit GICR_CTLR.EnableLPI becomes RES1, we can't use LPIs?
> Because its_cpu_init_lpis and its_cpu_init_collections will not be called.
There are two issues:
- If EnableLPI is already set to 1, your redistributors are already
potentially corrupting the memory by writing to the pending
tables. Your system is now potentially unstable (single bit
corruption, depending on what the ITS outputs).
- If EnableLPI has become RES1, you cannot even turn it off to
reprogram things so that the property and pending tables are under
your control.
At that stage, your system is in a very bad shape, and LPIs are the
least of your problems.
Thanks,
M.
--
Jazz is not dead, it just smell funny.
next prev parent reply other threads:[~2018-06-19 14:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-22 1:58 [PATCH v3] irqchip/gic-v3: Ensure GICR_CTLR.EnableLPI=0 is observed before enabling Shanker Donthineni
2018-03-22 1:58 ` Shanker Donthineni
2018-03-22 15:51 ` Marc Zyngier
2018-03-22 15:51 ` Marc Zyngier
2018-03-22 19:41 ` Shanker Donthineni
2018-03-22 19:41 ` Shanker Donthineni
2018-03-23 9:19 ` Marc Zyngier
2018-03-23 9:19 ` Marc Zyngier
2018-06-19 14:14 ` Zhang, Lei
2018-06-19 14:46 ` Marc Zyngier [this message]
2018-06-21 10:57 ` Zhang, Lei
2018-06-21 12:02 ` Marc Zyngier
2018-06-26 14:53 ` Marc Zyngier
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=86tvpy7s1g.wl-marc.zyngier@arm.com \
--to=marc.zyngier@arm.com \
--cc=linux-arm-kernel@lists.infradead.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.