1 /* SPDX-License-Identifier: (GPL-2.0-only OR B 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2 /* 2 /* 3 * This file is provided under a dual BSD/GPLv 3 * This file is provided under a dual BSD/GPLv2 license. When using or 4 * redistributing this file, you may do so und 4 * redistributing this file, you may do so under either license. 5 * 5 * 6 * Copyright(c) 2023 Intel Corporation 6 * Copyright(c) 2023 Intel Corporation 7 * 7 * 8 * telemetry data in debug windows 8 * telemetry data in debug windows 9 */ 9 */ 10 10 11 #ifndef _SOF_INTEL_TELEMETRY_H 11 #ifndef _SOF_INTEL_TELEMETRY_H 12 #define _SOF_INTEL_TELEMETRY_H 12 #define _SOF_INTEL_TELEMETRY_H 13 13 14 #include "../ipc4-telemetry.h" 14 #include "../ipc4-telemetry.h" 15 15 16 struct xtensa_arch_block { 16 struct xtensa_arch_block { 17 u8 soc; /* should be equal to XTE 17 u8 soc; /* should be equal to XTENSA_SOC_INTEL_ADSP */ 18 u16 version; 18 u16 version; 19 u8 toolchain; /* ZEPHYR or XCC */ 19 u8 toolchain; /* ZEPHYR or XCC */ 20 20 21 u32 pc; 21 u32 pc; 22 u32 exccause; 22 u32 exccause; 23 u32 excvaddr; 23 u32 excvaddr; 24 u32 sar; 24 u32 sar; 25 u32 ps; 25 u32 ps; 26 u32 scompare1; 26 u32 scompare1; 27 u32 ar[XTENSA_CORE_AR_REGS_COUNT]; 27 u32 ar[XTENSA_CORE_AR_REGS_COUNT]; 28 u32 lbeg; 28 u32 lbeg; 29 u32 lend; 29 u32 lend; 30 u32 lcount; 30 u32 lcount; 31 } __packed; 31 } __packed; 32 32 33 void sof_ipc4_intel_dump_telemetry_state(struc 33 void sof_ipc4_intel_dump_telemetry_state(struct snd_sof_dev *sdev, u32 flags); 34 34 35 #endif /* _SOF_INTEL_TELEMETRY_H */ 35 #endif /* _SOF_INTEL_TELEMETRY_H */ 36 36
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.