Skip to contentSkip to conversation

New: WARNING: CPU: 0 PID: 70 at kernel/locking/irqflag-debug.c:10 at kallsyms_selftest

Bug 216902 [email protected] 1 participant 3 messages Jan 8, 2023 – Aug 19, 2023

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 216902
Summary: WARNING: CPU: 0 PID: 70 at
kernel/locking/irqflag-debug.c:10 at kallsyms_selftest
Product: Platform Specific/Hardware
Version: 2.5
Kernel Version: 6.2-rc2
Hardware: PPC-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: PPC-64
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Created attachment 303551
--> https://bugzilla.kernel.org/attachment.cgi?id=303551&action=edit
dmesg (6.2-rc2, PowerMac G5 11,2)

Get this every time at boot at running kallsyms_selftest:

[...]

kallsyms_selftest:  ---------------------------------------------------------
kallsyms_selftest: | nr_symbols | compressed size | original size | ratio(%) |
kallsyms_selftest: |---------------------------------------------------------|
kallsyms_selftest: |      83106 |        942087   |      1665058  |  56.57   |
kallsyms_selftest:  ---------------------------------------------------------
kallsyms_selftest: kallsyms_lookup_name() looked up 83106 symbols
kallsyms_selftest: The time spent on each symbol is (ns): min=3136, max=120960,
avg=17043
------------[ cut here ]------------
raw_local_irq_restore() called with IRQs enabled
WARNING: CPU: 0 PID: 70 at kernel/locking/irqflag-debug.c:10
.warn_bogus_irq_restore+0x48/0x70
Modules linked in: windfarm_cpufreq_clamp windfarm_smu_sensors

windfarm_smu_controls windfarm_pm112 nouveau windfarm_pid snd_aoa_codec_onyx snd_aoa_fabric_layout snd_aoa windfarm_max6690_sensor firewire_ohci windfarm_lm75_sensor windfarm_smu_sat windfarm_core sr_mod firewire_core pmac_zilog cdrom crc_itu_t serial_core snd_aoa_i2sbus led_class drm_ttm_helper ttm snd_aoa_soundbus i2c_algo_bit drm_display_helper ohci_pci drm_kms_helper ehci_pci snd_pcm ohci_hcd ehci_hcd snd_timer snd soundcore rack_meter usbcore cfbfillrect usb_common cfbcopyarea cfbimgblt sysimgblt tg3 syscopyarea hwmon sysfillrect cfg80211 rfkill zram zsmalloc drm fuse drm_panel_orientation_quirks backlight configfs

CPU: 0 PID: 70 Comm: kallsyms_test Tainted: G                TN
6.2.0-rc2-PMacG5 #2
Hardware name: PowerMac11,2 PPC970MP 0x440101 PowerMac
NIP:  c000000000bb9f28 LR: c000000000bb9f24 CTR: 0000000000000000
REGS: c000000003e576f0 TRAP: 0700   Tainted: G                TN 

(6.2.0-rc2-PMacG5)
MSR: 900000000202b032 <SF,HV,VEC,EE,FP,ME,IR,DR,RI> CR: 44000842 XER:
00000000
IRQMASK: 0
GPR00: 0000000000000000 c000000003e57990 c000000000f19900 0000000000000000
GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR12: 0000000000000000 c0000000017e8000 c0000000000bc380 c000000003f65880
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR24: 0000000000000000 0000000000000000 0000000000000000 00000000000144a2
GPR28: c000000000e03bc0 0000000000000000 0000000996d34700 0000000995b30d60 NIP [c000000000bb9f28] .warn_bogus_irq_restore+0x48/0x70
LR [c000000000bb9f24] .warn_bogus_irq_restore+0x44/0x70

Call Trace:
[c000000003e57990] [c000000000bb9f24] .warn_bogus_irq_restore+0x44/0x70
(unreliable)
[c000000003e57a00] [c000000000164df4]
.test_perf_kallsyms_on_each_symbol+0x90/0xfc
[c000000003e57cc0] [c00000000016456c] .test_entry+0x23c/0x260
[c000000003e57d70] [c0000000000bc498] .kthread+0x118/0x120
[c000000003e57e10] [c00000000000bd58] .ret_from_kernel_thread+0x58/0x60
--- interrupt: 0 at 0x0
NIP:  0000000000000000 LR: 0000000000000000 CTR: 0000000000000000
REGS: c000000003e57e80 TRAP: 0000   Tainted: G                TN 

(6.2.0-rc2-PMacG5)
MSR: 0000000000000000 <> CR: 00000000 XER: 00000000
IRQMASK: 0
GPR00: 0000000000000000 c000000003e58000 0000000000000000 0000000000000000
GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR12: 0000000000000000 0000000000000000 c0000000000bc380 c000000003f65880
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR28: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 NIP [0000000000000000] 0x0
LR [0000000000000000] 0x0
--- interrupt: 0

Code: 39400000 4c820020 7c0802a6 3c62ffee 39200001 3d42004b 386343e0 f8010010
f821ff91 992ae5af 4b4ca171 60000000 <0fe00000> 60000000 38210070 e8010010 
---[ end trace 0000000000000000 ]---

kallsyms_selftest: kallsyms_on_each_symbol() traverse all: 18889120 ns
kallsyms_selftest: kallsyms_on_each_match_symbol() traverse all: 30464 ns
kallsyms_selftest: finish

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.
#1 lore raw

[Bug 216902] WARNING: CPU: 0 PID: 70 at kernel/locking/irqflag-debug.c:10 at kallsyms_selftest

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

--- Comment #1 from Erhard F. ([email protected]) --- Created attachment 303552
--> https://bugzilla.kernel.org/attachment.cgi?id=303552&action=edit
kernel .config (6.2-rc2, PowerMac G5 11,2)

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.
#2 lore raw

[Bug 216902] WARNING: CPU: 0 PID: 70 at kernel/locking/irqflag-debug.c:10 at kallsyms_selftest

In reply to [email protected]

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

Erhard F. ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |OBSOLETE

--- Comment #2 from Erhard F. ([email protected]) --- Have not seen this on kernel 6.4.x and latest 6.5-rc6.

Closing.

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.