From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1CA191946C8; Fri, 17 Oct 2025 15:30:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760715030; cv=none; b=MTHzVHcGGbCQqmoF2uSVd6Py3kBYQacvEWdpz3lcCCLNUq2GWknAQIcFP9uJ/px5A43OeNPqM6cjh8AM9f3A4jT/DEGuepTASsdYfgEAS/HNtxNEHpvRGxpzboJ8HMfj3XlgnoksNGuLyr2OBCxH958efQ+wUHGXROM6Azfjorg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760715030; c=relaxed/simple; bh=QfTyGlMhyBYPhoP2Ef8kz9iEmHf7ma959dHkMXloRB0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GqWh0WppTgqKoEcL8P59YUhcPbp+r6e0snG8Y4vrI9x/8sl+dY2k4c+YRaGxWSzExFh/SQvc66DeMY1yt9T+ftRDpqCcByRuUMJfvRoDeDPhE9ZVokF5ErH3FHA8WEQOpQ4cpLF1inTw2SPin/aYq7ipVzP0va0MzOl6MKujhFw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DNVso1PF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="DNVso1PF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B368C4CEE7; Fri, 17 Oct 2025 15:30:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1760715029; bh=QfTyGlMhyBYPhoP2Ef8kz9iEmHf7ma959dHkMXloRB0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DNVso1PF0OLA7FgaHArRL2+G28qELJxdUOmSw9PXdEjNxaADL5nYYWo1rfOXfokNB 0h0ug95fLF/44MOlKekKtED4J0rYkLVRBQ5SgEPtMqalKoUax+BzMmlBLkUzuces0q cXbns1WS5D056ohUUf7khCXQH9lQY4ndhZknjcPA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Peter Ujfalusi , Ranjani Sridharan , Kai Vehmanen , Bard Liao , Mark Brown , Sasha Levin Subject: [PATCH 6.17 073/371] ASoC: SOF: ipc4-topology: Correct the minimum host DMA buffer size Date: Fri, 17 Oct 2025 16:50:48 +0200 Message-ID: <20251017145204.583181916@linuxfoundation.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251017145201.780251198@linuxfoundation.org> References: <20251017145201.780251198@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.17-stable review patch. If anyone has any objections, please let me know. ------------------ From: Peter Ujfalusi [ Upstream commit a7fe5ff832d61d9393095bc3dd5f06f4af7da3c1 ] The firmware has changed the minimum host buffer size from 2 periods to 4 periods (1 period is 1ms) which was missed by the kernel side. Adjust the SOF_IPC4_MIN_DMA_BUFFER_SIZE to 4 ms to align with firmware. Link: https://github.com/thesofproject/sof/commit/f0a14a3f410735db18a79eb7a5f40dc49fdee7a7 Fixes: 594c1bb9ff73 ("ASoC: SOF: ipc4-topology: Do not parse the DMA_BUFFER_SIZE token") Signed-off-by: Peter Ujfalusi Reviewed-by: Ranjani Sridharan Reviewed-by: Kai Vehmanen Reviewed-by: Bard Liao Link: https://patch.msgid.link/20251002135752.2430-2-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sof/ipc4-topology.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/sof/ipc4-topology.h b/sound/soc/sof/ipc4-topology.h index 659e1ae0a85f9..ce5c69cb9ea4e 100644 --- a/sound/soc/sof/ipc4-topology.h +++ b/sound/soc/sof/ipc4-topology.h @@ -61,8 +61,8 @@ #define SOF_IPC4_CHAIN_DMA_NODE_ID 0x7fffffff #define SOF_IPC4_INVALID_NODE_ID 0xffffffff -/* FW requires minimum 2ms DMA buffer size */ -#define SOF_IPC4_MIN_DMA_BUFFER_SIZE 2 +/* FW requires minimum 4ms DMA buffer size */ +#define SOF_IPC4_MIN_DMA_BUFFER_SIZE 4 /* * The base of multi-gateways. Multi-gateways addressing starts from -- 2.51.0