Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12614924rwl; Tue, 3 Jan 2023 17:54:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXsv+bqjIs9wbNSpmj2ZnUhq4DBhG/1Li8AhWVp4WaxRffQYuLMkJ7eSPPX0AAtdYpNLo0x4 X-Received: by 2002:a17:906:b053:b0:7c1:1b89:1fe0 with SMTP id bj19-20020a170906b05300b007c11b891fe0mr37103753ejb.65.1672797266388; Tue, 03 Jan 2023 17:54:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672797266; cv=none; d=google.com; s=arc-20160816; b=MDOn5KvlNtpr34U8uoIBXpJzgnLEBJGbyyPr3bPY43/KTSECYCmvWCYtfGzSNNY3XM DyECxCgDZuI1qgwE9tckG6oVjfR4j3427AY3dGD9DS+KShvgO7ypcxOlYL69C2ryZYKp ZbJorX3IfskNyVjzDcUdyNzfXEVaCxbf9ZrQpYQb8R8O8agYWjpj6asGf0UKnSVhhcVC oDAi1NaQJW40sEpWDRIY3LvF1cac3N2ySWhFPX1O9x0wh7C3yE0e8H5lTkD/tlbIxsv1 HWEMJ2xsdwofH3eIgXb5UZsd3vi3TJ2Xp5KdXj38fzV5z4os7RpgkZ+ytbxfA8fkxgmh lBow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ijnis/WI5plp38mtmuFWM0btH8pvOuArfVZ6ZZO26+Y=; b=L4XhJHjl+v1RI19e3ZA/uXjxto8K+qxoTUUlXDT+HYTU4k9Sq5vF2rry5PayxHYxTB bHSS8hBu44LAod7O6lil5ngaX0k/rFgdD2khj5P6w4+A3yqf0orAl87tsuQ+rhniJAZr oSV/8teY23o6oi0pCTsEdwi6bK1NSqxc2NImTi5BapTMO5gghCEd2pwTsEklHAl1es/N /Tj2C64EX/BK/UePxyg+mA8jUFtqFSLI7n8wpaqFDX27v7vZS6HiE14kl880TtuwadSX /T/Lz1rXxwSx7y+V9ve2Dz76jtUlPJeFY7+pN6uicxofJLBXspfSLADI99Z/fCCVZY7F 9fdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=iATV2NXx; 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 sd14-20020a1709076e0e00b0082372aef3bcsi28679028ejc.583.2023.01.03.17.54.12; Tue, 03 Jan 2023 17:54:26 -0800 (PST) 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=@infradead.org header.s=casper.20170209 header.b=iATV2NXx; 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 S238581AbjADBcC (ORCPT + 59 others); Tue, 3 Jan 2023 20:32:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238710AbjADBb4 (ORCPT ); Tue, 3 Jan 2023 20:31:56 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26963117C; Tue, 3 Jan 2023 17:31:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description; bh=ijnis/WI5plp38mtmuFWM0btH8pvOuArfVZ6ZZO26+Y=; b=iATV2NXx5v9rrUgFhuJlontJxk TDxCgt5yG3Z5kdaUMpTB0ZUdrvYp+iO3lFYGnUPMv4jMQB973CMuMjbTtxgClc4+AI+uwNHvGKnS1 uN+whSmcWn322VWte3Is8JbIOEr9g6DKbxvGqDu5T1jHsTzu1smaRFDwuaSJbQ6KSanGKVHzya0gM Q2UM4KBUs1Ykvhs140BzPwpZuVJb70nsDpOZEA78EfU7ZGmZJrr1+YfE1OkzQvGCodMidrmxVnyyA uZXmO3Sxph7KFhGSqHcmNcO5/Pa0st1IuoKCrQzUQvLLjSG4cgR/z9TvET8Tpa/6RiEaIl78uMJPA pDSTyHMQ==; Received: from 108-90-42-56.lightspeed.sntcca.sbcglobal.net ([108.90.42.56] helo=[192.168.1.80]) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCsdF-00EZrR-4u; Wed, 04 Jan 2023 01:31:53 +0000 Message-ID: <53dd3a2c-3f56-dcdc-bb75-5dc5adbe30bf@infradead.org> Date: Tue, 3 Jan 2023 17:31:36 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 0/2] of: Fix handling CONFIG_CMDLINE* even without /chosen node Content-Language: en-US To: Rob Herring , Alexander Sverdlin , Frank Rowand Cc: Linus Walleij , Arnd Bergmann , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230103-dt-cmdline-fix-v1-0-7038e88b18b6@kernel.org> From: Geoff Levand In-Reply-To: <20230103-dt-cmdline-fix-v1-0-7038e88b18b6@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 Hi Rob, On 1/3/23 10:00, Rob Herring wrote: > > Let's revert the above commit and redo the missing /chosen node handling > within early_init_dt_scan_chosen(). > > Signed-off-by: Rob Herring > --- > Rob Herring (2): > Revert "of: fdt: Honor CONFIG_CMDLINE* even without /chosen node" > of: fdt: Honor CONFIG_CMDLINE* even without /chosen node, take 2 > > drivers/of/fdt.c | 54 ++++++++++++++++++++++++++++-------------------------- > 1 file changed, 28 insertions(+), 26 deletions(-) I applied these two patches to v6.2-rc2 and tested on PS3. I used a kernel config file that had a CONFIG_CMDLINE, and CONFIG_CMDLINE_FORCE=y set. Everything seemed to work OK. Tested-by: Geoff Levand