[CAM_REQ_MGR_EVENT_MAX]高通6225平台相机老化异常重启

发布于:2024-05-16 ⋅ 阅读:(65) ⋅ 点赞:(0)

报错log

相机老化出现20/7万比例的老化异常重启,具体报错log入下

<4>[ 167.506585] [1970:01:02 18:52:26](0) [0:swapper/0]cam_v4l2_event_queue_notify_error: 251 callbacks suppressed 7 3339

<6>[ 167.506602] [1970:01:02 18:52:26](0) [0:swapper/0]CAM_ WARN: CAM-CRM: cam_v4l2_event_queue_notify_error: 265 Failed to notify SOF_TS Sess 4A0200 Frameld 1072 FrameMeta -790741824 Reqld 0 link AE0107

<6>[ 216.811524] [1970:01:02 18:53:15](0) [91:khungtaskd]Call trace:

<6>[ 216.811528] [1970:01:02 18:53:15](0)[91:khungtaskd] _switch_to+0x108/0x118w

<6>[ 216.811533] [1970:01:02 18:53:15](0)[91:khungtaskd] _schedule+0xb70/0xdc8

<6>[ 216.811537] [1970:01:02 18:53:15](0)[91:khungtaskd] schedule+0x70/0x90

<6>[ 216.811541] [1970:01:02 18:53:15](0)[91:khungtaskd] rescuer_thread+0x45c/0x4b8

<6>[ 216.811545] [1970:01:02 18:53:15](0)[91:khungtaskd] kthread+0x140/0x150

<6>[ 216.811549] [1970:01:02 18:53:15](0)[91:khungtaskd] ret_from_fork+0x10/0x1c

高通解决方案

增加CAM_REQ_MGR_EVENT_MAX值,本例是60 修改为 120
高通回复原文如下:

Increase CAM_REQ_MGR_EVENT_MAX is a common method to fix "cam_v4l2_event_queue_notify_error: 265 Failed to notify SOF_TS"

below log and calltrace indicates the root cause is kworker schedule failed.