/linux-6.12.1/sound/soc/sof/xtensa/ |
D | core.c | 86 struct sof_ipc_dsp_oops_xtensa *xoops = oops; in xtensa_dsp_oops() local 91 if (xtensa_exception_causes[i].id == xoops->exccause) { in xtensa_dsp_oops() 100 xoops->exccause, xoops->excvaddr, xoops->ps, xoops->sar); in xtensa_dsp_oops() 103 xoops->epc1, xoops->epc2, xoops->epc3, xoops->epc4); in xtensa_dsp_oops() 106 xoops->epc5, xoops->epc6, xoops->epc7, xoops->depc); in xtensa_dsp_oops() 109 xoops->eps2, xoops->eps3, xoops->eps4, xoops->eps5); in xtensa_dsp_oops() 112 xoops->eps6, xoops->eps7, xoops->intenable, xoops->interrupt); in xtensa_dsp_oops() 118 struct sof_ipc_dsp_oops_xtensa *xoops = oops; in xtensa_stack() local 119 u32 stack_ptr = xoops->plat_hdr.stackptr; in xtensa_stack() 136 if (!xoops->plat_hdr.numaregs) in xtensa_stack() [all …]
|
/linux-6.12.1/sound/soc/sof/intel/ |
D | telemetry.c | 21 struct sof_ipc_dsp_oops_xtensa *xoops; in sof_ipc4_intel_dump_telemetry_state() local 74 xoops = kzalloc(struct_size(xoops, ar, XTENSA_CORE_AR_REGS_COUNT), GFP_KERNEL); in sof_ipc4_intel_dump_telemetry_state() 75 if (!xoops) in sof_ipc4_intel_dump_telemetry_state() 78 xoops->exccause = block->exccause; in sof_ipc4_intel_dump_telemetry_state() 79 xoops->excvaddr = block->excvaddr; in sof_ipc4_intel_dump_telemetry_state() 80 xoops->epc1 = block->pc; in sof_ipc4_intel_dump_telemetry_state() 81 xoops->ps = block->ps; in sof_ipc4_intel_dump_telemetry_state() 82 xoops->sar = block->sar; in sof_ipc4_intel_dump_telemetry_state() 84 xoops->plat_hdr.numaregs = XTENSA_CORE_AR_REGS_COUNT; in sof_ipc4_intel_dump_telemetry_state() 85 memcpy((void *)xoops->ar, block->ar, XTENSA_CORE_AR_REGS_COUNT * sizeof(u32)); in sof_ipc4_intel_dump_telemetry_state() [all …]
|
D | atom.c | 36 struct sof_ipc_dsp_oops_xtensa *xoops, in atom_get_registers() argument 43 sof_mailbox_read(sdev, offset, xoops, sizeof(*xoops)); in atom_get_registers() 48 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in atom_get_registers() 50 xoops->arch_hdr.totalsize); in atom_get_registers() 53 offset += xoops->arch_hdr.totalsize; in atom_get_registers() 63 struct sof_ipc_dsp_oops_xtensa xoops; in atom_dump() local 71 atom_get_registers(sdev, &xoops, &panic_info, stack, in atom_dump() 73 sof_print_oops_and_stack(sdev, KERN_ERR, status, panic, &xoops, in atom_dump()
|
D | bdw.c | 224 struct sof_ipc_dsp_oops_xtensa *xoops, in bdw_get_registers() argument 231 sof_mailbox_read(sdev, offset, xoops, sizeof(*xoops)); in bdw_get_registers() 236 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in bdw_get_registers() 238 xoops->arch_hdr.totalsize); in bdw_get_registers() 241 offset += xoops->arch_hdr.totalsize; in bdw_get_registers() 251 struct sof_ipc_dsp_oops_xtensa xoops; in bdw_dump() local 259 bdw_get_registers(sdev, &xoops, &panic_info, stack, in bdw_dump() 261 sof_print_oops_and_stack(sdev, KERN_ERR, status, panic, &xoops, in bdw_dump()
|
D | hda-dsp.c | 1561 struct sof_ipc_dsp_oops_xtensa *xoops, in hda_dsp_get_registers() argument 1568 sof_mailbox_read(sdev, offset, xoops, sizeof(*xoops)); in hda_dsp_get_registers() 1573 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in hda_dsp_get_registers() 1575 xoops->arch_hdr.totalsize); in hda_dsp_get_registers() 1578 offset += xoops->arch_hdr.totalsize; in hda_dsp_get_registers() 1611 struct sof_ipc_dsp_oops_xtensa xoops; in hda_dsp_dump() local 1623 hda_dsp_get_registers(sdev, &xoops, &panic_info, stack, in hda_dsp_dump() 1625 sof_print_oops_and_stack(sdev, level, status, panic, &xoops, in hda_dsp_dump()
|
/linux-6.12.1/sound/soc/sof/imx/ |
D | imx-common.c | 24 struct sof_ipc_dsp_oops_xtensa *xoops, in imx8_get_registers() argument 31 sof_mailbox_read(sdev, offset, xoops, sizeof(*xoops)); in imx8_get_registers() 34 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in imx8_get_registers() 36 xoops->arch_hdr.totalsize); in imx8_get_registers() 39 offset += xoops->arch_hdr.totalsize; in imx8_get_registers() 55 struct sof_ipc_dsp_oops_xtensa xoops; in imx8_dump() local 68 imx8_get_registers(sdev, &xoops, &panic_info, stack, in imx8_dump() 72 sof_print_oops_and_stack(sdev, KERN_ERR, status, status, &xoops, in imx8_dump()
|
D | imx-common.h | 12 struct sof_ipc_dsp_oops_xtensa *xoops,
|
/linux-6.12.1/sound/soc/sof/mediatek/ |
D | mtk-adsp-common.c | 30 struct sof_ipc_dsp_oops_xtensa *xoops, in mtk_adsp_get_registers() argument 37 sof_mailbox_read(sdev, offset, xoops, sizeof(*xoops)); in mtk_adsp_get_registers() 40 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in mtk_adsp_get_registers() 42 xoops->arch_hdr.totalsize); in mtk_adsp_get_registers() 45 offset += xoops->arch_hdr.totalsize; in mtk_adsp_get_registers() 62 struct sof_ipc_dsp_oops_xtensa xoops; in mtk_adsp_dump() local 75 mtk_adsp_get_registers(sdev, &xoops, &panic_info, stack, in mtk_adsp_dump() 79 sof_print_oops_and_stack(sdev, level, status, status, &xoops, &panic_info, in mtk_adsp_dump()
|
/linux-6.12.1/sound/soc/sof/amd/ |
D | acp-common.c | 60 struct sof_ipc_dsp_oops_xtensa *xoops, in amd_get_registers() argument 67 acp_mailbox_read(sdev, offset, xoops, sizeof(*xoops)); in amd_get_registers() 70 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in amd_get_registers() 72 xoops->arch_hdr.totalsize); in amd_get_registers() 76 offset += xoops->arch_hdr.totalsize; in amd_get_registers() 92 struct sof_ipc_dsp_oops_xtensa xoops; in amd_sof_dump() local 114 amd_get_registers(sdev, &xoops, &panic_info, stack, AMD_STACK_DUMP_SIZE); in amd_sof_dump() 117 sof_print_oops_and_stack(sdev, KERN_ERR, status, status, &xoops, in amd_sof_dump()
|