diff --git a/include/sound/sof/trace.h b/include/sound/sof/trace.h index 49f0f310d9029b..7d211f319a92e2 100644 --- a/include/sound/sof/trace.h +++ b/include/sound/sof/trace.h @@ -54,6 +54,7 @@ struct sof_ipc_dma_trace_posn { #define SOF_IPC_PANIC_STACK (SOF_IPC_PANIC_MAGIC | 0x8) #define SOF_IPC_PANIC_IDLE (SOF_IPC_PANIC_MAGIC | 0x9) #define SOF_IPC_PANIC_WFI (SOF_IPC_PANIC_MAGIC | 0xa) +#define SOF_IPC_PANIC_ASSERT (SOF_IPC_PANIC_MAGIC | 0xb) /* panic info include filename and line number */ struct sof_ipc_panic_info { diff --git a/include/uapi/sound/sof/abi.h b/include/uapi/sound/sof/abi.h index 98da1236cd66b3..37e0a90dc9e6c3 100644 --- a/include/uapi/sound/sof/abi.h +++ b/include/uapi/sound/sof/abi.h @@ -26,7 +26,7 @@ /* SOF ABI version major, minor and patch numbers */ #define SOF_ABI_MAJOR 3 -#define SOF_ABI_MINOR 3 +#define SOF_ABI_MINOR 4 #define SOF_ABI_PATCH 0 /* SOF ABI version number. Format within 32bit word is MMmmmppp */ diff --git a/sound/soc/sof/core.c b/sound/soc/sof/core.c index 2ca716f5dd8970..22b2f152837480 100644 --- a/sound/soc/sof/core.c +++ b/sound/soc/sof/core.c @@ -144,6 +144,7 @@ static const struct sof_panic_msg panic_msg[] = { {SOF_IPC_PANIC_STACK, "stack overflow"}, {SOF_IPC_PANIC_IDLE, "can't enter idle"}, {SOF_IPC_PANIC_WFI, "invalid wait state"}, + {SOF_IPC_PANIC_ASSERT, "assertion failed"}, }; int snd_sof_get_status(struct snd_sof_dev *sdev, u32 panic_code,