Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1270048rwp; Thu, 13 Jul 2023 08:29:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlGFDuCzJcBqnrjzmW//bNxtgHEGKTWj/SGnYn/OS6meDKsUIgizvYDHf68dhfUH8FMClFaK X-Received: by 2002:a05:6512:12c4:b0:4f8:66e1:14e8 with SMTP id p4-20020a05651212c400b004f866e114e8mr1787672lfg.69.1689262191554; Thu, 13 Jul 2023 08:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689262191; cv=none; d=google.com; s=arc-20160816; b=soKOBWyk6qiW1ZE4Yy/hgCwn4xj7ysnG1Xrb9evorQ+CXuu3mbGaZsaR2dtm6kN+pJ gTYzVxb58B5PBdwRaTKLXZU4s5LsHRbba36JRA/BhMuJCokvoNZPH/33LgNZlQXaoUNO PIONa8ZHFUh6ZI9z3zsyOI9Z/Oykh9jJl39ynYOSln0g9qylZOjzXlOfXWrozBl3TkMU NfJ1bDy1FVK5B4mH9PXlxFB7qEm91VrBqS7EsSt9Fbz9wpV/gGrCNo2FBddIQ2F9QxJX Q85sMFRWtAR6Q8qpDcEZWUZTKP3H4fnRGTupcJMdGEJh7wQdAJo4P+qwsNt7/4xlJ6EI mt0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=S6a+LDKVKjr8awG8jhC1nTr4tynCFkg/WFAzJxH+6MA=; fh=Va9dFZdM6Jb/dKmIXsPr8QcEuT9A15YlN5t6p7NCYjA=; b=j9vQiA/pF3HOwKVfTXlSSmZufhVpMsuS+Ya+6fxl+F52cN9sLxqFI0PxYnj5OXxzzJ wA+ndTwPGetr4CBSgcrwLY/wJNwPCDzlgvD1HHB6jR7hgWQBk6gmvRF6RHBRceA+9M1/ FOhuoG74287HR7vvGe1qQktTU/QikOeKkoOx6H80nKQh3hKPGPHxRQlI8Rw4ifpahQEF GuIIoH4DbOjGVzq0PHW9gj2Am+o2fT74yUy4qUeLMYtO8fyylbU/y617rhyD60ZdLqze 17sx0yAYIjwb66UgM5k0TbA93vJlNrwa7RDxdFXhPt0Tyb+8eHAc+ACypGQvTE+9xovb IfdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v16-20020aa7cd50000000b0051e23250f88si7097368edw.349.2023.07.13.08.29.27; Thu, 13 Jul 2023 08:29:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233738AbjGMPRs convert rfc822-to-8bit (ORCPT + 99 others); Thu, 13 Jul 2023 11:17:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230158AbjGMPRo (ORCPT ); Thu, 13 Jul 2023 11:17:44 -0400 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B61D730F3 for ; Thu, 13 Jul 2023 08:17:23 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 1A12B62F290F; Thu, 13 Jul 2023 17:17:16 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id On-fwFvgGn7i; Thu, 13 Jul 2023 17:17:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 515CD62F2916; Thu, 13 Jul 2023 17:17:15 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wjzgm6220rwR; Thu, 13 Jul 2023 17:17:15 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 2B91F62F290F; Thu, 13 Jul 2023 17:17:15 +0200 (CEST) Date: Thu, 13 Jul 2023 17:17:15 +0200 (CEST) From: Richard Weinberger To: Miquel Raynal Cc: Johan Jonker , Vignesh Raghavendra , heiko@sntech.de, linux-mtd , linux-kernel , linux-arm-kernel , linux-rockchip@lists.infradead.org, yifeng zhao Message-ID: <1618382560.2326931.1689261435022.JavaMail.zimbra@nod.at> In-Reply-To: <20230712154142.3c49d782@xps-13> References: <0047fc52-bc45-a768-8bdd-c0f12cddc17e@gmail.com> <457c1da7-61dc-2a56-4f86-47413795138c@gmail.com> <20230704171348.5eee98f7@xps-13> <3af40582-d350-8eac-8639-10c285964c49@gmail.com> <20230712154142.3c49d782@xps-13> Subject: Re: [PATCH v3 3/3] mtd: rawnand: rockchip-nand-controller: add skipbbt option MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Topic: rawnand: rockchip-nand-controller: add skipbbt option Thread-Index: ROgfjDoY10Wn2JoZkeBFpS1VV4xmgg== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Ursprüngliche Mail ----- > >> > For the boot I think I proposed a DT property. I don't remember how far >> > the discussion went. >> >> Is there a web link of that discussion? > > https://lore.kernel.org/linux-mtd/20230609104426.3901df54@xps-13/ > > Maybe the term "DT property" did not appear but that's what I had in > mind :-) I don't know if it must be a chip or a partition property. > > Richard, here is where I would like your feedback, I am kind of opposed > to a "skip_bbt" module parameter. It's not a strong opinion, if you > think it's fine I'm open. > > I would rather prefer a DT property which says "do not use the > standard pattern". Yes, please no new module parameters. A module parameter should only affect the behavior of the driver itself (e.g. debug mode) but not be device specific. We made this mistake in the past too often. :-( A single driver can serve more devices. Therefore IMHO controlling this via DT makes perfectly sense. Thanks, //richard