driver misc
driver probe函数调用callstack
[ 0.073075][ T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.147-gac0f89dbd82d-dirty #1
[ 0.073080][ T1] Hardware name: machine_xxx (DT)
[ 0.073084][ T1] Call trace:
[ 0.073090][ T1] 0xffffffc010086358
[ 0.073097][ T1] show_stack+0x18/0x24
[ 0.073105][ T1] dump_stack+0xb0/0x10c
[ 0.073113][ T1] ramoops_probe+0x60/0x920
[ 0.073123][ T1] platform_drv_probe+0xac/0xf8
[ 0.073131][ T1] really_probe+0x290/0x6c0
[ 0.073138][ T1] driver_probe_device+0x64/0x100
[ 0.073146][ T1] __device_attach_driver+0x12c/0x17c
[ 0.073153][ T1] bus_for_each_drv+0xa8/0x124
[ 0.073160][ T1] __device_attach.llvm.13368062525973652086+0xb8/0x154
[ 0.073167][ T1] bus_probe_device+0x40/0xf8
[ 0.073173][ T1] device_add+0x918/0xb64
[ 0.073179][ T1] of_device_add+0x38/0x48
[ 0.073186][ T1] of_platform_device_create_pdata+0xb0/0x138
[ 0.073194][ T1] of_platform_default_populate_init+0x58/0xd0
[ 0.073201][ T1] do_one_initcall+0xdc/0x398
[ 0.073208][ T1] do_initcall_level+0xc8/0x1cc
[ 0.073214][ T1] do_initcalls+0x60/0xa0
[ 0.073221][ T1] do_basic_setup+0x24/0x30
[ 0.073227][ T1] kernel_init_freeable+0xd0/0x150
[ 0.073234][ T1] kernel_init+0x18/0x2a0