FYI, we noticed the following commit:
commit: 336a9cde10d641e70bac67d90ae91b3190c3edca ("hrtimer: Catch invalid clockids
again")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git timers/core
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------------+------------+------------+
| | dba9a0babd | 336a9cde10 |
+------------------------------------------------+------------+------------+
| boot_successes | 4 | 0 |
| boot_failures | 1 | 12 |
| invoked_oom-killer:gfp_mask=0x | 1 | |
| Mem-Info | 1 | |
| WARNING:at_kernel/time/hrtimer.c:#hrtimer_init | 0 | 12 |
+------------------------------------------------+------------+------------+
[ 19.886448] WARNING: CPU: 0 PID: 1 at kernel/time/hrtimer.c:1090
hrtimer_init+0x11f/0x199
[ 19.889938] Invalid clockid 4. Using MONOTONIC
[ 19.891512] Modules linked in:
[ 19.892913] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.10.0-rc3-00262-g336a9cd #19
[ 19.895739] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.9.3-20161025_171302-gandalf 04/01/2014
[ 19.899404] Call Trace:
[ 19.900516] dump_stack+0x82/0xb8
[ 19.901298] __warn+0xc2/0xdd
[ 19.902081] warn_slowpath_fmt+0x4b/0x53
[ 19.902948] ? lock_is_held_type+0x4b/0x54
[ 19.903844] hrtimer_init+0x11f/0x199
[ 19.904737] ? mac80211_hwsim_get_tsf+0x1d/0x1d
[ 19.905698] tasklet_hrtimer_init+0x1b/0x4f
[ 19.906675] mac80211_hwsim_new_radio+0x7fe/0x916
[ 19.907659] ? set_debug_rodata+0x12/0x12
[ 19.908607] init_mac80211_hwsim+0x138/0x29f
[ 19.909519] ? rndis_wlan_driver_init+0x1b/0x1b
[ 19.910557] do_one_initcall+0x90/0x142
[ 19.911416] ? do_one_initcall+0x136/0x142
[ 19.912380] ? set_debug_rodata+0x12/0x12
[ 19.913248] kernel_init_freeable+0x1cb/0x258
[ 19.914246] ? rest_init+0x13b/0x13b
[ 19.915066] kernel_init+0xe/0xf5
[ 19.916056] ret_from_fork+0x2a/0x40
[ 19.917378] ---[ end trace 55127f051d2c3115 ]---
To reproduce:
git clone
git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this
email
Thanks,
Kernel Test Robot