Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp94896rdb; Mon, 18 Sep 2023 09:05:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFNi7NNzVcD8d3B07GNhlCZHXl7sCFfNUZ+lpEET5kGh1HkLBbS6hjspTu8FW3jcSeZ4Svc X-Received: by 2002:a05:6a20:3258:b0:157:dffb:fe1d with SMTP id hm24-20020a056a20325800b00157dffbfe1dmr6716551pzc.33.1695053155500; Mon, 18 Sep 2023 09:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695053155; cv=none; d=google.com; s=arc-20160816; b=0ZTkGwwOp5VndrR45RBWNHNu1URta8EQUfNZArgrIp4YSaLeZHLiBLCUjyvow7zUqA 1hnNOMEJr0aPuc56/7c1R4m5xVDXUgyfDptAiu+BFjzxNQOkpmgsuWOXQZDjogfMpN4E uwRjSLUk8OGeLp/Q+mplivrv1zpohUENxi6J9+AX1+OuyLEqihV7WEjmshhENNuZrGeO z8BHGaL1aWZFHL5+zio8tzTvG7Bb594bgYORdjRGlFekWJzIDMcmrvlum/RFUnUySypH YxPtpCFVr15HmMfT0qX+G2r3mOKVKcEjJapr34ffN02z3lIGc/yrQXTZ7HS6j11G9wlT flEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=oBXbmgI35Ay6iC6gwJK7LAKP2TjFS8/WQ3+OgmLbkxg=; fh=/pBclIVNmH/0sRM9sZ9yMj5O3p137wh6Ll9Aj8c2bjM=; b=jgTN3x7qTpK2VE6yUGq7BxdHPU5nzs0YeyVpouwSIXblkTGAKZg11XUC3aHMhY2+G7 dRE4DWOOfU+TPQtnGeeXeNZKnEhlLeJ6sJtYRyXEL23Q1fWMs4gMuZ5kA694QJHGbO58 L5RRvH7N9caTgqI/f6hQjo8MGIulhtbz344NTD/K4BIffajbrEZxIzOIxpY7K+jWp+FJ ndCUDE/khKJU3TtUuhyP7I4p9/7jpPamSMBeXzKs7KxzwK0WDbmNbJgBy+gFeohPyyKx L+3/kkCqQeS2g9oRkPeXlKbBMr+7OacJdb9GeCRujmug4RFDuVgShe7IYgVz3cf7yzl1 kdMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=eASqEhaQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id h184-20020a6383c1000000b00573fcb46c57si7924131pge.133.2023.09.18.09.05.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 09:05:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=eASqEhaQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 58ABF809659E; Mon, 18 Sep 2023 06:01:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242057AbjIRNAS (ORCPT + 99 others); Mon, 18 Sep 2023 09:00:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242040AbjIRM7r (ORCPT ); Mon, 18 Sep 2023 08:59:47 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCCD1CD0 for ; Mon, 18 Sep 2023 05:58:56 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 4B5066000A; Mon, 18 Sep 2023 12:58:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1695041935; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oBXbmgI35Ay6iC6gwJK7LAKP2TjFS8/WQ3+OgmLbkxg=; b=eASqEhaQOxhMM0xv2JXtw7MYTf+HDpkUT/wk/+Zw2osl+qMPMkyzZBuIU/fQz2sxzOFFSB vw4pHo8+omK/W7OCuTiynmHRBXCLA2eMtZfsYVqWBApHNzFR2eRmnwhvaX37om4kZn18zp do4bZYwXanFr193bP8khG3YKXG/pTESP37eRX1wXmvHal4iM3Ykk1o4j/N9Mo0bi2Ipm7q 0VjUEYkxTRTCcSSfqyB6/oLkoRiTTsQsIOTdNp6cPG+2/bla76DLjprJUCfuQTFUHWovy3 shQNTgXsLQz2Z5H5lLacO45iqlp4Zs3Se/sMmIeDLp9NuM+6Ydv/h8zDyiaQmQ== Date: Mon, 18 Sep 2023 14:58:52 +0200 From: Miquel Raynal To: Nikita Shubin via B4 Relay Cc: , Richard Weinberger , Vignesh Raghavendra , Arnd Bergmann , Neil Armstrong , Florian Fainelli , Liang Yang , Christophe Kerello , Jean Delvare , Johan Jonker , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Alexander Sverdlin Subject: Re: [PATCH v4 26/42] mtd: nand: add support for ts72xx Message-ID: <20230918145852.46a15c77@xps-13> In-Reply-To: <20230915-ep93xx-v4-26-a1d779dcec10@maquefel.me> References: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> <20230915-ep93xx-v4-26-a1d779dcec10@maquefel.me> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 18 Sep 2023 06:01:04 -0700 (PDT) Hi Nikita, devnull+nikita.shubin.maquefel.me@kernel.org wrote on Fri, 15 Sep 2023 11:11:08 +0300: > From: Nikita Shubin >=20 > Technologic Systems has it's own nand controller implementation in CPLD. I initially agreed to accept a first version of this controller driver with a legacy API because people were apparently under time pressure to get this in. I see it's been a couple of months, so this is not that urgent after all. As the driver is only 166 lines long, I would strongly prefer a very straight ->exec_op() conversion in order to get rid of these ugly direct I/O accesses. Thanks, Miqu=C3=A8l > Signed-off-by: Nikita Shubin > --- > drivers/mtd/nand/raw/Kconfig | 7 + > drivers/mtd/nand/raw/Makefile | 1 + > drivers/mtd/nand/raw/technologic-nand-controller.c | 166 +++++++++++++++= ++++++ > 3 files changed, 174 insertions(+) >=20