Received: by 10.213.65.68 with SMTP id h4csp2456592imn; Mon, 9 Apr 2018 03:57:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx49LLK3dfeP7eA6IPxNxKmC9TxDeOLt/+5smsJErdnCpuBXAMQNoCgpi7Ulnfgnd1oHuhJxL X-Received: by 10.101.87.138 with SMTP id b10mr24659177pgr.241.1523271473122; Mon, 09 Apr 2018 03:57:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523271473; cv=none; d=google.com; s=arc-20160816; b=VTN3rcRk3Y7vk0fYNk6JAvvHMHIwU6gI0lQh3b9glslFGFhxHLOfvjwf2B6houBRMW WOIZeshfhDA61J9shXCuSBGOo6UoGYxJV5Oq5NnPP8m1umZeCWbkuDXpIKb8l2MQCClr 8ainxh/XuN9ZkBbv6laF68iENP28yobM4A80fcWpUMLS5XQD5LJ0ZRSibUA/yxq2DuR3 +3Pr5NVcxNaW2neLIck6+hgGPxg+YORsCeBLDqCUr+1Ig8okw5WMnJa36J4pgmM/Bh3B DEpeaTEVSUqwGuGQgtAnYjolPOF094v/lh81dicUvcGwRiWM2ELz1KO81runV4r3OaJW +zSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=jWa6AcJZOtLekR4eBbATV6ncys8ylLoBKvwcfheubqQ=; b=TVY+LoEZa/9HzbY6fkYoOq3wFzk+BnZpMZqIBvcXVVLYmkLgcm7OuCdmxnTnN4mmuR u7a0ys4BMdJW6OvTyg7HpmBNUJDhBsG2v5sDduxE4u7j++GAC2gLjlKdVVG4zqnukfAG 0Yl61/HLtq1kKX5XWH1N6ARPIcjpCc7K2XbSt7/flma0YGC3YcsPlCAoBBm9iHCwlmEG sFWrkfhCGTd4uQIBcqmOJe/xq1peNXJKWPCLbKKfJQdEW5m3vPsIhw8HyfBSrxNCM8Lu pjoyP/xDDGgKHhCLCPiO/KeGpSoR2Gr+7b9P462o2D4Q5DYN5fZ59xukRCfy0uiLYxTx 03qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=sOmsruPt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2-v6si55808pln.533.2018.04.09.03.57.16; Mon, 09 Apr 2018 03:57:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=sOmsruPt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752391AbeDIKuP (ORCPT + 99 others); Mon, 9 Apr 2018 06:50:15 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:57064 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752351AbeDIKuO (ORCPT ); Mon, 9 Apr 2018 06:50:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jWa6AcJZOtLekR4eBbATV6ncys8ylLoBKvwcfheubqQ=; b=sOmsruPtdyEx2gJK3Hqh3YJmo pHkWgm2NoOoIOi1jA1fYqawopx4lzPMUask9PURnH2YjUjjSb9G8xDnO54uYuYWcck88RvC8O5Z8E aPEMuQGHkcY9eb0qe0LXAaD+aUIsorIHIdgFufRVUtdDCEsiMm9oEQ6ARCJodm22eqlzY=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5UN8-0003MN-60; Mon, 09 Apr 2018 10:50:02 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1f5UN7-0005NP-HW; Mon, 09 Apr 2018 11:50:01 +0100 Date: Mon, 9 Apr 2018 11:50:01 +0100 From: Mark Brown To: Sergey Suloev Cc: Maxime Ripard , Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org Subject: Re: [PATCH v3 3/6] spi: sun6i: restrict transfer length in PIO-mode Message-ID: <20180409105001.GC11532@sirena.org.uk> References: <20180404065048.n76r3ytuznd6fqsl@flea> <20180405091913.ky4dnmszoobn2xry@flea> <20180405131735.GB12349@sirena.org.uk> <8159c3a5-af74-9f13-aedb-7ecc708bdff6@orpaltech.com> <20180406073441.xesojvzc3deljhoy@flea> <204e97cb-2f39-00f0-fd4e-3aa9a51f7cac@orpaltech.com> <20180409092730.2moyhl5aaktjwbyn@flea> <94a394bd-89bf-9334-c500-4cbadf4c1044@orpaltech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9Ek0hoCL9XbhcSqy" Content-Disposition: inline In-Reply-To: <94a394bd-89bf-9334-c500-4cbadf4c1044@orpaltech.com> X-Cookie: Professional sample - not for sale. User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --9Ek0hoCL9XbhcSqy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 09, 2018 at 01:26:23PM +0300, Sergey Suloev wrote: > On 04/09/2018 12:27 PM, Maxime Ripard wrote: > > On Fri, Apr 06, 2018 at 06:48:23PM +0300, Sergey Suloev wrote: > > > On 04/06/2018 10:34 AM, Maxime Ripard wrote: > > > According to what you said the driver must implement > > > "transfer_one_message" instead of "transfer_one" > > I'm not sure what makes you think that I said that. > Because current implementation tries to send more than FIFO-depth of data in > a single call to "transfer_one" which is wrong. No, that's absolutely not the case. All any of these functions has to do is transfer whatever they were asked to, how they do it is not at all important to the framework. --9Ek0hoCL9XbhcSqy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlrLRVgACgkQJNaLcl1U h9CnYQf9ErPlv8aRIR4+w+dvvkn8OrxLG9toRNkFR0JAiEVl9JIZ1/BGej1IevOx UiAIIYJAh2coZTAyQGBYGVvuPsXm2YudxIbGRRRvtVKv5ibJ4ze5lG6m0z4sSlJB Gyx3U0eev6uKPKccVLXBJeRDNdpzAAW0Cwrji9kSct+GaHfBPBfgegq2I1lKl6Mb Hhm117nHhYmnBstCjlVJEqYAXDfQvtE758KQEjuqF05/HUfJBdtY3QvSCb3/AL68 HYOWAshITARltEQWc11X7+4uaooKvGUmQebGQb5cH4dmLvYQS+uaLpWesDMcosJt ZLWzxtuTxxyQ9c1C+np2SIdYaL90VQ== =4EpX -----END PGP SIGNATURE----- --9Ek0hoCL9XbhcSqy--