Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp170144lqh; Thu, 30 May 2024 18:58:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVrFQVxYawltHnP8lpQ3xK4p6AZc902hAqvXOKkCgGQ+UGIs68kk+p6ug/PrF2SZIn5J07H0H+bYSDyAy5PpYqV1g0/LFNpFjNMuJk/Og== X-Google-Smtp-Source: AGHT+IEITgPn4c/PoXqMtkb3zmxSjjfAtLtJdf0OKqgJIzJgSFdJTfDt5INYG+bNEAJdOTodWlh6 X-Received: by 2002:a05:6808:4188:b0:3d1:c6aa:ec9c with SMTP id 5614622812f47-3d1e35a207bmr446992b6e.20.1717120714341; Thu, 30 May 2024 18:58:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717120714; cv=pass; d=google.com; s=arc-20160816; b=KSW2FroT7gAKz7rjAJwevAaERtxlrjEYulg/rCJw7mCjrxibezIwiP0ull+uMdc8At m2Pw+917BBG7hGCCMI2ZuZWAKhWfkdMP/UivsVCD+UMFErCCJFQvpv8u8MM67DvBOzw8 XrK5MMq3lplZ6Mgrzuz5WYs99EM/WROWvvkk2wOiYKs5t1cAfaCm9p5mNcle9nuhj8WX d74XCeoU45IZUypZDTNgL81PBPT8fPEYykT7cYIjpB2t6Fn2f0Lclkppqrc8ugLpQBw0 s9e2iy88d+0Z4h9/cIQMHshXBcRNQAODdl6heICzZE5gGaLL8Mz7Mep0sdnQPbTbpiRx 7Ktg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:date :subject:cc:to:from:message-id; bh=r1cz8Kg1hNkuZ1mnk59qCCXMC25kLtmyie+LG4nsv9g=; fh=9f6hqgzusF9nNQzzENYhqVs6u8SIpzwffRFw+nDzWe4=; b=SeNvrWH01F60kjiMbThwSUd+QDX9rPfe7SomIqVOXa6Pv6PJC09NnoQQPYfsfNry5C 61LK2VvayzVTDqFRIwPWANYf+5dpxquqbFig3y3DvNA/W2Fb8b5UtDNQ2Y5fELY96aNJ NBjOZGxQiNfLCfTejk8Hjk6jotufe429AeQt9B0fOeLCU9v7EtrTyhfXk8WQziU4I/ec wFEezieL3iDAn452yE9hJLe0pkSWEPx0pUEoVrQUjxhayLUvga/blC8ZykvZenw3rfSX q1FgW/y0mHHZK/xeWtvEgdbf5Up0WMhyoJVIkDFylsdBzXVXBqPzqGd0KKlw+ShTW0tg zvTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=cestc.cn); spf=pass (google.com: domain of linux-kernel+bounces-196172-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196172-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35d973c79si615478a12.873.2024.05.30.18.58.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 18:58:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196172-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=cestc.cn); spf=pass (google.com: domain of linux-kernel+bounces-196172-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196172-linux.lists.archive=gmail.com@vger.kernel.org" Message-ID: <66592eca.630a0220.5d42b.421aSMTPIN_ADDED_BROKEN@mx.google.com> X-Google-Original-Message-ID: (raw) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 600D4B239E0 for ; Fri, 31 May 2024 01:52:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C38C52F6A; Fri, 31 May 2024 01:52:32 +0000 (UTC) Received: from smtp.cecloud.com (unknown [1.203.97.240]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 842626FB8 for ; Fri, 31 May 2024 01:52:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=1.203.97.240 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717120351; cv=none; b=Zp3VbHNbl2OvRgeETTXzFiPm8Heu+2hYxny2TlNaeDgrE+M6xRqdXvTJBLA8ldsjinKxJ7s3TB3FJ6+0BZrnaZhsUvtxucmFD1kk26N/33WnegTg8wvztB+Bu5upv9s1Tub2HYGgbzH6+HqRMp9HoJ/ctrGG01kn8TlcBoH+Dlw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717120351; c=relaxed/simple; bh=bUDgZ5NKzkWAq/TYx2si92h4CMQih6Yz/n9hN43R3Ww=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UdiXmM3/I1Io1jj53RrWy1Pi+cPaWkYrtDkk1xhyuM5KoIj+2JDzQXq5aPTlqCOOgejlmanN1zP3APXcweI4z2lHCQXRJtU4sPJXObjTlbr+fvRYiP4JFtc/kAkBYgD+05FRX6VjNe70COPUgO6aVdCslNMs6J31rxrzaA4dKxU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cestc.cn; spf=pass smtp.mailfrom=cestc.cn; arc=none smtp.client-ip=1.203.97.240 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cestc.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cestc.cn Received: from localhost (localhost [127.0.0.1]) by smtp.cecloud.com (Postfix) with ESMTP id 8C10E90011B; Fri, 31 May 2024 09:52:23 +0800 (CST) X-MAIL-GRAY:0 X-MAIL-DELIVERY:1 X-ANTISPAM-LEVEL:2 X-ABS-CHECKED:0 Received: from localhost.localdomain (unknown [111.48.58.12]) by smtp.cecloud.com (postfix) whith ESMTP id P894637T281472896332144S1717120342486087_; Fri, 31 May 2024 09:52:23 +0800 (CST) X-IP-DOMAINF:1 X-RL-SENDER:liuwei09@cestc.cn X-SENDER:liuwei09@cestc.cn X-LOGIN-NAME:liuwei09@cestc.cn X-FST-TO:prarit@redhat.com X-RCPT-COUNT:6 X-LOCAL-RCPT-COUNT:1 X-MUTI-DOMAIN-COUNT:0 X-SENDER-IP:111.48.58.12 X-ATTACHMENT-NUM:0 X-UNIQUE-TAG:<666a897c7f365ab69d3846c267c805c7> X-System-Flag:0 From: Liu Wei To: prarit@redhat.com, Liu Wei , catalin.marinas@arm.com, will@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ACPI: Do not enable ACPI SPCR console by default on arm64 Date: Fri, 31 May 2024 09:52:08 +0800 X-Mailer: git-send-email 2.42.1 In-Reply-To: <20240530015332.7305-1-liuwei09@cestc.cn> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Prarit Bhargava On 5/29/24 21:53, Liu Wei wrote: > > Consistency with x86 and loongarch, don't enable ACPI SPCR console > > by default on arm64 > > > > Signed-off-by: Liu Wei > > --- > > arch/arm64/kernel/acpi.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c > > index dba8fcec7f33..1deda3e5a0d2 100644 > > --- a/arch/arm64/kernel/acpi.c > > +++ b/arch/arm64/kernel/acpi.c > > @@ -227,7 +227,8 @@ void __init acpi_boot_table_init(void) > > if (earlycon_acpi_spcr_enable) > > early_init_dt_scan_chosen_stdout(); > > } else { > > - acpi_parse_spcr(earlycon_acpi_spcr_enable, true); > > + /* Do not enable ACPI SPCR console by default */ > > + acpi_parse_spcr(earlycon_acpi_spcr_enable, false); > > if (IS_ENABLED(CONFIG_ACPI_BGRT)) > > acpi_table_parse(ACPI_SIG_BGRT, acpi_parse_bgrt); > > } > > It's been a while, and the status of arm hardware may have changed. > IIRC the choice to force enable this is that most arm hardware is > headless and this was a _required_ option for booting. > > I'm not sure if that's still the case as it's been a long time. > > Can anyone from the ARM community provide an approval here? > > P. Though most ARM devices are headless, with the increasing number of ARM servers or desktops, if the SPCR table from ACPI is still used as the default console on ARM, the console behavior on ARM architecture will differ from other architecture servers. A similar effect can be achieved by adding console=tty0 in kernel cmdline, but I think it is important to ensure consistency among different architecture strategies as much as possible. Thanks for your patient explanation.