Sometimes the rpmsg driver on Linux side can't get rpmsg_driver->callback function be called after Linux rpmsg_send() a msg to the internal MCU.
Specially when Linux side tried to dump 256 values from the internal MCU.
The error log as below, would you please help to find the possible reason, and how to debug it?
---------------------------------------------------------------
[ 4687.661828] <DRV_ADS6311> [2024-05-18 00:10:17.988.122.430] <N> mcuctrl_dump_reg_segment()-8291 ====================MCU Register Dump from <__sensor_start_stream> Line: 3889=====================
[ 4687.679115] <DRV_ADS6311> [2024-05-18 00:10:18.005.409.120] <N> mcuctrl_dump_reg_segment()-8300 ---------0----1----2----3----4----5----6----7----8----9----a----b----c----d----e----f
[ 4687.797943] <DRV_ADS6311> [2024-05-18 00:10:18.124.235.710] <E> mcuctrl_read_reg_raw()-7736 rpmsg wait for completion time-out
[ 4687.809333] <DRV_ADS6311> [2024-05-18 00:10:18.135.627.315] <E> mcuctrl_read_reg_raw()-7744 rpmsg read reg:0x0000 failed, ret:-110, rpmsg_from_user: 0
[ 4687.822798] <DRV_ADS6311> [2024-05-18 00:10:18.149.091.650] <E> mcuctrl_dump_reg_segment()-8312 read register 0x0 failed ret:-110
[ 4687.822798]
[ 4688.354285] <DRV_ADS6311> [2024-05-18 00:10:18.680.574.820] <N> sensor_s_stream()-3937 --on:0, console_loglevel:7, dbg_ctrl:0x2, wkmode:6(PCM), linkFreq:500000000, exposureTime:1000 us, power_on:1, mcu_chipid:a62a, mcu_fw_type: 0xa, drv_version: 2.0.0_LM20240521a---
[ 4688.477944] <DRV_ADS6311> [2024-05-18 00:10:18.804.236.680] <E> mcuctrl_write_reg_raw()-7957 rpmsg wait for completion time-out for 100 ms.
[ 4688.490475] rpmsg_tx: 00000000: 03 11 00 88 00 00 95 .......
[ 4688.498562] <DRV_ADS6311> [2024-05-18 00:10:18.824.855.850] <E> mcuctrl_write_reg_raw()-7970 rpmsg Write mcu reg:0x0088 failed, ret:-110, rpmsg_from_user: 0
[ 4688.512547] <DRV_ADS6311> [2024-05-18 00:10:18.838.841.005] <E> set_vcsel_state()-3445 set_vcsel_state(0) error, call from Line:3901.
[ 4688.512547]
[ 4704.421881] <DRV_ADS6311> [2024-05-18 00:10:34.748.171.675] <N> sensor_s_stream()-3937 --on:1, console_loglevel:7, dbg_ctrl:0x2, wkmode:1(PHR_BM), linkFreq:500000000, exposureTime:1000 us, power_on:0, mcu_chipid:a62a, mcu_fw_type: 0xa, drv_version: 2.0.0_LM20240521a---
[ 4704.549942] <DRV_ADS6311> [2024-05-18 00:10:34.876.233.415] <E> mcuctrl_write_reg_raw()-7957 rpmsg wait for completion time-out for 100 ms.
[ 4704.562471] rpmsg_tx: 00000000: 03 12 00 8a 00 01 95 .......
[ 4704.570558] <DRV_ADS6311> [2024-05-18 00:10:34.896.852.670] <E> mcuctrl_write_reg_raw()-7970 rpmsg Write mcu reg:0x008a failed, ret:-110, rpmsg_from_user: 0
[ 4704.584544] <DRV_ADS6311> [2024-05-18 00:10:34.910.837.710] <E> mcuctrl_set_rx_workmode()-8212 Fail to set rx work mode: 1.
[ 4704.584544]
[ 4704.597140] <DRV_ADS6311> [2024-05-18 00:10:34.923.433.945] <E> __sensor_power_on()-4167 Failed to set rx work mode.
[ 4704.597140]
[ 4704.609127] <DRV_ADS6311> [2024-05-18 00:10:34.935.421.160] <E> sensor_runtime_resume()-4565 Fail to __sensor_power_on(), ret: -110
[ 4704.609127]
[ 4704.622418] <DRV_ADS6311> [2024-05-18 00:10:34.948.712.005] <E> sensor_s_stream()-3977 start stream failed ret:-110
[ 4704.622418]
[ 4704.634324] cdns-csi2rx 30101000.csi-bridge: Failed to start streams 0xf on subdev
[ 4704.651949] cdns-csi2rx 30101000.csi-bridge: Failed to stop stream0
[ 4704.668229] cdns-csi2rx 30101000.csi-bridge: Failed to stop stream1
[ 4704.684555] cdns-csi2rx 30101000.csi-bridge: Failed to stop stream2
[ 4704.700845] cdns-csi2rx 30101000.csi-bridge: Failed to stop stream3