Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp378806pxj; Fri, 7 May 2021 10:33:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWY/qYMRyPwaVplHIO0lhepfvZdQzweD/CPWrhLtzepftk9/0FYsffdl/xMedCGEAivTdV X-Received: by 2002:a05:6402:1013:: with SMTP id c19mr13018208edu.213.1620408786876; Fri, 07 May 2021 10:33:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620408786; cv=none; d=google.com; s=arc-20160816; b=0WnZI/jPwCYbojnWWXNSbh+E7p89XXGsnTQDYpOaEr8E7XMsNE89v3kkISeH97Q8xD xoj6j2mKUSMFdtO3s6wI3TuEnoiDWxPbDXh4hNgKOJCjFnHES9+wvU7jOhPIHczPyOes EDlyAPB7c4UN3hsBLk69NI7mUcCwZZfm+W/4fdpnv5FbPv7JXhpzMscPXNvS2QAWTWxr 1bdmVyH55jYlX2Pg1bdvu+MrgkYy74pfhE+CbbygbWCInPDLI20Ba4toC3opSCLUIVYY h5I7q7wziVe2bq2HjRUspPreGogIk+JN0rJP6tUF+1qVFF54ixBDLbNYoPc89sbGkCNc Pf+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=zo5ZaLSYcdR5moJLPq+dp/uSFCyN6+28ysDvX0t73as=; b=ee4nTU37cpAH2ffJSmzzIoQPz7DLTvIekpNTYWN3JnFM1wYSFdzjS9N69U8PvAkj4v VFSOa8PlxtZ7akm8Em6XUWTqw1sUj0/dAK6Eq2Wk8aJfEHmiZ+0xet2QuZz2cR6rF/BW EemPtpJ0IlS97qyCDoPl+841UWpw/YjUVz3s4MqugzyFSiQiV8kXlJSVi8J/P+ggzUlX miNW5m3WZfrXNBWe74UZKDzZp0JxEdBuE9s4KTYHK+KvQfkPp980dUl/vGnUwLYNr7nF A90j0LaOD+Y5rs5bOmfCk47KF4dPqnBgzxRm+xLSgXqMMtePqMs5/DbjP01BZFQGkOC8 HI6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HYH4zmKq; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gs16si5542925ejc.156.2021.05.07.10.32.42; Fri, 07 May 2021 10:33:06 -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=@kernel.org header.s=k20201202 header.b=HYH4zmKq; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236963AbhEGPuE (ORCPT + 99 others); Fri, 7 May 2021 11:50:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:46086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbhEGPuC (ORCPT ); Fri, 7 May 2021 11:50:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 35869610E7; Fri, 7 May 2021 15:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620402542; bh=zo5ZaLSYcdR5moJLPq+dp/uSFCyN6+28ysDvX0t73as=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HYH4zmKqXK7asr2NCrAehDy7TJy4roOiA59dsBYIB3Y1rS3DLCAPQ1EIfdXmJlmIG Lt31BDaF66DRiGb7F59boyJ6YvUqskTClejh8D9H+trDNsjE0g2pnHIwp9in4wZTvv TggzLHr2yvnEYtCjj+6IxiB2fL8ladoShAtn4iuUwgGcxZ2xFOszRLhGbKVl0s4Fdi F9Ld2SS6TAFQJr7WBBIyO0jBXXkcPIxN71xl5G1XF1YwdjrpT1zodVRK0QbSfb1uoT hooQlM3yoTtHQsb5WQI/PIsTGEmPPRwcKQ/pcsNuRwjfnOf/h8VWNC193S5rfTPCJy aG20rwLR+AOBg== Date: Fri, 7 May 2021 16:48:25 +0100 From: Mark Brown To: Pratyush Yadav Cc: Tudor Ambarus , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Subject: Re: [PATCH 4/6] spi: spi-mem: reject partial cycle transfers in 8D-8D-8D mode Message-ID: <20210507154825.GE6383@sirena.org.uk> References: <20210506191829.8271-1-p.yadav@ti.com> <20210506191829.8271-5-p.yadav@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Ns7jmDPpOpCD+GE/" Content-Disposition: inline In-Reply-To: <20210506191829.8271-5-p.yadav@ti.com> X-Cookie: Postage will be paid by addressee. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Ns7jmDPpOpCD+GE/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, May 07, 2021 at 12:48:27AM +0530, Pratyush Yadav wrote: > In 8D-8D-8D mode two bytes are transferred per cycle. So an odd number > of bytes cannot be transferred because it would leave a residual half > cycle at the end. Consider such a transfer invalid and reject it. Reviwed-by: Mark Brown --Ns7jmDPpOpCD+GE/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmCVYUgACgkQJNaLcl1U h9D6iAf/X83wkW3EXwEG5bkyXGYvMLHjg2mUnr/2c7Sz3BjRF3mdrCLzBrI4He6j ndjUdq1s6d+AHEc34fMt1bamADb8ZeIlb8UNoJn/RpyZdtDIpNjnBey1jEGBsKBA a7gOkAiauV+IsanHu1ams3Ox8kcc3FLTsGF3DKc9RAo0HvjnWaxbdAG5Ygck+5GJ IsbAlJ2PxbIDI4wQwwJxRzUUZpCbPkMAQmG9H2KhyVcLZPXDDyrz81+eLlwBvhlp qJYYtL6RU5UNpMWEDMFPyMOHoKSNOihKZ4LUItsEMH91DYxcJDmbJncFy8Fh4hJg ey6Urvm1TTwaQfCxkaIPjVimR84ODQ== =nP+B -----END PGP SIGNATURE----- --Ns7jmDPpOpCD+GE/--