Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp382806pxj; Fri, 7 May 2021 10:38:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWj/e0jpETXafMX4vwkAnQs7+ms7/gvHf9MSd3QTti5JRow6LEmmioQ42UNfafqmj0FAZJ X-Received: by 2002:a17:90a:f684:: with SMTP id cl4mr12123004pjb.139.1620409099641; Fri, 07 May 2021 10:38:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620409099; cv=none; d=google.com; s=arc-20160816; b=zCT39xs7euq1EG2IRfirbkC1AOfA0iUjRRdeCP6uTIgpjAAKlVYCD/ldeK+EOG9cT5 31nQtzo8FOOE6/sI9NAAXiPQuxsdP2hQXmGU/OIUBEpa9ONCLKSUJjjGdtG4o/9QG7qv R0USZd9KBkh/iB9YQqgMH6rbr4wh0vriYpBsuYAVrf1FeGcuBhCoMpfx31Ech5VABWIJ IfmVG8bT/g4vm0u5z0f2S/GkHU6Sl4ikarJODyjB9TTaF/8DaZS9DFSjyGpUXMcqm3jb 5ACFESlCmG4BVcOU/iLw8a8XRDK+3bkNYwEo45fV9fcL10D1kk+Eh2E0G8/CXHUxXf4j 0gPw== 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=dYP29pg/OnV05yhd4OtnZKNb/Vkg7K7Xnr53+6Bu5YM=; b=i7zKZXoevOxCUru3nI1Q4ronhu9P+dqXYivhP5B0BUCx56kIGmeDYk8qPXxYrH4kmE S+BsbLFN33FckUTiSLOD6O6uEOOTiAEct3lc3qHS5hdAj/B1yPOTQbuMVh1J7QkJnjEJ BVDOs6bOp0qQ/Yfmf9mD8OTYSf3XCIv9nAKJRl2oPr3Jz3NvOi5s65fvfxZgGdDo56GV 76k4xMIccBJvinuTqrV/SEsnq+cYUyASu2InKgVAoUSGa+1239IRUGBLjyjtjcDr+mAN AvqZu4EFBwLUwrYxl0x/8ryAMbytW3oIfnTb6UdD5MKI+HByy0p6xPSpaOGx8Gd/HwEU 0jmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="iNbF/LfZ"; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b19si6787389pfi.123.2021.05.07.10.38.07; Fri, 07 May 2021 10:38:19 -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=@ti.com header.s=ti-com-17Q1 header.b="iNbF/LfZ"; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237041AbhEGQub (ORCPT + 99 others); Fri, 7 May 2021 12:50:31 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:57516 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233797AbhEGQua (ORCPT ); Fri, 7 May 2021 12:50:30 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 147GnG6B067773; Fri, 7 May 2021 11:49:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1620406156; bh=dYP29pg/OnV05yhd4OtnZKNb/Vkg7K7Xnr53+6Bu5YM=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=iNbF/LfZSUntCse7qnXSMLHxJaJc2vKUK2EE510Hzt3hvRNqvG5X44O05xxzpPLlS +5F6SB6GlvbQETiu5h5Z9YVtqXzz2cgoslz0bwPJJSniUut5OTWtei07hnTmWXbEL+ X53WUSWSWGH4SRt75O/3ZKa8ivEFMRsApNpRXyq0= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 147GnGuR121556 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 7 May 2021 11:49:16 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 7 May 2021 11:49:16 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Fri, 7 May 2021 11:49:16 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 147GnFZQ055469; Fri, 7 May 2021 11:49:15 -0500 Date: Fri, 7 May 2021 22:19:14 +0530 From: Pratyush Yadav To: Mark Brown CC: Tudor Ambarus , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , , , Subject: Re: [PATCH 4/6] spi: spi-mem: reject partial cycle transfers in 8D-8D-8D mode Message-ID: <20210507164912.hwzsf6q65pfewtdy@ti.com> References: <20210506191829.8271-1-p.yadav@ti.com> <20210506191829.8271-5-p.yadav@ti.com> <20210507154825.GE6383@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210507154825.GE6383@sirena.org.uk> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/05/21 04:48PM, Mark Brown wrote: > 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 Thanks. BTW, s/Reviwed/Reviewed/. -- Regards, Pratyush Yadav Texas Instruments Inc.