From: Sachin Sant <sachinp@linux.ibm.com>
To: Nicholas Piggin <npiggin@gmail.com>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [merge] WARN arch/powerpc/kernel/irq_64.c:278
Date: Sun, 5 Feb 2023 21:09:07 +0530 [thread overview]
Message-ID: <AD613C6A-769E-461E-9953-AA76DAD900B2@linux.ibm.com> (raw)
In-Reply-To: <CQ8USYNS32BA.37RU0GOQ2LO7M@bobo>
> On 03-Feb-2023, at 3:55 PM, Nicholas Piggin <npiggin@gmail.com> wrote:
>
> On Fri Feb 3, 2023 at 4:26 PM AEST, Sachin Sant wrote:
>> I am observing an intermittent crash while running powerpc/security
>> selftests on a Power10 LPAR booted with powerpc/merge branch code.
>>
>> ------------[ cut here ]------------
>> WARNING: CPU: 1 PID: 5644 at arch/powerpc/kernel/irq_64.c:278 arch_local_irq_restore+0x254/0x260
>
> Okay, I guess the static branch test changes from true to false both
> times it is tested and so it doesn't recover properly. It's a real bug.
> I don't know why I didn't change the static branch under stop machine,
> maybe it gets into some recursive issue, that would be ideal if we could
> though. But this might be a safer minimal fix?
>
> Thanks,
> Nick
> —
>
Thanks Nick. Since this failure was intermittent I ran the test 10 times
with and without this patch.
Without the patch failure rate was 3 out of 10
With the patch no failures were seen (0/10).
I also ran the remaining selftests and observed no additional failures.
Based on these tests this fixes the problem for me.
- Sachin
prev parent reply other threads:[~2023-02-05 15:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-03 6:26 [merge] WARN arch/powerpc/kernel/irq_64.c:278 Sachin Sant
2023-02-03 10:25 ` Nicholas Piggin
2023-02-05 15:39 ` Sachin Sant [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=AD613C6A-769E-461E-9953-AA76DAD900B2@linux.ibm.com \
--to=sachinp@linux.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=npiggin@gmail.com \
/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