Revert "unicode: Don't special case ignorable code points"
[linux.git] / sound / soc / sof / intel / telemetry.h
blobe4e91943a41ae53851a1acb03a0c905b45bafef3
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.
6 * Copyright(c) 2023 Intel Corporation
8 * telemetry data in debug windows
9 */
11 #ifndef _SOF_INTEL_TELEMETRY_H
12 #define _SOF_INTEL_TELEMETRY_H
14 #include "../ipc4-telemetry.h"
16 struct xtensa_arch_block {
17 u8 soc; /* should be equal to XTENSA_SOC_INTEL_ADSP */
18 u16 version;
19 u8 toolchain; /* ZEPHYR or XCC */
21 u32 pc;
22 u32 exccause;
23 u32 excvaddr;
24 u32 sar;
25 u32 ps;
26 u32 scompare1;
27 u32 ar[XTENSA_CORE_AR_REGS_COUNT];
28 u32 lbeg;
29 u32 lend;
30 u32 lcount;
31 } __packed;
33 void sof_ipc4_intel_dump_telemetry_state(struct snd_sof_dev *sdev, u32 flags);
35 #endif /* _SOF_INTEL_TELEMETRY_H */