Skip to contentSkip to conversation

New: [BISECTED] PCI MSI patch causes boot crash on HP Spectre x360 Convertible 14-ea0xxx

Bug 220658 Bjorn Helgaas 2 participants 3 messages Oct 16, 2025 1 message not in the archive PCI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

[+to linux-pci, just breadcrumbs to connect more dots,
+cc Inochi,
+bcc Hervé D., feel free to respond if you'd like your email in
Reported-by and Tested-by for the fix at https://patch.msgid.link/[email protected]]

Quoted 73 lines · On Mon, Oct 13, 2025 at 08:18:18PM +0000, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=220658

           Summary: [BISECTED] PCI MSI patch causes boot crash on HP
                    Spectre x360 Convertible 14-ea0xxx
    Kernel Version: 6.18.0-rc1
          Reporter: [email protected]
            Blocks: 178231
        Regression: Yes
           Bisected 54f45a30c0d0153d2be091ba2d683ab6db6d1d5b

Created attachment 308797
--> https://bugzilla.kernel.org/attachment.cgi?id=308797&action=edit
hp_spectre_boot_crash_dmesg.jpg

As of 6.18.0-rc1 the HP Spectre crashes on boot and throws an exception after about 30 seconds. I've attached a jpg of the crash on the screen. I bisected the issue first to this merge commit:

------------------------------------------------------
commit 03a53e09cd723295ac1ddd16d9908d1680e7a1bf
Merge: 3b2074c77d25 c33c43f71bda
Author: Linus Torvalds <[email protected]>
Date: Tue Sep 30 16:00:29 2025 -0700

    Merge tag 'irq-drivers-2025-09-29' of

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull irq chip driver updates from Thomas Gleixner:
------------------------------------------------------

The first bad commit is within this merge applied to 6.17.0-rc1. I can't remove it clean but if I build on the commit just prior the failure goes away. So that offending commit is:

------------------------------------------------------
commit 54f45a30c0d0153d2be091ba2d683ab6db6d1d5b

Author: Inochi Amaoto <[email protected]>
Date:   Thu Aug 14 07:28:32 2025 +0800

PCI/MSI: Add startup/shutdown for per device domains

As the RISC-V PLIC cannot apply affinity settings without invoking irq_enable(), it will make the interrupt unavailble when used as an underlying interrupt chip for the MSI controller.

Implement the irq_startup() and irq_shutdown() callbacks for the PCI MSI and MSI-X templates.

For chips that specify MSI_FLAG_PCI_MSI_STARTUP_PARENT, the parent startup and shutdown functions are invoked. That allows the interrupt on the parent chip to be enabled if the interrupt has not been enabled during allocation. This is necessary for MSI controllers which use PLIC as underlying parent interrupt chip.

Link:
https://lore.kernel.org/all/[email protected]

Referenced Bugs:

https://bugzilla.kernel.org/show_bug.cgi?id=178231
[Bug 178231] Meta-bug: Linux suspend-to-mem and freeze performance optimization

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
Tested-by Todd Brandt
#2 lore raw

I tested the linked patch and it appears to boot, the system is fine. Thanks! I'll update the Bugzilla with the fix patch.

-----Original Message-----
From: Bjorn Helgaas <[email protected]>
Sent: Thursday, October 16, 2025 9:46 AM
To: [email protected]
Cc: [email protected]; Brandt, Todd E <[email protected]>; Inochi Amaoto <[email protected]>
Subject: Re: [Bug 220658] New: [BISECTED] PCI MSI patch causes boot crash on HP Spectre x360 Convertible 14-ea0xxx

[+to linux-pci, just breadcrumbs to connect more dots,
+cc Inochi,
+bcc Hervé D., feel free to respond if you'd like your email in
Reported-by and Tested-by for the fix at https://patch.msgid.link/[email protected]]

Quoted 74 lines · On Mon, Oct 13, 2025 at 08:18:18PM +0000, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=220658

           Summary: [BISECTED] PCI MSI patch causes boot crash on HP
                    Spectre x360 Convertible 14-ea0xxx
    Kernel Version: 6.18.0-rc1
          Reporter: [email protected]
            Blocks: 178231
        Regression: Yes
           Bisected 54f45a30c0d0153d2be091ba2d683ab6db6d1d5b

Created attachment 308797
--> https://bugzilla.kernel.org/attachment.cgi?id=308797&action=edit
hp_spectre_boot_crash_dmesg.jpg

As of 6.18.0-rc1 the HP Spectre crashes on boot and throws an exception after about 30 seconds. I've attached a jpg of the crash on the screen. I bisected the issue first to this merge commit:

------------------------------------------------------
commit 03a53e09cd723295ac1ddd16d9908d1680e7a1bf
Merge: 3b2074c77d25 c33c43f71bda
Author: Linus Torvalds <[email protected]>
Date: Tue Sep 30 16:00:29 2025 -0700

    Merge tag 'irq-drivers-2025-09-29' of 

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull irq chip driver updates from Thomas Gleixner:
------------------------------------------------------

The first bad commit is within this merge applied to 6.17.0-rc1. I can't remove it clean but if I build on the commit just prior the failure goes away. So that offending commit is:

------------------------------------------------------
commit 54f45a30c0d0153d2be091ba2d683ab6db6d1d5b

Author: Inochi Amaoto <[email protected]>
Date:   Thu Aug 14 07:28:32 2025 +0800

PCI/MSI: Add startup/shutdown for per device domains

As the RISC-V PLIC cannot apply affinity settings without invoking irq_enable(), it will make the interrupt unavailble when used as an underlying interrupt chip for the MSI controller.

Implement the irq_startup() and irq_shutdown() callbacks for the PCI MSI and MSI-X templates.

For chips that specify MSI_FLAG_PCI_MSI_STARTUP_PARENT, the parent startup and shutdown functions are invoked. That allows the interrupt on the parent chip to be enabled if the interrupt has not been enabled during allocation. This is necessary for MSI controllers which use PLIC as underlying parent interrupt chip.

Link:
https://lore.kernel.org/all/[email protected]

Referenced Bugs:

https://bugzilla.kernel.org/show_bug.cgi?id=178231
[Bug 178231] Meta-bug: Linux suspend-to-mem and freeze performance optimization
--
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.