ADSP subsystem enters a "Crashed" state during SSR (Subsystem Restart) testing on RB4 and RB8 devices. The crash is linked to a NULL pointer exception originating from the FASTRPC module in the HLOS kernel. Recovery steps were found to be incomplete, as enabling SSR recovery (echo enabled /sys/class/remoteproc/remoteproc*/recovery) was omitted, resulting in permanent subsystem crashes. The issue was not observed in earlier builds but persists in the latest build. The crash affects audio/DSP services, system stability, and may require a reboot if recovery fails
Steps to reproduce
1.enable diag.
2. cat /sys/class/remoteproc/remoteproc*/firmware
3. cat /sys/class/remoteproc/remoteproc*/state
4. . cat /sys/class/remoteproc/remoteproc4/recovery
5. echo enabled > /sys/kernel/debug/remoteproc/remoteproc4/coredump
6. send_data 75 37 03 48 00
7. send_data 75 37 03 48 01
8. send_data 75 37 03 48 02
9. cat /sys/class/remoteproc/remoteproc*/state
Observed Results: ADSP goes to crashed state
Expected Results: SSR should successful and ADSP should recover and be in 'running' state.
ADSP subsystem enters a "Crashed" state during SSR (Subsystem Restart) testing on RB4 and RB8 devices. The crash is linked to a NULL pointer exception originating from the FASTRPC module in the HLOS kernel. Recovery steps were found to be incomplete, as enabling SSR recovery (echo enabled /sys/class/remoteproc/remoteproc*/recovery) was omitted, resulting in permanent subsystem crashes. The issue was not observed in earlier builds but persists in the latest build. The crash affects audio/DSP services, system stability, and may require a reboot if recovery fails
Steps to reproduce
1.enable diag.
2. cat /sys/class/remoteproc/remoteproc*/firmware
3. cat /sys/class/remoteproc/remoteproc*/state
4. . cat /sys/class/remoteproc/remoteproc4/recovery
5. echo enabled > /sys/kernel/debug/remoteproc/remoteproc4/coredump
6. send_data 75 37 03 48 00
7. send_data 75 37 03 48 01
8. send_data 75 37 03 48 02
9. cat /sys/class/remoteproc/remoteproc*/state
Observed Results: ADSP goes to crashed state
Expected Results: SSR should successful and ADSP should recover and be in 'running' state.