Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5891808imm; Tue, 12 Jun 2018 15:25:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIuRzNaby7m5Q08RN6RXPynrdMuYvjqjhIVWHVwQhT42C1l18T1p9V7KPVy5T3tlz4W+QPC X-Received: by 2002:a62:bca:: with SMTP id 71-v6mr2184685pfl.234.1528842353389; Tue, 12 Jun 2018 15:25:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528842353; cv=none; d=google.com; s=arc-20160816; b=bV2bOxP0a9sADSMMAfkAmOsPZHefeBYkotbavNO/W6hLhpJwrzi9cuTN1RQP/SvPJ4 b5ITJLd0RHR5VYjG7MPGWBaEMUprxwJBi+M+6N0nmIQObLL6IPOxYjO3DT33gaUHfvYK CaarUweks1OwcFkTJIgf0ERmyOO6swUZWnnq/wc0Hd5Agm0Os49AuAXifpS1Ejt29UIq WuPLAfWdaTeEL63OHxPFovv/uhf2BhKxJHNQbHQ08hDHzhPFOTdoamk9mBgw0+gC+Syd zfRVVuTIhuLu58r8Q9ByAZr9WyCQH+bmGNt4X8xqblSNCJT1PCl6GRhh3RbDYRkqDDU9 +LLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:references :in-reply-to:subject:cc:date:to:from:arc-authentication-results; bh=xFUSPvIbufF25V4ha3+wOr58t5xL9e3moK8NcW6MqPk=; b=DfL+IdgPD8PTaScdqn62lDJ40pZLPa5iYjugGdIXffLGoj96rycwk3bD1s3M5lSlik Ad8ZXRkTLT5ZaQvSDiPh6JQbxsRoeINxQicPuIKqqyDZTAd8dYw/3IAmVFj8F+DyT4PV 6MvCdG18Q2/sDx3Hsz9Hugy4EFmSfohP/7Sje/s2jP+ogSTvfa0zBVJjLyyQs0+1Tabl 9Jly9XtyfctVXlMA728lPt3kwMNJGuBKdj6e2Mx+Kw7TOYAZ6u3Q3cJ7XqnPfbRSoE4p a1kbxwPu8/KI3NkImRObcDF/ylZss6P6Zagoe1k6345bT3CmSzHjwSk3Sv9vXEuemVwG gkOQ== ARC-Authentication-Results: i=1; mx.google.com; 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 64-v6si1101600ply.476.2018.06.12.15.25.38; Tue, 12 Jun 2018 15:25: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; 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 S934926AbeFLWYs (ORCPT + 99 others); Tue, 12 Jun 2018 18:24:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:37866 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934418AbeFLWYp (ORCPT ); Tue, 12 Jun 2018 18:24:45 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E30DCAFB9; Tue, 12 Jun 2018 22:24:38 +0000 (UTC) From: NeilBrown To: Boris Brezillon Date: Wed, 13 Jun 2018 08:24:26 +1000 Cc: Yogesh Gaur , linux-mtd@lists.infradead.org, boris.brezillon@free-electrons.com, frieder.schrempf@exceet.de, computersforpeace@gmail.com, david.wolfe@nxp.com, han.xu@nxp.com, festevam@gmail.com, marek.vasut@gmail.com, prabhakar.kushwaha@nxp.com, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: spi-nor: honour max_data_size for spi-nor writes In-Reply-To: <20180612092248.4e6a3e92@bbrezillon> References: <1528708694-19407-1-git-send-email-yogeshnarayan.gaur@nxp.com> <20180611114916.351ed272@bbrezillon> <87r2ldj7xi.fsf@notabene.neil.brown.name> <20180612092248.4e6a3e92@bbrezillon> Message-ID: <87sh5riqxx.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain On Tue, Jun 12 2018, Boris Brezillon wrote: > > Just because you managed to solve the problem in one driver does not > mean the problem does not exist for others. I read this datasheet [1] > several times and couldn't find a way to say 'I want to keep the CS > asserted between 2 transactions', so I think we really need this patch. I agree that my experience doesn't necessarily generalize. As the patch carried by signed-off-by (even though I only wrote little parts of it) I wanted to make it clear that I had no desire to promote the patch - maybe I stated that too strongly. Thanks for the link to the data sheet. I had a bit of a look, but reading these things must be an art that I haven't fully mastered yet - it would probably take me a few days to really understand it. The Programmable Sequence Enginine (Section 10.2.5.3.1) seems interesting. I wouldn't be surprised that that lets you do interesting things. It is obviously quite a powerful unit and it is surprising - to me - that it might not allow arbitrarily long messages, but I cannot justify the time to really dig in and see if that is the case. Maybe you are right. I have no particular objections to the patch, I just don't want to be seen as speaking in favour of it. Thanks, NeilBrown > > Regards, > > Boris > > [1]https://www.nxp.com/docs/en/reference-manual/VFXXXRM.pdf --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAlsgSBoACgkQOeye3VZi gbmEQQ/9EtAAeJYjXQHQOr4P79+wEAposchwmDGzy1RDb3R6MFeLzl8CYyCpg/ma ll6hRREuJ7IcLE+4weGyeNadGxTBGUFpJ87srm46QmzeJxZKv8PcJxILgfAABtet uI7Ru4dFpDyIGOhgzjsKtp40093RIqxlY7j4fRMQAziaAHASw/bJmz/NwZgbeQol /tlKcLKub2n0p2vxiDvj6DcTkMcPRElTmQw5OUQpn2kW5sSMUxg61yilXZHX9tq9 6iuC+vJ1AywX0aXovivq+y72wk9/qjg1SnhjyRZWAYhPxpoWf9lLlRUjVK9ZjnfU dZr+TLQm897qLKXv0FLXUBoArrxFL5K1znLphNdqKzoeXuL80Z9qt7VDHEPzcaVR yvTTx8AszModPzqeMCzCijsjCRyfVIg2FfB/ap0ma70Po9GQ3+lkNWHgwlI99+Nz IdGXYseRPAwgwmHgpGC89Mlw6sly8ryPzwwajHEg5qTem4ZW+emKehrGlanzgr89 3onaYEYc9tgp1+Ksj/j4Zb9OwgyE+Lzt7e4JilRmZKRHS/eXNQoWAS/ODGFI5cJf 6aJsTI4/08aKzHLApjZDck5fDKlT48+PNu6ADQqWsWw6Yi307mNlDgg8jOPRvUhi SI3r2L9QCwA7YPAIDA3WGAwaMRvSeVz5zJ5eX+s4+NvWcU7+jfg= =19Jr -----END PGP SIGNATURE----- --=-=-=--