/linux/sound/soc/sof/xtensa/ |
H A 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 in xtensa_dsp_oops() 118 struct sof_ipc_dsp_oops_xtensa *xoops = oops; xtensa_stack() local [all...] |
/linux/sound/soc/sof/intel/ |
H A 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 …]
|
H A 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()
|
H A 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()
|
H A 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/sound/soc/sof/imx/ |
H A D | imx-common.c | 18 * @xoops: Stores information about registers. 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() [all...] |
H A D | imx-common.h | 12 struct sof_ipc_dsp_oops_xtensa *xoops,
|
/linux/sound/soc/sof/mediatek/ |
H A D | mtk-adsp-common.c | 24 * @xoops: Stores information about registers. 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, in mtk_adsp_dump() [all...] |
/linux/sound/soc/sof/amd/ |
H A 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()
|