Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6665919rdb; Fri, 15 Dec 2023 05:19:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGg+GS1DB7z9IfebdSfPV+71Rq5JgUPnrwfcPnl5j8qDeKHmKdcrJC/sHh21Irq1NQf7Dq6 X-Received: by 2002:a05:6808:1786:b0:3b9:cc1e:4726 with SMTP id bg6-20020a056808178600b003b9cc1e4726mr14983009oib.75.1702646347522; Fri, 15 Dec 2023 05:19:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702646347; cv=none; d=google.com; s=arc-20160816; b=hnGlGVsA1ogLYQqWYg+1pd2XSV27LQA3vuUOCiqjkjDGu6jvJEIseMMJeS1+I44yw8 Z2PjkTWDJQ1NdF14EFXLefdnqkAWwqi1+4S7wZqYYiMnWzrnx2fkffdYJ4TU/RG+l/oK K9rV2h3PTzqTvb/9nwsgt42NV9BIfvtETvV+LS+iv+qO7t1HePfmoVQ+8+MPO5PSZEfd 9q3QNrtiOECtXasEP59BcHvYP6Tn6150jtA2AsWSb4Y4seodtfYWm2zL60+haOuxt9m3 mt4TaJ7s24yIYdjp5PAdmq6XmJVaODVpwIWUpzEZGVeicZ0//yZW+wY6eZALQNuTL+tD Rc5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=lpAu/d+BadtNM8H50tJnl00JvfI119f25JB4NGpdWMc=; fh=lq3uIejE9+UCb9GhFK9s8FDaMDYUiH23kGvWD8KW0Eg=; b=zenP4ye7H7CDQyjI5/o2EKd51a7AkBGUq1B12zADmwje6gsaN1yPVTE1XdZZ9jeogw uAoYyX+WyI7Ml67q4mmeQztqo/Y7cm4mO2mTH+/APn82W/vjT4k3SLPj9FWnqKM5Zdqp RK6fIUDwTFLf0vT7E+aFYcrOshAaRvMEoRiBpQ5UBdo3W8YKN55SzSxe6NYZDP9Fc10o Ahao1x7/PrgpULNKTMxmBuiXDYfGf/okv2w19Bw3Yg8WzDicVPgfWFgo4/9pWfRqC2DH 4LiNXJs2gILM+pmw/LYmQmuR4XA7mM7enFi27fhLqqVbF2C59veZ4tQe+ukAkvQirTK7 zp8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=eMxqBcfM; spf=pass (google.com: domain of linux-kernel+bounces-992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c16-20020a67f9d0000000b0046671d9e4ebsi72438vsq.778.2023.12.15.05.19.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 05:19:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=eMxqBcfM; spf=pass (google.com: domain of linux-kernel+bounces-992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4065E1C23AF1 for ; Fri, 15 Dec 2023 13:19:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B8FDC2D7BD; Fri, 15 Dec 2023 13:19:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="eMxqBcfM" X-Original-To: linux-kernel@vger.kernel.org Received: from aposti.net (aposti.net [89.234.176.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C80CE2D79D; Fri, 15 Dec 2023 13:18:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=crapouillou.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=crapouillou.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1702646029; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=lpAu/d+BadtNM8H50tJnl00JvfI119f25JB4NGpdWMc=; b=eMxqBcfMP0DV0n+emq0JfrNQtly3RitIdhiUbi3fNOab3IS1rr2eZvlLQt+JaTiqwJCE89 yVj29eXlvSH551gHhZGLqUV3ZOA6uENM3WKO8mzm6CcF5zL9KVadKw/nmVL/VPyG5P3d30 fDSamI4ChwycsfSF0aSMbCC+ObqI9Z4= From: Paul Cercueil To: Vinod Koul Cc: Lars-Peter Clausen , =?UTF-8?q?Nuno=20S=C3=A1?= , Michael Hennerich , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH v2 0/5] axi-dmac: Add support for scatter-gather Date: Fri, 15 Dec 2023 14:13:08 +0100 Message-ID: <20231215131313.23840-1-paul@crapouillou.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam: Yes Hi Vinod, V2 of my patchset which introduces scatter-gather transfers support to the axi-dmac driver. I updated patch [1/5] with your feedback. Patch [4/5] was updated as well, so that cyclic transfers are restarted properly in the EOT. This was a bug in my V1, but it was fixed here just for bisectability, as the new patch [5/5] will improve cyclic transfers by linking the last descriptor to the first one in a SG chain, which means that the EOT IRQ only needs to call the callback associated with the cyclic transfer, and the EOT IRQ can be masked if there is no callback associated with it. Cheers, -Paul drivers/dma/dma-axi-dmac.c | 280 +++++++++++++++++++++++++------------ 1 file changed, 191 insertions(+), 89 deletions(-) -- 2.42.0