Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3496465imm; Thu, 17 May 2018 09:38:22 -0700 (PDT) X-Google-Smtp-Source: AB8JxZos1UqKTeXrpR2F1JVxBxr/B5mkCHCq9Ai3FR4CYMGksvDMwQ6H+OXqEzpcs4bKLdk44wxd X-Received: by 2002:a63:7145:: with SMTP id b5-v6mr4648425pgn.45.1526575101911; Thu, 17 May 2018 09:38:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526575101; cv=none; d=google.com; s=arc-20160816; b=qa876+zFSX6xhCsSNJc8/oYzx04VsVkutU1Dg8DHbzL4xbWeTS3TRUWBQrNUBb64PV ON/4q+wG+gvt4lvdonZAmFYx5dLhTB48gNz6fVONn21S9nhL+Tlw7y5XJUXRmFNaKASf mlWwhVImeqCPd5jNMXA59QjT5pTiT8sX1ZYg0PueW1GQFZxnbRwP2habtbw62GzrXiwD e4I+AiWVwg88scxxtWcz9mFOkKc27I6j+DDwcUFWTrPSLNSsun9fBcx1au3unmofFYEB rVe740RzrYZG8Up/nowv6bFMXoRxCI1PUPQzKGliRoEp/8nF865eQBLR5sCpoQKJTHup 72PQ== 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=lxZ9q9G8jFdOI4nzJiUFbsnqxgVB4Yo1nGll/RDxP5Y=; b=lK2mk1g7JGfZQ/coreDMYhEuOrqx799cQNFcFGvk8Vd7ZToCaJAqnsLEyeOBhCXK7D xKrqNQ0oE766ZTsVxHelBj5qryOXY4cCsiPhVhWTVJvYGUPELjFfGIDjN5MJqbp5wJS1 9qvrd0T+g3kLyZ2fHL6q10A8XyGjEU/ZquxPi21Wpr0sBKeess+vTd+BDelbK1LBOH7L Ltsqlx1rClYPZ0U8+/ctHWfh4+R5CADyO6f842LMA5Y6k3TyhtluMnvQpzLyWJpoMYb3 XgqWg/M+eymXAk3c2F/D6Z/RD/0ICC+bEk7hCpiGeYL9Pxd1nOouwFKUlKLSBD1mi/KC uJ6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=JM393GgY; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3-v6si5715420pfb.171.2018.05.17.09.38.01; Thu, 17 May 2018 09:38:21 -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=JM393GgY; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752608AbeEQQhZ (ORCPT + 99 others); Thu, 17 May 2018 12:37:25 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:45802 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752186AbeEQQhX (ORCPT ); Thu, 17 May 2018 12:37:23 -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=lxZ9q9G8jFdOI4nzJiUFbsnqxgVB4Yo1nGll/RDxP5Y=; b=JM393GgYUVhXe1Xea5Dd0LYRd 7EZDA9FWK6wE5ce3ik4C14t7YKo62/8CbLnyTCxCr07iMpKZ7ucyoE0XlGNxNCM2cBZ/F3BFlL1EZ szhDVEmZWKgZoVeD5gAONVkDy4NCvlWuK/ZgbmpeOxPBAahfxe8Hl79/MvUjf6UqnGBoA=; Received: from [37.205.61.206] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fJLtz-0000zJ-F5; Thu, 17 May 2018 16:37:15 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 20E994400AA; Thu, 17 May 2018 08:09:12 +0100 (BST) Date: Thu, 17 May 2018 16:09:12 +0900 From: Mark Brown To: Sergey Suloev Cc: Maxime Ripard , Chen-Yu Tsai , linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/6] spi: sun6i: restrict transfer length in PIO-mode Message-ID: <20180517070912.GR20254@sirena.org.uk> References: <20180330125047.13936-1-ssuloev@orpaltech.com> <20180330125047.13936-4-ssuloev@orpaltech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MRBOAUz+O/XNC2GI" Content-Disposition: inline In-Reply-To: <20180330125047.13936-4-ssuloev@orpaltech.com> X-Cookie: Are you a turtle? User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --MRBOAUz+O/XNC2GI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 30, 2018 at 03:50:44PM +0300, Sergey Suloev wrote: > There is no need to handle 3/4 empty/full interrupts as > the maximum supported transfer length in PIO mode is > 128 bytes for sun6i- and 64 bytes for sun8i-family SoCs. Surely the whole point of the 3/4 full interrupts is to allow the FIFO to be refilled and enable longer transfers? --MRBOAUz+O/XNC2GI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlr9KpcACgkQJNaLcl1U h9BZ0wf+JI/HcuJMj+LF7KzjOoqtzCRJXO9FYEHZkH0CnNmqn+gkuQ8DQLUCwfLA 5HOAJRNGNxMcVimYvBbHcGFBHQyDV7H+off76GRudzi2SbNON8Xx+18X7zd9fOQ+ ThPZLID67VWfC144rQD3pWHHhF3tiS9p/kARvV4DhoxhUwrBAi5VbKlM7LCAJMv2 gRkX/UX5LQKpouF+sQI1005Cc0PSCOF/sEfmvQ+zly/N+1jftROzxOnbDBvQLKZM IKoLThJuyGNUhOeZ+2IlyAydsaFGrX0PBMIc2/1YAiuG0vrmyWlpP+tzs4yOtT4n cvuieMNyLRwpLAkCBXwz13RbVQJPRw== =KOpR -----END PGP SIGNATURE----- --MRBOAUz+O/XNC2GI--