dmesg flooded with "PME: Spurious native interrupt". AMD, related to audio.]
[+cc Mario, author of 3f6f237b9dd1 ("drm/amd: Update strapping for NBIO 2.5.0"), which resolved bug #215884;
Ilpo, bwctrl expert;
+bcc reporter]
It looks like PME and bwctrl share the interrupt; Teika, if it's easy for you, you might see if this is reproducible without bwctrl. There's no direct config option for it, but I think you could remove bwctrl.o from drivers/pci/pcie/Makefile.
----- Forwarded message from [email protected] -----
I'll mention the bug #215884 later, a similar bug, titled "PME:
Spurious native interrupt - AMD Ryzen 9 5900HS".
My dmesg is flooded with these lines after resuming from sleep (=s2ram):
------------------------------------------------------------------------
[67851.893155] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67855.243097] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67856.919303] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67858.572783] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67861.715546] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67863.385768] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67866.705320] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67868.257949] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67871.422045] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67873.037464] pcieport 0000:00:08.1: PME: Spurious native interrupt!
------------------------------------------------------------------------
emitted about every 1.6 secs, but not strictly periodical. (You see in the above some intervals are 1.6 * 2 secs.) "$ lspci -vvvt" reports this:
------------------------------------------------------------------------
+-08.1-[03]--+-00.0 Advanced Micro Devices, Inc. [AMD/ATI] Phoenix3
| +-00.1 Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
| +-00.2 Advanced Micro Devices, Inc. [AMD] Family 19h (Model 74h) CCP/PSP 3.0 Device
| +-00.3 Advanced Micro Devices, Inc. [AMD] Device 15b9
| +-00.4 Advanced Micro Devices, Inc. [AMD] Device 15ba
| +-00.5 Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
| +-00.6 Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
| \-00.7 Advanced Micro Devices, Inc. [AMD] Sensor Fusion Hub------------------------------------------------------------------------
$ dmesg | grep '00:08.1' ------------------------------------------------------------------------ pci 0000:00:08.1: [1022:14eb] type 01 class 0x060400 PCIe Root Port pci 0000:00:08.1: PCI bridge to [bus 03] pci 0000:00:08.1: bridge window [io 0x1000-0x1fff] pci 0000:00:08.1: bridge window [mem 0x60000000-0x606fffff] pci 0000:00:08.1: bridge window [mem 0x7f00000000-0x7f107fffff 64bit pref] pci 0000:00:08.1: enabling Extended Tags pci 0000:00:08.1: PME# supported from D0 D3hot D3cold pci 0000:00:08.1: PCI bridge to [bus 03] pci 0000:00:08.1: PCI bridge to [bus 03] pci 0000:00:08.1: bridge window [io 0x1000-0x1fff] pci 0000:00:08.1: bridge window [mem 0x60000000-0x606fffff] pci 0000:00:08.1: bridge window [mem 0x7f00000000-0x7f107fffff 64bit pref] pci 0000:00:08.1: Adding to iommu group 7 pcieport 0000:00:08.1: PME: Signaling with IRQ 34 input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card1/input18 input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card1/input19 input: HD-Audio Generic Headphone Mic as /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card0/input21 ------------------------------------------------------------------------
$ grep '34:' /proc/interrupts ------------------------------------------------------------------------ 34: 0 0 [snip] IR-PCI-MSI-0000:00:08.1 0-edge PCIe PME, PCIe bwctrl ------------------------------------------------------------------------
The problem is related to audio. When I plug in an earphone and wear it, I here noise (like: Sh...Bz! Sh...Bz!), and this noise is synchronized to the above dmesg line. (It is reported on the active VT too, so I can visually see this synchronization.)
When I play some music, this message and the noise stop. When I stop music, sometimes the above message and the noise return, but it is not always; sometimes only one of noise or the message comes back; else none come back, and it's fixed until next sleep.
This happens only after awakening, not right after booting.
This is similar to the fixed bug #215884, but not identical. It reported that it only happend when a headphone is plugged in, but for mine, it happens regardless if an earphone is plugged. (I can't hear any noise emitted from the PC speaker, but the repeated dmesg occurs.)
(Probably an excess detail: Even when you plug in an earphone, you can direct ALSA to mute the earphone and output from the pc speaker. In such case I still hear noise from the earphone, and the period seems to be the same, but the noise patter is different.)
I'm not sure if this message is a regression of 6.17. I noticed the noise issue IIRC in 6.16, but not sure about that either.
Thanks beforehand.
++ Vijendar
Quoted 10 lines · Bjorn Helgaas
[+cc Mario, author of
3f6f237b9dd1("drm/amd: Update strapping for NBIO 2.5.0"), which resolved bug #215884;
Ilpo, bwctrl expert;
+bcc reporter]It looks like PME and bwctrl share the interrupt; Teika, if it's easy for you, you might see if this is reproducible without bwctrl. There's no direct config option for it, but I think you could remove bwctrl.o from
drivers/pci/pcie/Makefile.
It's quite possibly the same type of strapping issue.
Are you on the latest BIOS for your system? If so we may need to check if the strapping register for your system matches like what 3f6f237b9dd1 does.
I can make you a similar patch to 3f6f237b9dd1 to try, I just need to confirm what system you really have to get the right register for that system. See below because I'm quite confused.
/proc/cpuinfo would help me understand what you have.
Quoted 18 lines
----- Forwarded message from [email protected] -----
I'll mention the bug #215884 later, a similar bug, titled "PME:
Spurious native interrupt - AMD Ryzen 9 5900HS".My dmesg is flooded with these lines after resuming from sleep (=s2ram):
------------------------------------------------------------------------
[67851.893155] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67855.243097] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67856.919303] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67858.572783] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67861.715546] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67863.385768] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67866.705320] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67868.257949] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67871.422045] pcieport 0000:00:08.1: PME: Spurious native interrupt! [67873.037464] pcieport 0000:00:08.1: PME: Spurious native interrupt!
Quoted 8 lines
------------------------------------------------------------------------
emitted about every 1.6 secs, but not strictly periodical. (You see in the above some intervals are 1.6 * 2 secs.) "$ lspci -vvvt" reports this:
------------------------------------------------------------------------
+-08.1-[03]--+-00.0 Advanced Micro Devices, Inc. [AMD/ATI] Phoenix3
I don't know what Phoenix3 is; I've never heard of such a device. This sounds like a totally wrong string.
Quoted 1 line
| +-00.1 Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
This is quite obviously not Rembrandt either.
Quoted 60 lines
| +-00.2 Advanced Micro Devices, Inc. [AMD] Family 19h (Model 74h) CCP/PSP 3.0 Device | +-00.3 Advanced Micro Devices, Inc. [AMD] Device 15b9 | +-00.4 Advanced Micro Devices, Inc. [AMD] Device 15ba | +-00.5 Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor | +-00.6 Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller | \-00.7 Advanced Micro Devices, Inc. [AMD] Sensor Fusion Hub------------------------------------------------------------------------
$ dmesg | grep '00:08.1' ------------------------------------------------------------------------ pci 0000:00:08.1: [1022:14eb] type 01 class 0x060400 PCIe Root Port pci 0000:00:08.1: PCI bridge to [bus 03] pci 0000:00:08.1: bridge window [io 0x1000-0x1fff] pci 0000:00:08.1: bridge window [mem 0x60000000-0x606fffff] pci 0000:00:08.1: bridge window [mem 0x7f00000000-0x7f107fffff 64bit pref] pci 0000:00:08.1: enabling Extended Tags pci 0000:00:08.1: PME# supported from D0 D3hot D3cold pci 0000:00:08.1: PCI bridge to [bus 03] pci 0000:00:08.1: PCI bridge to [bus 03] pci 0000:00:08.1: bridge window [io 0x1000-0x1fff] pci 0000:00:08.1: bridge window [mem 0x60000000-0x606fffff] pci 0000:00:08.1: bridge window [mem 0x7f00000000-0x7f107fffff 64bit pref] pci 0000:00:08.1: Adding to iommu group 7 pcieport 0000:00:08.1: PME: Signaling with IRQ 34 input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card1/input18 input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card1/input19 input: HD-Audio Generic Headphone Mic as /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card0/input21 ------------------------------------------------------------------------$ grep '34:' /proc/interrupts ------------------------------------------------------------------------ 34: 0 0 [snip] IR-PCI-MSI-0000:00:08.1 0-edge PCIe PME, PCIe bwctrl ------------------------------------------------------------------------The problem is related to audio. When I plug in an earphone and wear it, I here noise (like: Sh...Bz! Sh...Bz!), and this noise is synchronized to the above dmesg line. (It is reported on the active VT too, so I can visually see this synchronization.)
When I play some music, this message and the noise stop. When I stop music, sometimes the above message and the noise return, but it is not always; sometimes only one of noise or the message comes back; else none come back, and it's fixed until next sleep.
This happens only after awakening, not right after booting.
This is similar to the fixed bug #215884, but not identical. It reported that it only happend when a headphone is plugged in, but for mine, it happens regardless if an earphone is plugged. (I can't hear any noise emitted from the PC speaker, but the repeated dmesg occurs.)
(Probably an excess detail: Even when you plug in an earphone, you can direct ALSA to mute the earphone and output from the pc speaker. In such case I still hear noise from the earphone, and the period seems to be the same, but the noise patter is different.)
I'm not sure if this message is a regression of 6.17. I noticed the noise issue IIRC in 6.16, but not sure about that either.
Thanks beforehand.
From: Bjorn Helgaas <[email protected]>
Subject: [[email protected]: [Bug 220729] dmesg flooded with "PME: Spurious native interrupt". AMD, related to audio.]
Date: Tue, 4 Nov 2025 14:05:16 -0600
Quoted 4 lines
It looks like PME and bwctrl share the interrupt; Teika, if it's easy for you, you might see if this is reproducible without bwctrl. There's no direct config option for it, but I think you could remove bwctrl.o from
drivers/pci/pcie/Makefile.
Unfortunately, compilation fails, like this:
------------------------------------------------------------------------
ld: vmlinux.o: in function `pcie_retrain_link':
/usr/src/linux-6.17.9-gentoo/drivers/pci/pci.c:4746:(.text+0x9fdfb1): undefined reference to `pcie_reset_lbms'
ld: vmlinux.o: in function `pcie_failed_link_retrain':
/usr/src/linux-6.17.9-gentoo/drivers/pci/quirks.c:135:(.text+0xa27105): undefined reference to `pcie_set_target_speed'
...
-------------------------------------------------------------------------
Ok, let us give up this route. This bug is not fatal. Thanks a lot for your reply.
Best regards,
Teika
Quoted 9 lines · Teika Kazura
From: Bjorn Helgaas <[email protected]>
Subject: [[email protected]: [Bug 220729] dmesg flooded with "PME: Spurious native interrupt". AMD, related to audio.]
Date: Tue, 4 Nov 2025 14:05:16 -0600Quoted 4 lines
It looks like PME and bwctrl share the interrupt; Teika, if it's easy for you, you might see if this is reproducible without bwctrl. There's no direct config option for it, but I think you could remove bwctrl.o from
drivers/pci/pcie/Makefile.
Quoted 9 lines
Unfortunately, compilation fails, like this:
------------------------------------------------------------------------
ld: vmlinux.o: in function `pcie_retrain_link':
/usr/src/linux-6.17.9-gentoo/drivers/pci/pci.c:4746:(.text+0x9fdfb1): undefined reference to `pcie_reset_lbms'
ld: vmlinux.o: in function `pcie_failed_link_retrain':
/usr/src/linux-6.17.9-gentoo/drivers/pci/quirks.c:135:(.text+0xa27105): undefined reference to `pcie_set_target_speed'
...
-------------------------------------------------------------------------
Ok, let us give up this route. This bug is not fatal. Thanks a lot for your reply.
You could instead change the flags in pcie_bwnotif_enable(). If you replace this:
pcie_capability_set_word(port, PCI_EXP_LNKCTL,
PCI_EXP_LNKCTL_LBMIE | PCI_EXP_LNKCTL_LABIE);With this:
pcie_capability_set_word(port, PCI_EXP_LNKCTL, 0);
The bandwidth notifications should no longer cause any interrupts. If that works, you can try with one flag at a time to see if it breaks because of PCI_EXP_LNKCTL_LBMIE or PCI_EXP_LNKCTL_LABIE.
There's also a series adding tracing to bwctrl events that might be able to provide clues if there are some odd bw notifications coming in (it's not readily available in your kernel though):
https://lore.kernel.org/linux-pci/[email protected]/
BTW Bjorn, that series is still sitting unapplied I think.
Signature · 1 line
i.