* [linus:master] [kho] b753522bed: INFO:trying_to_register_non-static_key
@ 2025-08-08 8:45 kernel test robot
2025-08-08 11:28 ` Pratyush Yadav
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-08-08 8:45 UTC (permalink / raw)
To: Mike Rapoport
Cc: oe-lkp, lkp, linux-kernel, Andrew Morton, Alexander Graf,
Changyuan Lyu, Pasha Tatashin, Pratyush Yadav, Shuah Khan, kexec,
linux-mm, oliver.sang
Hello,
kernel test robot noticed "INFO:trying_to_register_non-static_key" on:
commit: b753522bed0b7e388a643f58d91bd81d8849ba43 ("kho: add test for kexec handover")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
[test failed on linus/master cca7a0aae8958c9b1cd14116cb8b2f22ace2205e]
[test failed on linux-next/master b7d4e259682caccb51a25283655f2c8f02e32d23]
in testcase: boot
config: x86_64-randconfig-075-20250806
compiler: clang-20
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202508081032.1450e413-lkp@intel.com
[ 59.011407][ T1] INFO: trying to register non-static key.
[ 59.011783][ T1] The code is fine but needs lockdep annotation, or maybe
[ 59.011783][ T1] you didn't initialize this object before use?
[ 59.011783][ T1] turning off the locking correctness validator.
[ 59.011783][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Tainted: G T 6.16.0-rc5-00079-gb753522bed0b #1 PREEMPT(voluntary)
[ 59.011783][ T1] Tainted: [T]=RANDSTRUCT
[ 59.011783][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 59.011783][ T1] Call Trace:
[ 59.011783][ T1] <TASK>
[ 59.011783][ T1] dump_stack_lvl (lib/dump_stack.c:123)
[ 59.011783][ T1] assign_lock_key (kernel/locking/lockdep.c:988)
[ 59.011783][ T1] register_lock_class (kernel/locking/lockdep.c:?)
[ 59.011783][ T1] __lock_acquire (kernel/locking/lockdep.c:?)
[ 59.011783][ T1] lock_acquire (kernel/locking/lockdep.c:5871)
[ 59.011783][ T1] ? xa_load_or_alloc (include/linux/xarray.h:699 kernel/kexec_handover.c:106)
[ 59.011783][ T1] ? tracer_preempt_off (kernel/trace/trace_irqsoff.c:412)
[ 59.011783][ T1] _raw_spin_lock (include/linux/spinlock_api_smp.h:133 kernel/locking/spinlock.c:154)
[ 59.011783][ T1] ? xa_load_or_alloc (include/linux/xarray.h:699 kernel/kexec_handover.c:106)
[ 59.011783][ T1] xa_load_or_alloc (include/linux/xarray.h:699 kernel/kexec_handover.c:106)
[ 59.011783][ T1] __kho_preserve_order (kernel/kexec_handover.c:156)
[ 59.011783][ T1] kho_test_init (lib/test_kho.c:84)
[ 59.011783][ T1] ? __cfi_kho_test_init (lib/test_kho.c:271)
[ 59.011783][ T1] do_one_initcall (init/main.c:1274)
[ 59.011783][ T1] ? __cfi_kho_test_init (lib/test_kho.c:271)
[ 59.011783][ T1] ? kasan_save_track (arch/x86/include/asm/current.h:25 mm/kasan/common.c:60 mm/kasan/common.c:69)
[ 59.011783][ T1] ? kasan_save_track (mm/kasan/common.c:48 mm/kasan/common.c:68)
[ 59.011783][ T1] ? __kasan_kmalloc (mm/kasan/common.c:398)
[ 59.011783][ T1] ? tracer_hardirqs_off (kernel/trace/trace_irqsoff.c:412)
[ 59.011783][ T1] ? do_initcalls (include/linux/slab.h:909 include/linux/slab.h:1039 init/main.c:1345)
[ 59.011783][ T1] ? kernel_init_freeable (init/main.c:1588)
[ 59.011783][ T1] ? tracer_hardirqs_on (kernel/trace/trace_irqsoff.c:452)
[ 59.011783][ T1] ? tracer_hardirqs_off (kernel/trace/trace_irqsoff.c:412)
[ 59.011783][ T1] ? tracer_hardirqs_on (kernel/trace/trace_irqsoff.c:452)
[ 59.011783][ T1] ? irqentry_exit (kernel/entry/common.c:311)
[ 59.011783][ T1] ? next_arg (lib/cmdline.c:273)
[ 59.011783][ T1] ? parameq (kernel/params.c:91)
[ 59.011783][ T1] ? parse_args (kernel/params.c:?)
[ 59.011783][ T1] do_initcall_level (init/main.c:1335)
[ 59.011783][ T1] do_initcalls (init/main.c:1349)
[ 59.011783][ T1] kernel_init_freeable (init/main.c:1588)
[ 59.011783][ T1] ? __cfi_kernel_init (init/main.c:1466)
[ 59.011783][ T1] kernel_init (init/main.c:1476)
[ 59.011783][ T1] ? __cfi_kernel_init (init/main.c:1466)
[ 59.011783][ T1] ret_from_fork (arch/x86/kernel/process.c:154)
[ 59.011783][ T1] ? __cfi_kernel_init (init/main.c:1466)
[ 59.011783][ T1] ret_from_fork_asm (arch/x86/entry/entry_64.S:255)
[ 59.011783][ T1] </TASK>
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250808/202508081032.1450e413-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linus:master] [kho] b753522bed: INFO:trying_to_register_non-static_key
2025-08-08 8:45 [linus:master] [kho] b753522bed: INFO:trying_to_register_non-static_key kernel test robot
@ 2025-08-08 11:28 ` Pratyush Yadav
0 siblings, 0 replies; 2+ messages in thread
From: Pratyush Yadav @ 2025-08-08 11:28 UTC (permalink / raw)
To: kernel test robot
Cc: Mike Rapoport, oe-lkp, lkp, linux-kernel, Andrew Morton,
Alexander Graf, Changyuan Lyu, Pasha Tatashin, Pratyush Yadav,
Shuah Khan, kexec, linux-mm
On Fri, Aug 08 2025, kernel test robot wrote:
> Hello,
>
[...]
>
>
> [ 59.011407][ T1] INFO: trying to register non-static key.
> [ 59.011783][ T1] The code is fine but needs lockdep annotation, or maybe
> [ 59.011783][ T1] you didn't initialize this object before use?
> [ 59.011783][ T1] turning off the locking correctness validator.
> [ 59.011783][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Tainted: G T 6.16.0-rc5-00079-gb753522bed0b #1 PREEMPT(voluntary)
> [ 59.011783][ T1] Tainted: [T]=RANDSTRUCT
> [ 59.011783][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
> [ 59.011783][ T1] Call Trace:
Pasha, I think your patch [0] fixes this. Perhaps it is a good idea for
it to land independent of the LUO patches, since those are likely to
take some more time?
[0] https://lore.kernel.org/lkml/20250807014442.3829950-2-pasha.tatashin@soleen.com/
> [ 59.011783][ T1] <TASK>
> [ 59.011783][ T1] dump_stack_lvl (lib/dump_stack.c:123)
> [ 59.011783][ T1] assign_lock_key (kernel/locking/lockdep.c:988)
> [ 59.011783][ T1] register_lock_class (kernel/locking/lockdep.c:?)
> [ 59.011783][ T1] __lock_acquire (kernel/locking/lockdep.c:?)
> [ 59.011783][ T1] lock_acquire (kernel/locking/lockdep.c:5871)
> [ 59.011783][ T1] ? xa_load_or_alloc (include/linux/xarray.h:699 kernel/kexec_handover.c:106)
> [ 59.011783][ T1] ? tracer_preempt_off (kernel/trace/trace_irqsoff.c:412)
> [ 59.011783][ T1] _raw_spin_lock (include/linux/spinlock_api_smp.h:133 kernel/locking/spinlock.c:154)
> [ 59.011783][ T1] ? xa_load_or_alloc (include/linux/xarray.h:699 kernel/kexec_handover.c:106)
> [ 59.011783][ T1] xa_load_or_alloc (include/linux/xarray.h:699 kernel/kexec_handover.c:106)
> [ 59.011783][ T1] __kho_preserve_order (kernel/kexec_handover.c:156)
> [ 59.011783][ T1] kho_test_init (lib/test_kho.c:84)
> [ 59.011783][ T1] ? __cfi_kho_test_init (lib/test_kho.c:271)
> [ 59.011783][ T1] do_one_initcall (init/main.c:1274)
> [ 59.011783][ T1] ? __cfi_kho_test_init (lib/test_kho.c:271)
> [ 59.011783][ T1] ? kasan_save_track (arch/x86/include/asm/current.h:25 mm/kasan/common.c:60 mm/kasan/common.c:69)
> [ 59.011783][ T1] ? kasan_save_track (mm/kasan/common.c:48 mm/kasan/common.c:68)
> [ 59.011783][ T1] ? __kasan_kmalloc (mm/kasan/common.c:398)
> [ 59.011783][ T1] ? tracer_hardirqs_off (kernel/trace/trace_irqsoff.c:412)
> [ 59.011783][ T1] ? do_initcalls (include/linux/slab.h:909 include/linux/slab.h:1039 init/main.c:1345)
> [ 59.011783][ T1] ? kernel_init_freeable (init/main.c:1588)
> [ 59.011783][ T1] ? tracer_hardirqs_on (kernel/trace/trace_irqsoff.c:452)
> [ 59.011783][ T1] ? tracer_hardirqs_off (kernel/trace/trace_irqsoff.c:412)
> [ 59.011783][ T1] ? tracer_hardirqs_on (kernel/trace/trace_irqsoff.c:452)
> [ 59.011783][ T1] ? irqentry_exit (kernel/entry/common.c:311)
> [ 59.011783][ T1] ? next_arg (lib/cmdline.c:273)
> [ 59.011783][ T1] ? parameq (kernel/params.c:91)
> [ 59.011783][ T1] ? parse_args (kernel/params.c:?)
> [ 59.011783][ T1] do_initcall_level (init/main.c:1335)
> [ 59.011783][ T1] do_initcalls (init/main.c:1349)
> [ 59.011783][ T1] kernel_init_freeable (init/main.c:1588)
> [ 59.011783][ T1] ? __cfi_kernel_init (init/main.c:1466)
> [ 59.011783][ T1] kernel_init (init/main.c:1476)
> [ 59.011783][ T1] ? __cfi_kernel_init (init/main.c:1466)
> [ 59.011783][ T1] ret_from_fork (arch/x86/kernel/process.c:154)
> [ 59.011783][ T1] ? __cfi_kernel_init (init/main.c:1466)
> [ 59.011783][ T1] ret_from_fork_asm (arch/x86/entry/entry_64.S:255)
> [ 59.011783][ T1] </TASK>
--
Regards,
Pratyush Yadav
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-08 11:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-08 8:45 [linus:master] [kho] b753522bed: INFO:trying_to_register_non-static_key kernel test robot
2025-08-08 11:28 ` Pratyush Yadav
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox