mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc Zyngier <marc.zyngier@arm.com>
To: Wei Li <liwei391@huawei.com>,
	tglx@linutronix.de, jason@lakedaemon.net, julien.thierry@arm.com
Cc: linux-kernel@vger.kernel.org, guohanjun@huawei.com,
	huawei.libin@huawei.com
Subject: Re: [PATCH] arm64: gic-v3: fix unexpected overwrite of spi/ppi/sgi prio
Date: Tue, 26 Mar 2019 09:18:39 +0000	[thread overview]
Message-ID: <aa6b390c-d39e-cdd6-363b-d5a20a4d6feb@arm.com> (raw)
In-Reply-To: <20190326081658.37450-1-liwei391@huawei.com>

On 26/03/2019 08:16, Wei Li wrote:
> The priority config will be restored to the default value in the
> notifiers of gic suspend. While the arm64 nmi-like interrupt has been
> implemented by using priority since commit bc3c03ccb464 ("arm64: Enable
> the support of pseudo-NMIs"), we need to do the save and restore exactly.
> 
> Signed-off-by: Wei Li <liwei391@huawei.com>
> ---
>  drivers/irqchip/irq-gic.c | 22 +++++++++++++++++++---
>  1 file changed, 19 insertions(+), 3 deletions(-)

You're complaining about an alleged bug in the GICv3 driver (which is
always possible), and yet you're submitting a change to the GICv{1,2}
driver, for which we don't support variable priorities.

How does this fix anything? How have you tested this patch? What is the
actual problem you're trying to paper over?

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...

      reply	other threads:[~2019-03-26  9:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-26  8:16 Wei Li
2019-03-26  9:18 ` Marc Zyngier [this message]

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=aa6b390c-d39e-cdd6-363b-d5a20a4d6feb@arm.com \
    --to=marc.zyngier@arm.com \
    --cc=guohanjun@huawei.com \
    --cc=huawei.libin@huawei.com \
    --cc=jason@lakedaemon.net \
    --cc=julien.thierry@arm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liwei391@huawei.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

all inboxes | Powered by JetHome®