Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5315841pxu; Wed, 21 Oct 2020 21:30:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3y/f9w2AY8/D8pukWAOdoFHQVZTWzD3gcNtmnybe5dWqzo81JXkbrP7ZXZ/MTPHA7vq6B X-Received: by 2002:a05:6402:17e4:: with SMTP id t4mr612113edy.118.1603341037032; Wed, 21 Oct 2020 21:30:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603341037; cv=none; d=google.com; s=arc-20160816; b=IJ/qe8FXVssZePCsyFeKEVZyva+DBhAE2EBW6IR5P6Xsf8li7mJAN15pV2v0tOkWon O2O++7O5rEt4Vnz0tafTKPfQ7Nwjlq8FsVc53ggP/hflQ627h7D1VbbuxWELcIOrdxUI ZjSfwC2CmOgIp9X4aLVTjrwJJYPmJsWVokAr54IRcxqaVAs9astzCfRwG3xNrkK+wSQr 0HAcJebFi4jlucxDdEsnpVxlUNFJkHOwD3cq+CIKoryIgNzYhaZJ8JyAexTAUkOl+6Ja mT3WnrmkqRXgsz6WIaS7G1uUFtjAPHpoSChkuzYnxoMEkND+z1od7fwn653kEkiACN/I Dh8A== 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=qxb2dhapqEcV1wlUzpI50HpbL56z//q+bmCX0zPuRWk=; b=0L4iH8JioNV0kwfVYGhD+05qhjMj8JmuekFsJXqK4RTixQqBcbC+gdXNDBwkBM2M7j c2E4cLphhct0BS2fvBqLN0hu7ZxovorHQs0hDve6NVMVsoTYtY1Ow2XAPqaZjrQQqyob cM3/MCksnGGDmhHd+nl3EKBPVZW8E/Ew3Tb5RL8lf77ansvYF/uBqliLzICQVldeLNec qy1g5X3omwVnF2j3zLUvWRMt9+CTs/bhK7c3ch09Wizoj1/FPJ78JiU86SgN9JycV0Ko uDMUY0XNRrjJRGllfYcssDjqWsqlO/qC8onhAaLgMX5THxPwo7sgXlqxadUMD9ydxQJ/ AJIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=iuWAIt2X; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=iU2dQe7Q; 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 dr8si167626ejc.671.2020.10.21.21.29.46; Wed, 21 Oct 2020 21:30:37 -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=iuWAIt2X; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=iU2dQe7Q; 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 S2443929AbgJUPDx (ORCPT + 99 others); Wed, 21 Oct 2020 11:03:53 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:38715 "EHLO wout1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2443567AbgJUPDw (ORCPT ); Wed, 21 Oct 2020 11:03:52 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id D535EB56; Wed, 21 Oct 2020 11:03:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 21 Oct 2020 11:03:52 -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=qxb2dhapqEcV1wlUzpI50HpbL56 z//q+bmCX0zPuRWk=; b=iuWAIt2XcaEtAHn23qs5m92uT1vkZNTgIK12LRSyAqR XoIF76zW0AhIBPocwKxxyGc6912NVKR1TUWLIqsdiGKxOSGW1DUawXkVXosY+UkO sNqAhHBd8M/cOYU8UsGWbtT1QVUjNBGkKg2Gn7L2kVc/YbyFrmUFZ9RhW4gtTrBt g1fyOIV5+1zHjEqdCDNqkyDwGaoUW7W6e/5K0p2AlMRbKpj1g9pBgr/qHOotCZRK tuY74vNKth41EoVZj0VEWWe98Nt2rCJqcKDUaqXIxx2gxDu/elm6BuKSKk9u2xSO F3EXmrOgtDGxXrt4jyB/63AED0uI5+r+bnHjjr1Ksrg== 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=qxb2dh apqEcV1wlUzpI50HpbL56z//q+bmCX0zPuRWk=; b=iU2dQe7Qx7Wu8kCpHOCyig FGNSeeIWoVYLqRsDiq5p3rdSeWvD18xiV2gbm7SCoQHF5eBPp2tc62WgSsevE0pf IKiK0DYdkQvZG4YyH2nUmmTLewIZUCrU1d223IFBwq9ZcvBjHpJy5cY7YHt5vN3w DCYe9E4I/uvJLK+ptxuVxDH7rVFrrnv4OGJD85XEPH9/r65en9c+dcrZl+tmM7/w 2+HcbvCC4k/wL7UFJ9F/cGnpQKc4jiPCxcK6ypZm4eUx6E+CQ95tihIT3Dsa7kYP YuGMmznmxatXIH3JbiObiR4YzaKKPm2o/siZuK3cIPehVUjfU9Og0lMx0EtKo0Pw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjeehgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtjeenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeelvefggfevhfdvueejkefguedtleeujeevjeevhfdvvdefgefgffdtgfelgfdt hfenucffohhmrghinhepphhinhgvieegrdhorhhgnecukfhppeeltddrkeelrdeikedrje 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 48FE13064610; Wed, 21 Oct 2020 11:03:50 -0400 (EDT) Date: Wed, 21 Oct 2020 17:03:48 +0200 From: Maxime Ripard To: Chen-Yu Tsai Cc: Alexander Kochetkov , Mark Brown , linux-spi@vger.kernel.org, linux-arm-kernel , linux-kernel Subject: Re: [PATCH] spi: spi-sun6i: implement DMA-based transfer mode Message-ID: <20201021150348.g2anzbqalhrmypdl@gilmour.lan> References: <20201015154740.20825-1-al.kochet@gmail.com> <20201019082129.myxpxla5xwoqwldo@gilmour.lan> <4EC91DD5-5611-4B48-B6FC-00690B400584@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cswefexiyy5rohzg" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --cswefexiyy5rohzg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 20, 2020 at 11:52:34AM +0800, Chen-Yu Tsai wrote: > On Tue, Oct 20, 2020 at 1:43 AM Alexander Kochetkov = wrote: > > > > > > > > > 19 =D0=BE=D0=BA=D1=82. 2020 =D0=B3., =D0=B2 11:21, Maxime Ripard =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0): > > > > > > Hi! > > > > > > On Thu, Oct 15, 2020 at 06:47:40PM +0300, Alexander Kochetkov wrote: > > >> DMA-based transfer will be enabled if data length is larger than FIF= O size > > >> (64 bytes for A64). This greatly reduce number of interrupts for > > >> transferring data. > > >> > > >> For smaller data size PIO mode will be used. In PIO mode whole buffe= r will > > >> be loaded into FIFO. > > >> > > >> If driver failed to request DMA channels then it fallback for PIO mo= de. > > >> > > >> Tested on SOPINE (https://www.pine64.org/sopine/) > > >> > > >> Signed-off-by: Alexander Kochetkov > > > > > > Thanks for working on this, it's been a bit overdue > > > > Hi, Maxime! > > > > We did custom A64 based computation module for our product. > > Do you mean that A64 is obsolete or EOL product? > > If so, can you recommend active replacement for A64 from Allwinner same= price? >=20 > I believe what Maxime meant was that DMA transfer for SPI is a long > sought-after feature, but no one had finished it. Yeah, that's what I meant :) Maxime --cswefexiyy5rohzg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX5BN1AAKCRDj7w1vZxhR xeajAQDDQfn/PTTmGCss/aqPhvUim5gLLSaV4p3P4gdxSpylWQEAkHNQa448LP1N bvAej+dehNCy7akUYd7zXzYe3O5QNwM= =CuAY -----END PGP SIGNATURE----- --cswefexiyy5rohzg--