LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Shrikanth Hegde <sshegde@linux.ibm.com>
To: Venkat Rao Bagalkote <venkat88@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: Tue, 4 Aug 2026 20:23:22 +0530	[thread overview]
Message-ID: <e27eeaf4-c2c9-4ef7-9e1c-0a5fb45755d0@linux.ibm.com> (raw)
In-Reply-To: <96dae110-f79b-4e54-8a9b-514369019b5d@linux.ibm.com>

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?

> 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"

> 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.



  reply	other threads:[~2026-08-04 14:53 UTC|newest]

Thread overview: 5+ 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 [this message]
2026-08-10 11:49   ` Venkat Rao Bagalkote
2026-08-11  6:07     ` Mukesh Kumar Chaurasiya
2026-08-11 12:46       ` Mukesh Kumar Chaurasiya

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=e27eeaf4-c2c9-4ef7-9e1c-0a5fb45755d0@linux.ibm.com \
    --to=sshegde@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=venkat88@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