sound/soc/sof/ipc4-telemetry.h

Source file repositories/reference/linux-study-clean/sound/soc/sof/ipc4-telemetry.h

File Facts

System
Linux kernel
Corpus path
sound/soc/sof/ipc4-telemetry.h
Extension
.h
Size
1783 bytes
Lines
74
Domain
Driver Families
Bucket
sound/soc
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

struct sof_ipc4_coredump_hdr {
	/* 'Z', 'E' as identifier of file */
	char id[2];

	/* Identify the version of the header */
	u16 hdr_version;

	/* Indicate which target (e.g. architecture or SoC) */
	u16 tgt_code;

	/* Size of uintptr_t in power of 2. (e.g. 5 for 32-bit, 6 for 64-bit) */
	u8 ptr_size_bits;

	u8 flag;

	/* Reason for the fatal error */
	u32 reason;
} __packed;

/* Architecture-specific block header */
struct sof_ipc4_coredump_arch_hdr {
	/* COREDUMP_ARCH_HDR_ID to indicate this is a architecture-specific block */
	char id;

	/* Identify the version of this block */
	u16 hdr_version;

	/* Number of bytes following the header */
	u16 num_bytes;
} __packed;

struct sof_ipc4_telemetry_slot_data {
	u32 separator;
	struct sof_ipc4_coredump_hdr hdr;
	struct sof_ipc4_coredump_arch_hdr arch_hdr;
	u32 arch_data[];
} __packed;

void sof_ipc4_create_exception_debugfs_node(struct snd_sof_dev *sdev);
#endif

Annotation

Implementation Notes