From patchwork Thu May 30 01:53:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Wei X-Patchwork-Id: 13679630 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7B477C25B75 for ; Thu, 30 May 2024 01:54:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ZSGC9SJVQLnOxcrfrSMxTXKXo58J9DgPOS3eH0qHXlU=; b=i3m5vV2OnK7SwV etX3UAYWLtsZ+DebGSt9UxrA7ztYpJO7LMRXCmry6Jai+XwlkFyDhpIz6dNVdMBAW+zrDbZv2HvqI W82qCXKbntdksltYfAp+QFQ/dO3x96jfCIhMlKwTIkDSJewF5z2ddOSwBxu2qpp4CJiHipXxe1IIa XwHWsmm7WpVGbgF/MNhKZyJSbPf6mVCew46Mv/LBkyAY/FcgsHdOqbh5vEchOacFIXyHODgUjbv7L +7auGyvOcVIYnLDJMo4AtE3HZIy1hE8YngMtvkozoVtyYdA6p1WD5OGC0wVF88MTmc359dHYhFyH9 0PfEGokpBVX+L0hgw/Pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCUzZ-0000000626g-1ggc; Thu, 30 May 2024 01:54:09 +0000 Received: from [1.203.97.240] (helo=smtp.cecloud.com) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCUzU-0000000625X-1Lbo for linux-arm-kernel@lists.infradead.org; Thu, 30 May 2024 01:54:07 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.cecloud.com (Postfix) with ESMTP id A5F88900126; Thu, 30 May 2024 09:53:55 +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 P894637T281472753660272S1717034033041744_; Thu, 30 May 2024 09:53:54 +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: catalin.marinas@arm.com X-RCPT-COUNT: 7 X-LOCAL-RCPT-COUNT: 2 X-MUTI-DOMAIN-COUNT: 1 X-SENDER-IP: 111.48.58.12 X-ATTACHMENT-NUM: 0 X-UNIQUE-TAG: X-System-Flag: 0 From: Liu Wei To: catalin.marinas@arm.com, will@kernel.org Cc: prarit@redhat.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, liuwei09.cestc.cn@cecloud.com, Liu Wei Subject: [PATCH] ACPI: Do not enable ACPI SPCR console by default on arm64 Date: Thu, 30 May 2024 09:53:32 +0800 Message-ID: <20240530015332.7305-1-liuwei09@cestc.cn> X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240529_185404_542877_F86750D7 X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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); }