Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8976272rwp; Wed, 19 Jul 2023 19:45:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlEl6l6uG9vCH+aZQYmZopNfDtqFI2TlYnmzxCOUHuiYkkDlHb4kFvg4bkpyAk0Ab9LavxJ2 X-Received: by 2002:a05:6402:8da:b0:51e:1b80:2f46 with SMTP id d26-20020a05640208da00b0051e1b802f46mr3491641edz.15.1689821103728; Wed, 19 Jul 2023 19:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689821103; cv=none; d=google.com; s=arc-20160816; b=IyEBPbgfQrN/mhFy2E73Dj/LFMeYc/S3I9lLspXupFBaXsj9vSqEqBaBrlxBzc2bXZ fpl2Cr7zg7JOCoD4zZWFPnPAThkoGY9dTqttMFalkPb2EyuUWrmgRKtgfX6XOwZcAg3J jd/InrNBprZxY857XGKXoda2i83ONI28SV6W6BHvChX7iDILuot7o55WKfRHwMLJWs8J Yyr7Oeq3C3AMq3qphIFwGamkxlnL7tx9MY8OUcbxu4ymChyzkpgybBOuGCaIdWgEBMdg 2xhOnVUbkWZp8g61jcvhH3FwjPBzbvPA09hdxpzxkOdVWirx3aGk+3WwqCpdFhXe3uQB uroQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=a8uXQ0gdTnKTakPpYJlgKepAG4CYHoFJohoqIlbsurc=; fh=aa4hLUPVHQvylpTdUGWkKpBDhiigfKhjxkmOBLSkiRo=; b=s80S6JzsiZghXzxhCYf2rQTmd4ehnYea/Y5j+RDPXNNSfXAa0VIGAPxhDpbORTvNf+ 6xH8l6++Jen1Nunff5huNq7Dzob7oZPdALNFO+BErD/YJrJxsUDGKXFmAWs9WnzjE48d XBBGrdKGi2cDZQrMYlN4nARqJb95BsrQtoGkPPQNzQA9rL58sSQq9yFPdrxtVJmbEZDY JD9L1ZZ7Y6VZYV+14e2t+0T3KUfWQD50am30KuMPbz9fqVoSX+h8qx2Jn5Iump4KEDXx 3pJ9CamdSxePMs/pCNgzZgtCG9I2qHx8ltBV46czeuuOsVAa329lpefI/okKSm2x5CQO l1lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AMWE1PQz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y21-20020aa7ccd5000000b0051debd3e95asi118808edt.146.2023.07.19.19.44.39; Wed, 19 Jul 2023 19:45:03 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AMWE1PQz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229918AbjGTBj7 (ORCPT + 99 others); Wed, 19 Jul 2023 21:39:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229646AbjGTBj6 (ORCPT ); Wed, 19 Jul 2023 21:39:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9646E1739; Wed, 19 Jul 2023 18:39:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 24F4F617DC; Thu, 20 Jul 2023 01:39:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80135C433C7; Thu, 20 Jul 2023 01:39:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689817196; bh=s7nvsi/fR/DkOos7XUNnf4czEgsTZCalrOP+7ilrR20=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=AMWE1PQzoNpizBsp86xzjvtm60TA8h1+7R2wrnSMm8cP+VhrpHCo5Qo/o1wpaYcGG 7Vss+9GH6KZuJATFLUW8qG94XgfgEYua7IBa4L6KfIUScgOwbADci25ZfOxFTvUq0W 7kz28MXJExKMnHXSknP22C5F4Zg4p6cQMfQV6NyzC79kd5F0IzRm/e9w5p+0ANXDJ0 FgUNQBKkkW+7BJlSEvOxrrRoyQ362VHauYtXMNPCQBEOurMmLml9sP12GFlRBR3UNP neqJhDQ6BXGjHnOjkrIssvuAyeId5IaLYU1D1bHf38AI+rgPM3W1jthcfUt7o5WWlM Fb/KX59KJagCQ== Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-51e429e1eabso244352a12.2; Wed, 19 Jul 2023 18:39:56 -0700 (PDT) X-Gm-Message-State: ABy/qLYQttqcG08gNhv9Yl21GGlQk0vkkVU9vd04fx2XWPh5Un+x7KdY JKuamOu9iiheOcG8UnBkfKymAcc1q3L40rVCgVU= X-Received: by 2002:a05:6402:60a:b0:51e:357:3782 with SMTP id n10-20020a056402060a00b0051e03573782mr3169355edv.9.1689817194776; Wed, 19 Jul 2023 18:39:54 -0700 (PDT) MIME-Version: 1.0 References: <20230718153348.3340811-1-chenhuacai@loongson.cn> <261edc6c-e339-faeb-3045-bfe6604d1aef@web.de> <281c5d5e51488ce51497072c1e4304d71af141ec.camel@hotmail.com> In-Reply-To: <281c5d5e51488ce51497072c1e4304d71af141ec.camel@hotmail.com> From: Huacai Chen Date: Thu, 20 Jul 2023 09:39:41 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5] LoongArch: Fix CONFIG_CMDLINE_EXTEND and CONFIG_CMDLINE_BOOTLOADER handling To: donmor Cc: "Markus.Elfring@web.de" , "kernel@xen0n.name" , "kernel-janitors@vger.kernel.org" , "jiaxun.yang@flygoat.com" , "loongarch@lists.linux.dev" , "chenhuacai@loongson.cn" , "guoren@kernel.org" , "lixuefeng@loongson.cn" , "linux-kernel@vger.kernel.org" , "loongson-kernel@lists.loongnix.cn" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Thu, Jul 20, 2023 at 9:35=E2=80=AFAM =E2=80=8E donmor wrote: > > =E5=9C=A8 2023-07-19=E6=98=9F=E6=9C=9F=E4=B8=89=E7=9A=84 18:29 +0800=EF= =BC=8CWANG Xuerui=E5=86=99=E9=81=93=EF=BC=9A > > On 2023/7/19 15:22, Huacai Chen wrote: > > > Hi, Markus, > > > > > > On Wed, Jul 19, 2023 at 2:51=E2=80=AFPM Markus Elfring wrote: > > > > > =E2=80=A6, so = this patch add > > > > > some code to fix it. > > > > > > > > Would you like to avoid a typo here? > > > > > > > > Will any other imperative change description variant become more he= lpful? > > > Thank you for pointing this out, but since Zhihong is the original > > > author, I don't want to completely rewrite the commit message, so jus= t > > > fix the typo... > > > > AFAICT the commit message is totally uninformative even if "an > > imperative change description" were used. It basically: > > > > 1. repeated the patch title, > > 2. spent one sentence only for mentioning a function name without givin= g > > any more information, > > 3. mentioned why some change was not necessary due to some other > > existing code, but not explicitly calling that part out, then > > 4. finished with a sentence that boiled down to "we should do the > > similar thing". > > > > My take: > > > > > Subject: Fix CMDLINE_EXTEND and CMDLINE_BOOTLOADER on non-FDT system= s > > > > > > On FDT systems these command line processing are already taken care = of > > > by early_init_dt_scan_chosen(). Add similar handling to the non-FDT > > > code path to allow these config options to work for non-FDT boxes to= o. > > > > Would this sound better? > > > Xuerui's take is fine. Do I need to make a v6 patch? OK, if you have time please do that. Huacai > > donmor