Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configs: add a allmodconfig_addons file
We have to turn off PROVE_RAW_LOCK_NESTING according to Sebastian post, https://lkml.org/lkml/2020/4/23/943, if we don't turn it of we see this Invalid wait contect bug. [ 192.633455][ T1] Testing tracer wakeup: PASSED [ 215.231199][ T1] Testing tracer wakeup_rt: [ 215.391991][ C0] [ 215.395269][ C0] ============================= [ 215.397497][ C0] [ BUG: Invalid wait context ] [ 215.399744][ C0] 5.8.0-rc4-next-20200708-00004-g02476dd835a3 #2 Not tainted [ 215.403104][ C0] ----------------------------- [ 215.405381][ C0] swapper/0/1 is trying to lock: [ 215.407622][ C0] ffffa000142ec4d8 (depot_lock){..-.}-{3:3}, at: stack_depot_save+0x248/0x4e0 [ 215.411792][ C0] other info that might help us debug this: [ 215.414508][ C0] context-{2:2} [ 215.416106][ C0] 2 locks held by swapper/0/1: [ 215.418322][ C0] #0: ffffa00013fa09d0 (trace_types_lock){+.+.}-{4:4}, at: register_tracer+0x170/0x528 [ 215.422902][ C0] #1: ffffa00013f83750 (ftrace_lock){+.+.}-{4:4}, at: register_ftrace_function+0xe8/0x140 [ 215.427625][ C0] stack backtrace: [ 215.429428][ C0] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.8.0-rc4-next-20200708-00004-g02476dd835a3 #2 [ 215.433973][ C0] Hardware name: linux,dummy-virt (DT) [ 215.436475][ C0] Call trace: [ 215.438054][ C0] dump_backtrace+0x0/0x418 [ 215.440167][ C0] show_stack+0x34/0x48 [ 215.442125][ C0] dump_stack+0x1f4/0x2b0 [ 215.444156][ C0] __lock_acquire+0x5fc/0xd80 [ 215.446387][ C0] lock_acquire+0x5e4/0x690 [ 215.448498][ C0] _raw_spin_lock_irqsave+0xf0/0x210 [ 215.451001][ C0] stack_depot_save+0x248/0x4e0 [ 215.453287][ C0] kasan_save_stack+0x44/0x58 [ 215.455496][ C0] kasan_record_aux_stack+0xf8/0x110 [ 215.457994][ C0] __call_rcu+0x15c/0x868 [ 215.460019][ C0] call_rcu+0x18/0x28 [ 215.461944][ C0] __put_cred+0x19c/0x1b8 [ 215.463961][ C0] exit_creds+0x270/0x2f8 [ 215.466024][ C0] __put_task_struct+0xc8/0x258 [ 215.468306][ C0] inactive_task_timer+0xb10/0xb98 [ 215.470729][ C0] __hrtimer_run_queues+0x9e4/0xe68 [ 215.473197][ C0] hrtimer_run_queues+0x208/0x238 [ 215.475567][ C0] run_local_timers+0x50/0xd8 [ 215.477804][ C0] update_process_times+0x34/0x80 [ 215.480148][ C0] tick_periodic+0x20c/0x228 [ 215.482291][ C0] tick_handle_periodic+0x40/0x108 [ 215.484709][ C0] arch_timer_handler_virt+0x64/0x80 [ 215.487177][ C0] handle_percpu_devid_irq+0x464/0x918 [ 215.489751][ C0] generic_handle_irq+0x68/0x90 [ 215.492024][ C0] __handle_domain_irq+0x110/0x160 [ 215.494434][ C0] gic_handle_irq+0x98/0x108 [ 215.496584][ C0] el1_irq+0x10c/0x200 [ 215.498545][ C0] __sanitizer_cov_trace_pc+0x30/0x90 [ 215.501070][ C0] ftrace_check_record.isra.0+0x74/0x578 [ 215.503708][ C0] __ftrace_hash_rec_update+0x9e4/0xbe8 [ 215.506328][ C0] ftrace_startup+0x238/0x2e0 [ 215.508531][ C0] register_ftrace_function+0x100/0x140 [ 215.511153][ C0] register_wakeup_function.isra.0+0x11c/0x178 [ 215.514033][ C0] start_func_tracer+0x50/0xf0 [ 215.516262][ C0] __wakeup_tracer_init+0x2dc/0x3b8 [ 215.518699][ C0] wakeup_rt_tracer_init+0x74/0xa0 [ 215.521112][ C0] trace_selftest_startup_wakeup+0x1d4/0x4c8 [ 215.523895][ C0] run_tracer_selftest+0x2d8/0x40c [ 215.526329][ C0] register_tracer+0x348/0x528 [ 215.528620][ C0] init_wakeup_tracer+0x78/0xfc [ 215.530906][ C0] do_one_initcall+0x410/0x960 [ 215.533164][ C0] kernel_init_freeable+0x430/0x4f0 [ 215.535592][ C0] kernel_init+0x20/0x1d8 [ 215.537639][ C0] ret_from_fork+0x10/0x18 [ 233.098959][ T1] PASSED [ 233.102392][ T1] Testing tracer wakeup_dl: PASSED [ 250.810934][ T1] initcall init_wakeup_tracer+0x0/0xfc returned 0 after 52078125 usecs Signed-off-by: Anders Roxell <[email protected]>
- Loading branch information