From: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
To: Shrikanth Hegde <sshegde@linux.ibm.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
"Mukesh Kumar Chaurasiya (IBM)" <mkchauras@gmail.com>,
Madhavan Srinivasan <maddy@linux.ibm.com>,
"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
Peter Zijlstra <peterz@infradead.org>
Subject: Re: [REGRESSION] Power9 pseries boot hang in v7.2-rc6, narrowed to PowerPC GENERIC_ENTRY conversion window
Date: Mon, 10 Aug 2026 17:19:27 +0530 [thread overview]
Message-ID: <6d1b5f38-f4e4-46ca-88b4-7c18dd6c6280@linux.ibm.com> (raw)
In-Reply-To: <e27eeaf4-c2c9-4ef7-9e1c-0a5fb45755d0@linux.ibm.com>
Hi Shrikanth,
On 04/08/26 8:23 pm, Shrikanth Hegde wrote:
> Hi Venkat.
>
> On 8/4/26 2:04 PM, Venkat Rao Bagalkote wrote:
>> Hi,
>>
>> I'm seeing a boot regression on a Power9 pseries LPAR. The system
>> hangs very early during boot after:
>>
>> Quiescing Open Firmware ...
>> Booting Linux via __start() ...
>>
>
> That is strange. not sure where to look at without any logs.
> Is it a specific config that fails or this specific LPAR that fails?
>
>> No further kernel output is produced.
>>
>> Known good:8cd9520d35a6 ("Linux 7.1")
>> Known bad: 075b74841bd0 ("Linux 7.2-rc6")
>>
>
> Is the kernel built correct at 075b74841bd0 without any errors?
The known bad revision 075b74841bd0 ("Linux 7.2-rc6") builds
successfully with my configuration and the issue is observed at boot
time only.
>
>> Initial bisect:
>>
>> A full bisect from v7.1 to v7.2-rc6 converged to:
>>
>> c5e8e224eb7a
>> MIPS: RB532: attach the software node to its target GPIO controller
>>
>>
>> However this commit only modifies:
>>
>> arch/mips/rb532/devices.c
>> arch/mips/rb532/gpio.c
>>
>> and appears unrelated to a Power9/pseries boot hang.
>>
>> I then narrowed the investigation to the PowerPC pull.
>>
>> The following commits were tested and boot successfully:
>>
>> baa590018fbf powerpc: rename arch_irq_disabled_regs
>> dec63ea6faff powerpc: Prepare to build with generic entry/exit framework
>> 09a9d3a8499d powerpc: introduce arch_enter_from_user_mode
>> 893082ac769b powerpc: Prepare for IRQ entry exit
>>
>> The following commit reproduces the hang:
>>
>> 334f3f6d7a16 powerpc/entry: Disable interrupts before irqentry_exit
>>
>>
>>
>> Between the last known good and first known bad points:
>>
>>
>> 893082ac769b powerpc: Prepare for IRQ entry exit
>> ...
>> bee25f97ad24 powerpc: Enable GENERIC_ENTRY feature
>> ...
>> 334f3f6d7a16 powerpc/entry: Disable interrupts before irqentry_exit
>>
>>
>> The only substantial architectural/runtime change in this window
>> appears to be:
>>
>> bee25f97ad24 powerpc: Enable GENERIC_ENTRY feature
>>
>>
>>
>> I attempted to test:
>>
>> bee25f97ad24 powerpc: Enable GENERIC_ENTRY feature
>>
>> directly, however that commit does not build with my configuration
>> due to:
>>
>> arch/powerpc/kernel/ptrace/ptrace.c
>>
>> error: implicit declaration of function 'trace_sys_enter'
>> error: implicit declaration of function 'trace_sys_exit'
>>
>> Therefore I could not directly classify bee25f97ad24 as good or bad.
>>
>>
>
> Can you try one commit after this and see if it builds?
> i.e "powerpc: Remove unused functions"
>
I tested:
6ed60999d33d ("powerpc: Remove unused functions")
The kernel builds successfully with my configuration, but the system
still hangs during boot on the Power9 pseries LPAR after:
Quiescing Open Firmware ...
Booting Linux via __start() ...
with no further output.
So currently I have:
893082ac769b ("powerpc: Prepare for IRQ entry exit") GOOD
bee25f97ad24 ("powerpc: Enable GENERIC_ENTRY feature") UNTESTABLE
6ed60999d33d ("powerpc: Remove unused functions") BAD
Given that 6ed60999d33d builds and reproduces the hang, the regression
appears to be present immediately after the introduction of GENERIC_ENTRY.
Regards,
Venkat.
>> Please let me know if there are specific debug patches or boot
>> parameters you'd like me to test.
>>
>>
>> Attached is the config file I used.
>>
>>
>> Regards,
>>
>> Venkat.
>
>
next prev parent reply other threads:[~2026-08-10 11:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-04 8:34 [REGRESSION] Power9 pseries boot hang in v7.2-rc6, narrowed to PowerPC GENERIC_ENTRY conversion window Venkat Rao Bagalkote
2026-08-04 14:53 ` Shrikanth Hegde
2026-08-10 11:49 ` Venkat Rao Bagalkote [this message]
2026-08-11 6:07 ` Mukesh Kumar Chaurasiya
2026-08-11 12:46 ` Mukesh Kumar Chaurasiya
2026-08-12 5:16 ` Venkat Rao Bagalkote
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=6d1b5f38-f4e4-46ca-88b4-7c18dd6c6280@linux.ibm.com \
--to=venkat88@linux.ibm.com \
--cc=chleroy@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.ibm.com \
--cc=mkchauras@gmail.com \
--cc=peterz@infradead.org \
--cc=sshegde@linux.ibm.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