Greetings!
Still getting this warning on kernel v6.18.3 and v6.19-rc4 when running
int_log_kunit test via modprobe on my systems (x86_64, x86, ppc). This
dmesg is from my Intel Core Ultra 7 265F system:
[...]
KTAP version 1
1..1
KTAP version 1
# Subtest: math-int_log
# module: int_log_kunit
1..2
KTAP version 1
# Subtest: intlog2_test
------------[ cut here ]------------
1
WARNING: lib/math/int_log.c:63 at intlog2+0x59/0x70, CPU#16:
kunit_try_catch/2036
Modules linked in: int_log_kunit kunit snd_hrtimer snd_seq
snd_seq_device af_packet dm_crypt libmd5 nhpoly1305_avx2 nhpoly1305
chacha libchacha adiantum libpoly1305 algif_skcipher nls_iso8859_1
nls_cp437 vfat fat intel_rapl_msr intel_rapl_common intel_pmc_core
x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_generic amdgpu
kvm_intel rapl intel_cstate snd_hda_codec_atihdmi snd_hda_codec_hdmi
i2c_algo_bit drm_ttm_helper snd_hda_intel ttm snd_intel_dspcfg
drm_suballoc_helper pmt_telemetry mfd_core snd_hda_codec pmt_discovery
drm_panel_backlight_quirks pmt_class amdxcp snd_hwdep gpu_sched
snd_hda_core drm_exec drm_buddy snd_pcm drm_display_helper snd_timer
intel_uncore cec snd video soundcore intel_pmc_ssram_telemetry intel_vpu
thermal intel_vsec cfg80211 rfkill wmi backlight fan evdev input_leds
joydev led_class button zram loop fuse dm_mod configfs hid_generic
usbhid hid aesni_intel gf128mul xhci_pci xhci_hcd usbcore usb_common
pinctrl_meteorlake pinctrl_intel pkcs8_key_parser nct6775 nct6775_core
hwmon_vid coretemp hwmon sg dmi_sysfs
CPU: 16 UID: 0 PID: 2036 Comm: kunit_try_catch Tainted: G
N 6.19.0-rc4-ArwL #1 PREEMPTLAZY
Tainted: [N]=TEST
Hardware name: ASUS System Product Name/PRIME B860M-A, BIOS 1802 09/22/2025
RIP: 0010:intlog2+0x59/0x70
Code: c0 0f b7 8c 09 40 06 e9 95 0f b7 84 00 40 06 e9 95 29 c8 c1 e1 08
0f b7 c0 01 ca 0f af c7 c1 e8 0f 01 d0 31 d2 31 c9 31 ff c3 <0f> 0b 31
c0 31 d2 31 c9 31 ff c3 90 66 66 2e 0f 1f 84 00 00 00 00
RSP: 0018:ffffa433e7b4be30 EFLAGS: 00010246
RAX: ffffffffc0b8b2a0 RBX: ffffa433e80d3a58 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff9737dd815500
R13: ffff97380fee3800 R14: ffffffffc0e4fef0 R15: ffffa433e80d3a98
FS: 0000000000000000(0000) GS:ffff97435960f000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc81bb98098 CR3: 00000005d841a002 CR4: 0000000000f72ef0
PKRU: 55555554
Call Trace:
<TASK>
intlog2_test+0x1b/0xa0 [int_log_kunit]
? ktime_get_ts64+0x3d/0x120
kunit_try_run_case+0x7b/0x100 [kunit]
? kunit_mem_assert_format+0x120/0x120 [kunit]
kunit_generic_run_threadfn_adapter+0x16/0x30 [kunit]
kthread+0xdc/0x200
? kthreads_online_cpu+0xf0/0xf0
? kthreads_online_cpu+0xf0/0xf0
ret_from_fork+0x164/0x1c0
? kthreads_online_cpu+0xf0/0xf0
? kthreads_online_cpu+0xf0/0xf0
ret_from_fork_asm+0x11/0x20
</TASK>
---[ end trace 0000000000000000 ]---
ok 1 Log base 2 of 0
ok 2 Log base 2 of 1
ok 3 Log base 2 of 2
ok 4 Log base 2 of 3
ok 5 Log base 2 of 4
ok 6 Log base 2 of 8
ok 7 Log base 2 of 16
ok 8 Log base 2 of 32
ok 9 Log base 2 of MAX
# intlog2_test: pass:9 fail:0 skip:0 total:9
ok 1 intlog2_test
KTAP version 1
# Subtest: intlog10_test
------------[ cut here ]------------
1
WARNING: lib/math/int_log.c:120 at intlog10+0x6a/0x80, CPU#15:
kunit_try_catch/2055
Modules linked in: int_log_kunit kunit snd_hrtimer snd_seq
snd_seq_device af_packet dm_crypt libmd5 nhpoly1305_avx2 nhpoly1305
chacha libchacha adiantum libpoly1305 algif_skcipher nls_iso8859_1
nls_cp437 vfat fat intel_rapl_msr intel_rapl_common intel_pmc_core
x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_generic amdgpu
kvm_intel rapl intel_cstate snd_hda_codec_atihdmi snd_hda_codec_hdmi
i2c_algo_bit drm_ttm_helper snd_hda_intel ttm snd_intel_dspcfg
drm_suballoc_helper pmt_telemetry mfd_core snd_hda_codec pmt_discovery
drm_panel_backlight_quirks pmt_class amdxcp snd_hwdep gpu_sched
snd_hda_core drm_exec drm_buddy snd_pcm drm_display_helper snd_timer
intel_uncore cec snd video soundcore intel_pmc_ssram_telemetry intel_vpu
thermal intel_vsec cfg80211 rfkill wmi backlight fan evdev input_leds
joydev led_class button zram loop fuse dm_mod configfs hid_generic
usbhid hid aesni_intel gf128mul xhci_pci xhci_hcd usbcore usb_common
pinctrl_meteorlake pinctrl_intel pkcs8_key_parser nct6775 nct6775_core
hwmon_vid coretemp hwmon sg dmi_sysfs
CPU: 15 UID: 0 PID: 2055 Comm: kunit_try_catch Tainted: G W
N 6.19.0-rc4-ArwL #1 PREEMPTLAZY
Tainted: [W]=WARN, [N]=TEST
Hardware name: ASUS System Product Name/PRIME B860M-A, BIOS 1802 09/22/2025
RIP: 0010:intlog10+0x6a/0x80
Code: 06 e9 95 29 cf c1 e1 08 0f b7 ff 01 ca 0f af f8 c1 ef 0f 8d 04 17
48 69 c0 a1 26 88 26 48 c1 e8 1f 31 d2 31 c9 31 f6 31 ff c3 <0f> 0b 31
c0 31 d2 31 c9 31 f6 31 ff c3 66 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffa433e7b8be30 EFLAGS: 00010246
RAX: ffffffffc0b8b220 RBX: ffffa433e80d3a58 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff9737dd815548
R13: ffff9737ce61f300 R14: ffffffffc0e4fef0 R15: ffffa433e80d3a98
FS: 0000000000000000(0000) GS:ffff97435958f000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555f38881db0 CR3: 00000005d841a005 CR4: 0000000000f72ef0
PKRU: 55555554
Call Trace:
<TASK>
intlog10_test+0x1b/0xa0 [int_log_kunit]
? ktime_get_ts64+0x3d/0x120
kunit_try_run_case+0x7b/0x100 [kunit]
? kunit_mem_assert_format+0x120/0x120 [kunit]
kunit_generic_run_threadfn_adapter+0x16/0x30 [kunit]
kthread+0xdc/0x200
? kthreads_online_cpu+0xf0/0xf0
? kthreads_online_cpu+0xf0/0xf0
ret_from_fork+0x164/0x1c0
? kthreads_online_cpu+0xf0/0xf0
? kthreads_online_cpu+0xf0/0xf0
ret_from_fork_asm+0x11/0x20
</TASK>
---[ end trace 0000000000000000 ]---
ok 1 Log base 10 of 0
ok 2 Log base 10 of 1
ok 3 Log base 10 of 6
ok 4 Log base 10 of 10
ok 5 Log base 10 of 100
ok 6 Log base 10 of 1000
ok 7 Log base 10 of 10000
ok 8 Log base 10 of MAX
# intlog10_test: pass:8 fail:0 skip:0 total:8
ok 2 intlog10_test
# math-int_log: pass:2 fail:0 skip:0 total:2
# Totals: pass:17 fail:0 skip:0 total:17
ok 1 math-int_log
[...]
Pasted my full kernel .config at:
https://pastebin.com/qvy98wKa
Regards,
Erhard