Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5789076pxu; Thu, 22 Oct 2020 11:03:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyS742Qo+nCkgBWnPhHukckY+ZzOEuqFMYlb8gG7tN14TqSDR/+dizzGxQXlJJGLsU4Deew X-Received: by 2002:a17:906:c7d9:: with SMTP id dc25mr3448366ejb.482.1603389815873; Thu, 22 Oct 2020 11:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603389815; cv=none; d=google.com; s=arc-20160816; b=amPxXLbp3MfAxRm/he9NN2AUss1PQX6Mg6KbH+jFbHBvtbtf8V7Bad8tec95CiTN4F nbBtQYgNlIeqHsDgMVY5VyAr/pEA301OhBUD9omN6GM/X6t10I797EL870ltWgy4Z1vB 34sIKmEk3IcTPTDe+ZGWDqzoGO/2I+I8K9KhvpHpL14YOBDNUGlNTQvRkyCRC4+5uU7G mM2PnNGIQJagcxH20wg/MAhJZ00OTgdvdSs6jN8911zLKSPaZhLP19gwykbAsP/ZbEoX zP3Xr6aeD0Qint8oA+a+EgVlNu+BnJEsurLlUPqK+LIJoYAu0Tn7MIC0h9ch/2tZAsXy rCFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=qQcssX4y6y38K9RgQ4janqr2ZQAj8lZs3yvwrRKlDUo=; b=0yOz+eIZpCVhaIJkp8Cr0+j8lUMwGnSLDCB9SEpl2iohI51RW8yraGsyJ7xXP7jb8G ds7JZcjoV/Glfd1QxulE1g6lvZVcSuIrO+iBBRCCxQvcSRn3yBqhQcsoiguQXvSJPLYP eqv0vPSBd+wAIHb9tJJBvD4Tk2Z6ludm9xVYftuv/1NwE2aikLeLULPhGXRL0RVTUAVJ GYtz1EnwpSENX8Fe2pOfVv6pim9p7ttFiCEHJJcCh4M8eBslQeUqzw+XQOMacur43eQa Qa8MEjPZS1JB0VCN3xn7orPl4dNiGdMyNLYHkCQn5en8IJwyfEi612u5+AF/ru5zoXw8 /WEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=gjLvTVm3; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=XKQe4eaT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x15si1453039ejf.349.2020.10.22.11.03.14; Thu, 22 Oct 2020 11:03:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=gjLvTVm3; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=XKQe4eaT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S368674AbgJVPni (ORCPT + 99 others); Thu, 22 Oct 2020 11:43:38 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:44415 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2508315AbgJVPni (ORCPT ); Thu, 22 Oct 2020 11:43:38 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2387D5C00C9; Thu, 22 Oct 2020 11:43:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 22 Oct 2020 11:43:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=qQcssX4y6y38K9RgQ4janqr2ZQA j8lZs3yvwrRKlDUo=; b=gjLvTVm3R2ZB47yKS5mM/X73sRUGmxyXVjcoUsZaas/ /qi2TrMEbOOYcG42P5qLYfTnlRMjMbm0ok9XrFl54XUzqoaQNJxGwHGEaGCgJdMS ItWVqAhcQbWeOBdpF7YU9rPdjy1NWgUEt8PT2TxUeSKMa3jDWnFSIQgVH9Av/XpX Y305HV64yMzbwL01mCwc0U/16+tNu175/O+totUYqBEPZjWPD7KW2IRTy8Ms30eh caYccnKn0dihYPDufgEt9TvCCw4d4YbBMCweWEpZnhAsscP11bfEAELvpWhNthWq GcN1BSoQP4Iys53bBPHotoWaKR49zp5iIs5rt+udb/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=qQcssX 4y6y38K9RgQ4janqr2ZQAj8lZs3yvwrRKlDUo=; b=XKQe4eaTOA6vq0wFrUOae1 9DHPqJT41PnPCZ9Tz9Cfkr7hJRhNG5MDa3ikpkR7OfNKXDNEZXx0NMoOGsqVwTbW dn4uLC7zYb2HM9ggB8dDM8q+0voI/rkkum+chqr+82kNmoexxFYU3qAmEb55v+fz d99pD0sHDaXH9rBv4YgoqXV4z9b86Ipyevpm6k1qpoPl32jN/DLBVydBIbu3mAAZ TYh6mA5osD5tSJUE13PFtc2RU3iaAowLOrZS5ziQecxfK1LvTY1wccH/iO6wPVGd uzn99IvvmcqnVWkmXO+tjTJIXDsQTdBclJeuj9lNP7ciMXNZsWyqR5hjWhFHBRWQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjeekgddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeffuedugfdvjeeihedvgefhieeikeelteehteekffetudeiueeggfduueevffet geenucffohhmrghinhepphhinhgvieegrdhorhhgnecukfhppeeltddrkeelrdeikedrje einecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgr gihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 64ED53064684; Thu, 22 Oct 2020 11:43:35 -0400 (EDT) Date: Thu, 22 Oct 2020 17:43:34 +0200 From: Maxime Ripard To: Alexander Kochetkov Cc: Mark Brown , Chen-Yu Tsai , linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] spi: spi-sun6i: implement DMA-based transfer mode Message-ID: <20201022154334.qqkoihzjxzdfhvce@gilmour.lan> References: <20201022075221.23332-1-akochetkov@lintech.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="24oxrxwiyl7dicsw" Content-Disposition: inline In-Reply-To: <20201022075221.23332-1-akochetkov@lintech.ru> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --24oxrxwiyl7dicsw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 22, 2020 at 10:52:21AM +0300, Alexander Kochetkov wrote: > From: Alexander Kochetkov >=20 > DMA-based transfer will be enabled if data length is larger than FIFO size > (64 bytes for A64). This greatly reduce number of interrupts for > transferring data. >=20 > For smaller data size PIO mode will be used. In PIO mode whole buffer will > be loaded into FIFO. >=20 > If driver failed to request DMA channels then it fallback for PIO mode. >=20 > Tested on SOPINE (https://www.pine64.org/sopine/) >=20 > Signed-off-by: Alexander Kochetkov Acked-by: Maxime Ripard Thanks! Maxime --24oxrxwiyl7dicsw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX5GopgAKCRDj7w1vZxhR xR6mAP9cQRYGW5IK0TdSiOXRAXSI4XovnETyUkuY1fx/Re6dCAD8CkftTek57e84 yyPrPE3Cy9Cn+zK4d2OnSjIZIfDv+QY= =6+uq -----END PGP SIGNATURE----- --24oxrxwiyl7dicsw--