From bb5f22b1203b6845e46328d1c0f452b86bf5011b Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Thu, 15 Feb 2024 13:25:34 +0200 Subject: [PATCH] ipc4: fw_reg: downgrade FW_REGS version to 0 to disable delay reporting Disable delay reporting as a workaround to bug https://github.com/thesofproject/linux/issues/4781 SOF driver checks the ABI version and if it's not 1, delay reporting is disabled. Signed-off-by: Kai Vehmanen --- src/include/ipc4/fw_reg.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/include/ipc4/fw_reg.h b/src/include/ipc4/fw_reg.h index a0f450954050..1a5910a60290 100644 --- a/src/include/ipc4/fw_reg.h +++ b/src/include/ipc4/fw_reg.h @@ -138,7 +138,10 @@ union ipc4_rom_info { #define IPC4_MAX_LLP_SNDW_READING_SLOTS 16 /* Current ABI version of the FwRegisters layout. */ -#define IPC4_FW_REGS_ABI_VER 1 +/* NOTE: Set ABI_VER to 0 to disable delay reporting until + * https://github.com/thesofproject/linux/issues/4781 is fixed + */ +#define IPC4_FW_REGS_ABI_VER 0 /* FW Registers exposes additional DSP / FW state information to the driver. */ struct ipc4_fw_registers {