From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 3D4E833A9FC; Tue, 21 Jul 2026 20:40:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784666439; cv=none; b=qA02VZI8iUAkrcnLk2wjZKpj98k8zmciub8PIvTz1b/zcK2g5FJBj1GYU74WOTnPFCQqxEIjq0/rtjyQT1nuxH+jE8zY+C6l4w3pk4dUxKuK4k2kdsf9BIVscHkaf8k1k0ttIwvdDLqRiVSDmd0+ATydRgmCOoPYJ94FG5gszRI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784666439; c=relaxed/simple; bh=XGVV4i4QvYmBFws+9BqjXelPhamS8f7MMt8uGuYwtVc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uIdRyI9B5e0MaClOq8jy4G8J9FsLkfTQbrBCpFaIYWsOU1SB+vbdWwBjZimalYD34lgG2jW1IJuxdV3QOwSgO687+0rZkBEInyws2fJSJZqZZH/t+IVQsc6jdNsG/07bWn8+amrOm8Ldj22Nlx2JE7rhukGIo8nN4yhWgKqWGn8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iMro8rXG; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="iMro8rXG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 783341F000E9; Tue, 21 Jul 2026 20:40:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784666438; bh=7tLqi6Z0ONMvQoXKfNoihFrD33D5J8IAFMF30KLeneA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=iMro8rXGl+oULnditutciReqKnlsalh4CcvBg26+BOwfPb1GKBqWO2jjEU+DYgUj2 6CPdKWkK81Evi2Q8rwatssQohIXMUJbVgI8HsxRtDwW4wVGDBcIDnkdoafAOjc149V /wiiZD7mB12UW10OiBpPPlKLdNagm290W6TIM+lc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Icenowy Zheng , Dmitry Baryshkov , Vinod Koul , Sasha Levin Subject: [PATCH 6.6 0646/1266] dmaengine: qcom: gpi: set DMA_PRIVATE capability Date: Tue, 21 Jul 2026 17:18:03 +0200 Message-ID: <20260721152456.315987745@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152441.786066624@linuxfoundation.org> References: <20260721152441.786066624@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.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Icenowy Zheng [ Upstream commit 4e351f408743354d54ee1af5193fc78234f2044e ] The GPI DMA controller is only responsible for QUP peripherals, and cannot work as a general-purpose DMA accelerator. Set DMA_PRIVATE capability for it. This fixes error messages about GPI being shown when an async-tx consumer is loaded. Fixes: 5d0c3533a19f ("dmaengine: qcom: Add GPI dma driver") Signed-off-by: Icenowy Zheng Reviewed-by: Dmitry Baryshkov Link: https://patch.msgid.link/20260602070344.3707256-1-zhengxingda@iscas.ac.cn Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/dma/qcom/gpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c index 36830efd13f741..a6fc151f8cc120 100644 --- a/drivers/dma/qcom/gpi.c +++ b/drivers/dma/qcom/gpi.c @@ -2252,6 +2252,7 @@ static int gpi_probe(struct platform_device *pdev) /* clear and Set capabilities */ dma_cap_zero(gpi_dev->dma_device.cap_mask); dma_cap_set(DMA_SLAVE, gpi_dev->dma_device.cap_mask); + dma_cap_set(DMA_PRIVATE, gpi_dev->dma_device.cap_mask); /* configure dmaengine apis */ gpi_dev->dma_device.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); -- 2.53.0