Received: by 10.213.65.68 with SMTP id h4csp1931719imn; Thu, 5 Apr 2018 06:19:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx49kxbx9KtT5lN8LMplwnYtR1E4r84w2d8TZU7r82e2GXeujlXkoE/IuWv9vXdYxSMh1icnH X-Received: by 2002:a17:902:a5c9:: with SMTP id t9-v6mr22915254plq.265.1522934362487; Thu, 05 Apr 2018 06:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522934362; cv=none; d=google.com; s=arc-20160816; b=EEFNjPKeKlQnNNFO+yJc1W9KSUjNBCErCBBD4cfPycjvK92CDdDGD9mUQcyE4KBtyG LMD7r94O3hOQNFZG/XYjyAOTGLc5LTWLpfS54D+23Cw05v3YG/WxmeAedZRDHM/T4dZD ubH4YOT6LEe04MSAgrfoATqxUTA/ZfsiXJziIKSxWojU3FmM2lr+S7T7FEdXs7acF0lv vKNK62iaX9uArmgNBCHzWFwlG/rDi3RQXvqJtxIQkisYKLleolE2OPh9ygwzu6Frmmrm aWGsxXIRwnhqw9H232616I6fB7/QSH4vzK76Upq0C2ed8hhaDafkJ3EY2vbPSK/Vhwli eEOA== 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=9fOdO6ihc1gevE4TFHoj/WWdtK2ueYyka8KTqxLEESw=; b=B67tVfS89SDOwhPyvYdfadKyYsgDFPHbm+GK5xE0KVwoaUT8esYw8bwSkKvVnizSpz L1Ie/HoCQ+OwQyn3hOzJoQx2qWNkblgtdK+GQgPhKVcTE7Y2L88djvEaNgc/tmL0gagC MC7yZFzPrkFbBEMqQEo2wEj7Cey/8mrvcas/azWHUE+/+GLBnSPqwtklA1dOckE/kjh/ sIrAL19VXe7IwxKX1ydOEyWj/axpdPOncxMru/hsZkgPtdateBO670EBz+Zlmj3bcrx4 e5KeMGqrBPRNPXMPg0GJpt2XekaLlKQF0tbWewXz8e/KaDQ7F9My3WH1bTrePDfIFevx nlrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=dF0YuPce; 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 p125si5413175pga.396.2018.04.05.06.19.08; Thu, 05 Apr 2018 06:19:22 -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=dF0YuPce; 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 S1751773AbeDENRt (ORCPT + 99 others); Thu, 5 Apr 2018 09:17:49 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:41496 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751704AbeDENRq (ORCPT ); Thu, 5 Apr 2018 09:17:46 -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=9fOdO6ihc1gevE4TFHoj/WWdtK2ueYyka8KTqxLEESw=; b=dF0YuPceVhhgvhw71fSW1tCIB xqoZEPwcgDlJKNnl101SxAzp1Lmw78ig+NtNWzghdHdzoZYFUhknTqPlWodDSU1KQy8rUeL0svTlO 2j4PFxTgRXewVeoa8oM90VM/iO1n5USPryh1x8qK0b22tfulyyK/zWJaAX+nApcv0OtYo=; 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 1f44lk-0006IP-IB; Thu, 05 Apr 2018 13:17:36 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1f44lj-0002ND-GW; Thu, 05 Apr 2018 14:17:35 +0100 Date: Thu, 5 Apr 2018 14:17:35 +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: <20180405131735.GB12349@sirena.org.uk> References: <20180403154449.2443-1-ssuloev@orpaltech.com> <20180403154449.2443-4-ssuloev@orpaltech.com> <20180404065048.n76r3ytuznd6fqsl@flea> <20180405091913.ky4dnmszoobn2xry@flea> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="v9Ux+11Zm5mwPlX6" Content-Disposition: inline In-Reply-To: X-Cookie: Last week's pet, this week's special. 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 --v9Ux+11Zm5mwPlX6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 05, 2018 at 12:59:35PM +0300, Sergey Suloev wrote: > On 04/05/2018 12:19 PM, Maxime Ripard wrote: > > The point of that patch was precisely to allow to send more data than > > the FIFO. You're breaking that behaviour without any justification, > > and this is not ok. > I am sorry, but you can't. That's a hardware limitation. Are you positive about that? Normally you can add things to hardware FIFOs while they're being drained so so long as you can keep data flowing in at least as fast as it's being consumed. --v9Ux+11Zm5mwPlX6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlrGIe4ACgkQJNaLcl1U h9BmoAf/ahzcFkuIYLDWPJ6YcVmSo2FrEo9db3cgyBVAdYr5Mjc8tfXGcALZWqu6 gfPNrxkvZwpj7AB7XTFeVwr51tYriWPmAbRhBQ/jGH97hovKCQ1Etibg9Sazvdgi JMdB4P27ZkULOa9E7NFHdKGnf8FEPjhZX7/bXLeGBUII/R4BMQD2uE8DPpBeKtMl dtfk+gvwHf/n18H8kp9SQ8+BGaZ/jd5hjZcwS+ELHGfNkSe2dCgRt+l/jelx1xKd evkyGmpaQa/rWzFHqQcjuCPlinwKuoqH26vb/RCD1KDHgeefq/kHwWKzhid5FSfF QkT8QJXlGj+g2Q5NqwJ4+VbbR2pZsw== =0+Ns -----END PGP SIGNATURE----- --v9Ux+11Zm5mwPlX6--