Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2504402rwa; Mon, 22 Aug 2022 08:43:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR47pG2em2mlKaWirVONenYNhgODnw5WGi9MEXCGrX+gLOIpyreibIH5xscYogIyaUlfm72R X-Received: by 2002:a17:907:728d:b0:73d:693c:738 with SMTP id dt13-20020a170907728d00b0073d693c0738mr6613300ejc.134.1661183022055; Mon, 22 Aug 2022 08:43:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661183022; cv=none; d=google.com; s=arc-20160816; b=GHTYIAyhxczWrthlJtB6lC6+dAnu7/F6JHemWxJTjMI+4UC0TLIEiXXtI5FifmdsfP O5jOBecUM6QjOa/+Yq6khK3xFEjKd708n0jDgKMNt4IWrQON+ZxohrU+8SmlrzeAKYpz VWhV6w0obncHpS5MgJF/G6Fu5QY/hMbOh+JPl2GiSwm/zq6cfP8nk+7RW2Uuv/I0+bMj 98cxQ7Sa7vYRkwrlHgkuu7kioxZqo8Ilb8fu8N/px0u6s7J9xHlZLWiixA6K5ycZukBT 2rOIHpf+ZjAJ6VulFbdf4+WkIIGXeC3Fk20mzIvCtpdzVzODL1aSQ2cuhyERkcEP6MTx GC/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=BBR8S6T406X4ckLjOJ6EaUgTpykCrnvxxEeP/Yo0Mgg=; b=AQLR6ncHfx2YoUYZctF4JfEF4Ioh9PVMV6kpIyZsXSe/J6ps3YNkYpFy27tHZq6qWj h1Or61S/JlYU56M5ylGYrfLvcBwap/zHZod9O3lkU6rgG/r4Z9TpnZsbuUJnbSDE8Hsp a1Ay6FhrFKptGfZH/wahK94DqWT+PJhe2pb2UDSbhTp/oUBadXy0ZS9iA4EhslB56Hov g1H3uMPELX8pScdAB+z8zA/wOwX8/TIFY9f+ETtnJE7W/6C0QuDZb0i5phRBDPe37UFL eztAWXQlJGUxdLyrnE+nocvdVgJIXQDy+IzSKoL2xjDzpDtP1R83Y2qBD7aYev/YfHLK UBCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T50xCBWW; 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 nd7-20020a170907628700b0073c8c4591f0si8682517ejc.209.2022.08.22.08.43.07; Mon, 22 Aug 2022 08:43:42 -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=T50xCBWW; 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 S235124AbiHVP3U (ORCPT + 99 others); Mon, 22 Aug 2022 11:29:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236642AbiHVP3A (ORCPT ); Mon, 22 Aug 2022 11:29:00 -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 15E3D11815 for ; Mon, 22 Aug 2022 08:28:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3A3A661122 for ; Mon, 22 Aug 2022 15:28:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B499C43470; Mon, 22 Aug 2022 15:28:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661182135; bh=SIasQlAEFjGCSRt/CEHtDDFWf9zOQKXzw2OystW7yS0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T50xCBWWaV5QoBpJDmOOFH7Mff5Ib3Sev/Y9BLrJWykYJ87jo/wnqMfaMqHLHxCzO ebFN6eCI8NbUWyBIA8kbmOD5Etwx4FgXmHg8xoY51bRmNI6YJl7odKqs8ZbVhIHzCU WFKpgEVoWcaNEhC3qnnUy3FKM1/qtvzKqWbNMjVcVjH8ixbZo+fzhKUqkMN6vQh8g9 PjfbcQgo0bV1FCdyvjRNZgkaSWCHOqDBcPBYxkDcfF8Glg17GRmEV9KyotXfRm5SwQ jUE1Jl6aZtBvQt7jikq9qpJ7Ee0pyKUSfviMm/G5P9sO/CaJBB5Bk9CmqfIpdhWG/Y VuMBeSExtUq8w== Received: by pali.im (Postfix) id 63EDD97B; Mon, 22 Aug 2022 17:28:52 +0200 (CEST) Date: Mon, 22 Aug 2022 17:28:52 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Christophe Leroy Cc: Randy Dunlap , Nick Child , "linux-kernel@vger.kernel.org" , Paul Mackerras , "linuxppc-dev@lists.ozlabs.org" Subject: Re: [PATCH] powerpc: Add support for early debugging via Serial 16550 console Message-ID: <20220822152852.y5fjpmjjasbu2wab@pali> References: <20220819211254.22192-1-pali@kernel.org> <35c0ff6a-387d-3c01-66b3-f659cfe67c2a@infradead.org> <20220819223848.lvxakjjzfdjvyqgu@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Monday 22 August 2022 14:13:30 Christophe Leroy wrote: > >> CONFIG_PPC_EARLY_DEBUG_16550=y > >> # CONFIG_PPC_EARLY_DEBUG_MEMCONS is not set > >> CONFIG_PPC_EARLY_DEBUG_16550_PHYSADDR= > >> CONFIG_PPC_EARLY_DEBUG_16550_STRIDE=1 > >> > >> which then causes a kconfig prompt when starting > >> the build... > > > > Cannot we set somehow that PPC_EARLY_DEBUG_16550 would be disabled by > > default when upgrading defconfig? > > The only solution I see is to put it at the end of the list, so that the > previous default value which is PPC_EARLY_DEBUG_MEMCONS gets selected. Does it work for all cases? If yes, then it looks like an elegant solution.