Commit 6557e4d
committed
fixed the kernel panic issue after switch to the midgard gpu drvier with CONFIG_OF_DYNAMIC=y
[ 9.593184] ERROR: Bad of_node_put() on /gpu@ffa30000
[ 9.620730] Workqueue: deferwq deferred_probe_work_func
[ 9.629748] [<c0110124>] (unwind_backtrace) from [<c010bddc>] (show_stack+0x20/0x24)
[ 9.641607] [<c010bddc>] (show_stack) from [<c050c88c>] (dump_stack+0x84/0xa0)
[ 9.652938] [<c050c88c>] (dump_stack) from [<c08dcac8>] (of_node_release+0x34/0xa4)
[ 9.664779] [<c08dcac8>] (of_node_release) from [<c050e844>] (kobject_put+0xbc/0xdc)
[ 9.676756] [<c050e844>] (kobject_put) from [<c08dc170>] (of_node_put+0x24/0x28)
[ 9.688365] [<c08dc170>] (of_node_put) from [<c08d8ba0>] (of_find_compatible_node+0x7c/0x94)
[ 9.701150] [<c08d8ba0>] (of_find_compatible_node) from [<c06336b4>] (get_model_dt_node+0x4c/0xc0)
[ 9.714548] [<c06336b4>] (get_model_dt_node) from [<c0633a64>] (kbase_ipa_model_add_param_string+0x30/0xd8)
[ 9.728841] [<c0633a64>] (kbase_ipa_model_add_param_string) from [<c06335b8>] (kbase_simple_power_model_init+0xbc/0xdc)
[ 9.744331] [<c06335b8>] (kbase_simple_power_model_init) from [<c0633bb4>] (kbase_ipa_init_model+0x64/0xb4)
[ 9.758716] [<c0633bb4>] (kbase_ipa_init_model) from [<c0633c80>] (kbase_ipa_init+0x7c/0x180)
[ 9.771777] [<c0633c80>] (kbase_ipa_init) from [<c063ed44>] (kbase_devfreq_init+0x408/0x524)
[ 9.784745] [<c063ed44>] (kbase_devfreq_init) from [<c062c738>] (kbase_platform_device_probe+0x76c/0xafc)
[ 9.799012] [<c062c738>] (kbase_platform_device_probe) from [<c064744c>] (platform_drv_probe+0x60/0xb0)
[ 9.813114] [<c064744c>] (platform_drv_probe) from [<c06455d8>] (driver_probe_device+0x120/0x2a4)
[ 9.826712] [<c06455d8>] (driver_probe_device) from [<c06458d8>] (__device_attach_driver+0x94/0xa0)
[ 9.840456] [<c06458d8>] (__device_attach_driver) from [<c0643c38>] (bus_for_each_drv+0x94/0xa4)
[ 9.853856] [<c0643c38>] (bus_for_each_drv) from [<c06453ec>] (__device_attach+0xa0/0x118)
[ 9.866726] [<c06453ec>] (__device_attach) from [<c0645a48>] (device_initial_probe+0x1c/0x20)
[ 9.879900] [<c0645a48>] (device_initial_probe) from [<c0644a48>] (bus_probe_device+0x38/0x90)
[ 9.893204] [<c0644a48>] (bus_probe_device) from [<c0644e94>] (deferred_probe_work_func+0x6c/0x90)
[ 9.906926] [<c0644e94>] (deferred_probe_work_func) from [<c0134e84>] (process_one_work+0x234/0x418)
[ 9.920861] [<c0134e84>] (process_one_work) from [<c0135c4c>] (worker_thread+0x2e4/0x428)
[ 9.933774] [<c0135c4c>] (worker_thread) from [<c013a800>] (kthread+0x100/0x118)
[ 9.945832] [<c013a800>] (kthread) from [<c0107690>] (ret_from_fork+0x14/0x24)
Change-Id: I04b192c7d07d11feb8c02ee6076c8626ae2843a7
Reviewed-on: https://tp-biosrd-v02/gerrit/83038
Reviewed-by: Jamess Huang(黃以民) <Jamess_Huang@asus.com>
Tested-by: Jamess Huang(黃以民) <Jamess_Huang@asus.com>1 parent 6a921d5 commit 6557e4d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
0 commit comments