Bug 216902 - WARNING: CPU: 0 PID: 70 at kernel/locking/irqflag-debug.c:10 at kallsyms_selftest
Summary: WARNING: CPU: 0 PID: 70 at kernel/locking/irqflag-debug.c:10 at kallsyms_self...
Status: RESOLVED OBSOLETE
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: PPC-64 (show other bugs)
Hardware: PPC-64 Linux
: P1 normal
Assignee: platform_ppc-64
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-08 14:00 UTC by Erhard F.
Modified: 2023-08-19 23:03 UTC (History)
0 users

See Also:
Kernel Version: 6.2-rc2
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (6.2-rc2, PowerMac G5 11,2) (74.44 KB, text/plain)
2023-01-08 14:00 UTC, Erhard F.
Details
kernel .config (6.2-rc2, PowerMac G5 11,2) (114.97 KB, text/plain)
2023-01-08 14:01 UTC, Erhard F.
Details

Description Erhard F. 2023-01-08 14:00:26 UTC
Created attachment 303551 [details]
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
Comment 1 Erhard F. 2023-01-08 14:01:53 UTC
Created attachment 303552 [details]
kernel .config (6.2-rc2, PowerMac G5 11,2)
Comment 2 Erhard F. 2023-08-19 23:03:47 UTC
Have not seen this on kernel 6.4.x and latest 6.5-rc6.

Closing.

Note You need to log in before you can comment on or make changes to this bug.