From: Sasha Levin <sashal@kernel.org>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
linux-kernel@vger.kernel.org, x86@kernel.org
Subject: Re: [GIT pull] irq/urgent for v6.15-rc1
Date: Wed, 26 Mar 2025 21:07:47 -0400 [thread overview]
Message-ID: <Z-Sk41xJ-JIkoZt8@lappy> (raw)
In-Reply-To: <174301605628.1660948.615494869949872320.tglx@xen13.tec.linutronix.de>
On Wed, Mar 26, 2025 at 08:08:16PM +0100, Thomas Gleixner wrote:
>Thomas Gleixner (1):
> PCI/MSI: Handle the NOMASK flag correctly for all PCI/MSI backends
Hi Thomas,
I haven't bisected this, but I suspect that this commit is causing
boot-time panics that are observed on LKFT. Note the line numbers are
off by a bit.
Full logs of the run are available at:
https://qa-reports.linaro.org/lkft/sashal-linus-next/build/v6.13-rc7-16083-gc13edfd29c29/testrun/27775255/suite/log-parser-test/test/bug-bug-kernel-null-pointer-dereference-address/details/
<1>[ 1.540630] BUG: kernel NULL pointer dereference, address: 0000000000000002
<1>[ 1.540630] #PF: supervisor read access in kernel mode
<1>[ 1.540630] #PF: error_code(0x0000) - not-present page
<6>[ 1.540630] PGD 0 P4D 0
<4>[ 1.540630] Oops: Oops: 0000 [#1] SMP PTI
<4>[ 1.540630] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.14.0 #1 PREEMPT(voluntary)
<4>[ 1.540630] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
<4>[ 1.540630] RIP: 0010:__pci_enable_msi_range (drivers/pci/msi/msi.c:300 drivers/pci/msi/msi.c:342 drivers/pci/msi/msi.c:412 drivers/pci/msi/msi.c:463)
<4>[ 1.540630] Code: ff ff ff e8 4e 18 fe ff f6 83 9f 06 00 00 10 0f b7 85 66 ff ff ff 74 0c 0d 00 01 00 00 66 89 85 66 ff ff ff 8b 8d 60 ff ff ff <41> f6 47 02 40 74 0c 25 ff fe 00 00 66 89 85 66 ff ff ff 89 8d 6c
All code
========
0: ff (bad)
1: ff (bad)
2: ff (bad)
3: e8 4e 18 fe ff call 0xfffffffffffe1856
8: f6 83 9f 06 00 00 10 testb $0x10,0x69f(%rbx)
f: 0f b7 85 66 ff ff ff movzwl -0x9a(%rbp),%eax
16: 74 0c je 0x24
18: 0d 00 01 00 00 or $0x100,%eax
1d: 66 89 85 66 ff ff ff mov %ax,-0x9a(%rbp)
24: 8b 8d 60 ff ff ff mov -0xa0(%rbp),%ecx
2a:* 41 f6 47 02 40 testb $0x40,0x2(%r15) <-- trapping instruction
2f: 74 0c je 0x3d
31: 25 ff fe 00 00 and $0xfeff,%eax
36: 66 89 85 66 ff ff ff mov %ax,-0x9a(%rbp)
3d: 89 .byte 0x89
3e: 8d .byte 0x8d
3f: 6c insb (%dx),%es:(%rdi)
Code starting with the faulting instruction
===========================================
0: 41 f6 47 02 40 testb $0x40,0x2(%r15)
5: 74 0c je 0x13
7: 25 ff fe 00 00 and $0xfeff,%eax
c: 66 89 85 66 ff ff ff mov %ax,-0x9a(%rbp)
13: 89 .byte 0x89
14: 8d .byte 0x8d
15: 6c insb (%dx),%es:(%rdi)
<4>[ 1.540630] RSP: 0000:ffffa0df00013748 EFLAGS: 00010246
<4>[ 1.540630] RAX: 0000000000000080 RBX: ffff932e00981000 RCX: 0000000000000001
<4>[ 1.540630] RDX: 0000000000000000 RSI: 0000000000000286 RDI: ffffffff85e6e74c
<4>[ 1.540630] RBP: ffffa0df00013820 R08: 0000000000000002 R09: ffffa0df00013714
<4>[ 1.540630] R10: 0000000000000001 R11: ffffffff84ef46c0 R12: ffff932e009810c0
<4>[ 1.540630] R13: 0000000000000001 R14: ffff932e00981000 R15: 0000000000000000
<4>[ 1.540630] FS: 0000000000000000(0000) GS:ffff932ef5f71000(0000) knlGS:0000000000000000
<4>[ 1.540630] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[ 1.540630] CR2: 0000000000000002 CR3: 0000000020a2e000 CR4: 00000000000006f0
<4>[ 1.540630] Call Trace:
<4>[ 1.540630] <TASK>
<4>[ 1.540630] pci_alloc_irq_vectors_affinity (drivers/pci/msi/api.c:?)
<4>[ 1.540630] pci_alloc_irq_vectors (drivers/pci/msi/api.c:235)
<4>[ 1.540630] ahci_init_irq (drivers/ata/ahci.c:1720)
<4>[ 1.540630] ahci_init_one (drivers/ata/ahci.c:2004)
<4>[ 1.540630] pci_device_probe (drivers/pci/pci-driver.c:325 drivers/pci/pci-driver.c:392 drivers/pci/pci-driver.c:417 drivers/pci/pci-driver.c:451)
<4>[ 1.540630] really_probe (drivers/base/dd.c:?)
<4>[ 1.540630] __driver_probe_device (drivers/base/dd.c:?)
<4>[ 1.540630] driver_probe_device (drivers/base/dd.c:830)
<4>[ 1.540630] __driver_attach (drivers/base/dd.c:1217)
<4>[ 1.540630] bus_for_each_dev (drivers/base/bus.c:369)
<4>[ 1.540630] driver_attach (drivers/base/dd.c:1234)
<4>[ 1.540630] bus_add_driver (drivers/base/bus.c:678)
<4>[ 1.540630] driver_register (drivers/base/driver.c:250)
<4>[ 1.540630] __pci_register_driver (drivers/pci/pci-driver.c:1448)
<4>[ 1.540630] ahci_pci_driver_init (drivers/ata/ahci.c:2090)
<4>[ 1.540630] do_one_initcall (init/main.c:1257)
<4>[ 1.540630] do_initcall_level (init/main.c:1318)
<4>[ 1.540630] do_initcalls (init/main.c:1332)
<4>[ 1.540630] do_basic_setup (init/main.c:1355)
<4>[ 1.540630] kernel_init_freeable (init/main.c:1571)
<4>[ 1.540630] kernel_init (init/main.c:1459)
<4>[ 1.540630] ret_from_fork (arch/x86/kernel/process.c:159)
<4>[ 1.540630] ret_from_fork_asm (arch/x86/entry/entry_64.S:258)
<4>[ 1.540630] </TASK>
<4>[ 1.540630] Modules linked in:
<4>[ 1.540630] CR2: 0000000000000002
<4>[ 1.540630] ---[ end trace 0000000000000000 ]---
<4>[ 1.540630] RIP: 0010:__pci_enable_msi_range (drivers/pci/msi/msi.c:300 drivers/pci/msi/msi.c:342 drivers/pci/msi/msi.c:412 drivers/pci/msi/msi.c:463)
<4>[ 1.540630] Code: ff ff ff e8 4e 18 fe ff f6 83 9f 06 00 00 10 0f b7 85 66 ff ff ff 74 0c 0d 00 01 00 00 66 89 85 66 ff ff ff 8b 8d 60 ff ff ff <41> f6 47 02 40 74 0c 25 ff fe 00 00 66 89 85 66 ff ff ff 89 8d 6c
All code
========
0: ff (bad)
1: ff (bad)
2: ff (bad)
3: e8 4e 18 fe ff call 0xfffffffffffe1856
8: f6 83 9f 06 00 00 10 testb $0x10,0x69f(%rbx)
f: 0f b7 85 66 ff ff ff movzwl -0x9a(%rbp),%eax
16: 74 0c je 0x24
18: 0d 00 01 00 00 or $0x100,%eax
1d: 66 89 85 66 ff ff ff mov %ax,-0x9a(%rbp)
24: 8b 8d 60 ff ff ff mov -0xa0(%rbp),%ecx
2a:* 41 f6 47 02 40 testb $0x40,0x2(%r15) <-- trapping instruction
2f: 74 0c je 0x3d
31: 25 ff fe 00 00 and $0xfeff,%eax
36: 66 89 85 66 ff ff ff mov %ax,-0x9a(%rbp)
3d: 89 .byte 0x89
3e: 8d .byte 0x8d
3f: 6c insb (%dx),%es:(%rdi)
Code starting with the faulting instruction
===========================================
0: 41 f6 47 02 40 testb $0x40,0x2(%r15)
5: 74 0c je 0x13
7: 25 ff fe 00 00 and $0xfeff,%eax
c: 66 89 85 66 ff ff ff mov %ax,-0x9a(%rbp)
13: 89 .byte 0x89
14: 8d .byte 0x8d
15: 6c insb (%dx),%es:(%rdi)
<4>[ 1.540630] RSP: 0000:ffffa0df00013748 EFLAGS: 00010246
<4>[ 1.540630] RAX: 0000000000000080 RBX: ffff932e00981000 RCX: 0000000000000001
<4>[ 1.540630] RDX: 0000000000000000 RSI: 0000000000000286 RDI: ffffffff85e6e74c
<4>[ 1.540630] RBP: ffffa0df00013820 R08: 0000000000000002 R09: ffffa0df00013714
<4>[ 1.540630] R10: 0000000000000001 R11: ffffffff84ef46c0 R12: ffff932e009810c0
<4>[ 1.540630] R13: 0000000000000001 R14: ffff932e00981000 R15: 0000000000000000
<4>[ 1.540630] FS: 0000000000000000(0000) GS:ffff932ef5f71000(0000) knlGS:0000000000000000
<4>[ 1.540630] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[ 1.540630] CR2: 0000000000000002 CR3: 0000000020a2e000 CR4: 00000000000006f0
<6>[ 1.540630] note: swapper/0[1] exited with irqs disabled
<0>[ 1.574039] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
<0>[ 1.574664] Kernel Offset: 0x2c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
<0>[ 1.574664] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009 ]---
--
Thanks,
Sasha
next prev parent reply other threads:[~2025-03-27 1:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-26 19:08 [GIT pull] irq/urgent for v6.15-rc1 Thomas Gleixner
2025-03-27 0:57 ` pr-tracker-bot
2025-03-27 1:07 ` Sasha Levin [this message]
2025-03-27 7:43 ` Thomas Gleixner
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=Z-Sk41xJ-JIkoZt8@lappy \
--to=sashal@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=x86@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.