From patchwork Wed Jul 22 17:43:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elliott Mitchell X-Patchwork-Id: 13128179 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 lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 A2B53C61DA4 for ; Fri, 3 Feb 2023 18:02:07 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.489313.757682 (Exim 4.92) (envelope-from ) id 1pO0No-0004f0-OM; Fri, 03 Feb 2023 18:01:56 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 489313.757682; Fri, 03 Feb 2023 18:01:56 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pO0No-0004et-Lf; Fri, 03 Feb 2023 18:01:56 +0000 Received: by outflank-mailman (input) for mailman id 489313; Fri, 03 Feb 2023 18:01:55 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pO0Nn-0004en-Ap for xen-devel@lists.xenproject.org; Fri, 03 Feb 2023 18:01:55 +0000 Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id d619a340-a3ec-11ed-933c-83870f6b2ba8; Fri, 03 Feb 2023 19:01:53 +0100 (CET) Received: from m5p.com (mailhost.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:f7]) by mailhost.m5p.com (8.16.1/8.15.2) with ESMTPS id 313I1SAE033265 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 3 Feb 2023 13:01:34 -0500 (EST) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.16.1/8.15.2/Submit) id 313I1SdK033264; Fri, 3 Feb 2023 10:01:28 -0800 (PST) (envelope-from ehem) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: d619a340-a3ec-11ed-933c-83870f6b2ba8 Message-Id: <202302031801.313I1SdK033264@m5p.com> From: Elliott Mitchell To: xen-devel@lists.xenproject.org Cc: Stefano Stabellini Cc: Julien Grall Cc: Bertrand Marquis Cc: Volodymyr Babchuk Date: Wed, 22 Jul 2020 10:43:57 -0700 Subject: [PATCH] xen/arm64: Default ACPI support enabled Unlike other unsupportted options, ACPI support is required to *boot* for a number of platforms. Users on these platforms are unable to use distribution builds and must rebuild from source to use Xen. Signed-off-by: Elliott Mitchell --- Stripping this down to near-minimum. Previous similar commits had included a message in dmesg, but the community call indicated doing near the absolute minimum. There was also a mention of potentially marking Xen as tainted in this case. That seems reasonable to me. Just ACPI support needs to default enabled now. --- xen/arch/arm/Kconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig index 239d3aed3c..778bee5792 100644 --- a/xen/arch/arm/Kconfig +++ b/xen/arch/arm/Kconfig @@ -29,13 +29,18 @@ menu "Architecture Features" source "arch/Kconfig" config ACPI - bool "ACPI (Advanced Configuration and Power Interface) Support (UNSUPPORTED)" if UNSUPPORTED + bool "ACPI (Advanced Configuration and Power Interface) Support (UNSUPPORTED)" depends on ARM_64 + default y ---help--- Advanced Configuration and Power Interface (ACPI) support for Xen is an alternative to device tree on ARM64. + Note this is presently UNSUPPORTED. If a given device has both + device-tree and ACPI support, it is presently (February 2023) + recommended to boot using the device-tree. + config ARM_EFI bool