debug.c (87e291075d06ba1613d4b7b9c1f156b8d5c2526f) debug.c (1dedbe4f223cac603e871d91133b9aa3136fbc21)
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2//
3// This file is provided under a dual BSD/GPLv2 license. When using or
4// redistributing this file, you may do so under either license.
5//
6// Copyright(c) 2018 Intel Corporation. All rights reserved.
7//
8// Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>

--- 429 unchanged lines hidden (view full) ---

438 "preventing DSP entering D3 state to preserve context\n");
439 pm_runtime_get_noresume(sdev->dev);
440 }
441
442 /* dump vital information to the logs */
443 snd_sof_ipc_dump(sdev);
444 snd_sof_dsp_dbg_dump(sdev, "Firmware exception",
445 SOF_DBG_DUMP_REGS | SOF_DBG_DUMP_MBOX);
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2//
3// This file is provided under a dual BSD/GPLv2 license. When using or
4// redistributing this file, you may do so under either license.
5//
6// Copyright(c) 2018 Intel Corporation. All rights reserved.
7//
8// Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>

--- 429 unchanged lines hidden (view full) ---

438 "preventing DSP entering D3 state to preserve context\n");
439 pm_runtime_get_noresume(sdev->dev);
440 }
441
442 /* dump vital information to the logs */
443 snd_sof_ipc_dump(sdev);
444 snd_sof_dsp_dbg_dump(sdev, "Firmware exception",
445 SOF_DBG_DUMP_REGS | SOF_DBG_DUMP_MBOX);
446 snd_sof_trace_notify_for_error(sdev);
446 sof_fw_trace_fw_crashed(sdev);
447}
448EXPORT_SYMBOL(snd_sof_handle_fw_exception);
447}
448EXPORT_SYMBOL(snd_sof_handle_fw_exception);