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 C385332E159; Fri, 17 Oct 2025 15:15:38 +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=1760714138; cv=none; b=XlqcM266ZRBAs6RyBBCaL02MK+lNFh49+RBGwPrg55lOPSamPnML2MhJB2/hJblKJK6Ie5m9sjWG1ErcSRa/pHE+fmm5DhepCGFemSLT1s1DONJ1Jt2csfm25eGq3XGfhBC7S+mDYjc5ApWQkaJk82wwFCDND6Yh1Zx3vNUPXaQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760714138; c=relaxed/simple; bh=ywRpJ0ci+jbh7pqVxyLP9IEcaTHOTIWshFqFyKOIlsw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WtsRVeLhszfmUeDng9sCRCRh9mRE3qctrYrMNJGe/qHpjw3WRH2Aqy797waJW/5FWL3WlGFpQH4sVuK4++aw3I5MLY7w2U3GaIh+7fg6BUH5J3FMJ+jXvF2MeYYhmO98WJc4ptYI/ALrNpzMcIHkuBcnXuigTeY95mIM6GPhBfM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OkBcUrhM; 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="OkBcUrhM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0EF86C4CEE7; Fri, 17 Oct 2025 15:15:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1760714138; bh=ywRpJ0ci+jbh7pqVxyLP9IEcaTHOTIWshFqFyKOIlsw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OkBcUrhMHzBLwRbs4OcVj7vUXgDLDf1c+2biTtDMohGa+U+8u7NL0Bp8A3I3nCpWU OMVVZataRRvGxrdLfXKu0rYJr9MaPNYfCqlvrZXyOls84tORZzTEYNmk4lpQCb/xga D3xParF7oqed0uYWXz/pgwQy8g196AH0QJx2vrsk= 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.12 041/277] ASoC: SOF: ipc4-topology: Correct the minimum host DMA buffer size Date: Fri, 17 Oct 2025 16:50:48 +0200 Message-ID: <20251017145148.645879210@linuxfoundation.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251017145147.138822285@linuxfoundation.org> References: <20251017145147.138822285@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-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 f4dc499c0ffe5..187e186ba4f8f 100644 --- a/sound/soc/sof/ipc4-topology.h +++ b/sound/soc/sof/ipc4-topology.h @@ -60,8 +60,8 @@ #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