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 CBDB1EB64DA for ; Wed, 5 Jul 2023 13:48:47 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.559193.873955 (Exim 4.92) (envelope-from ) id 1qH2rj-0004DV-0w; Wed, 05 Jul 2023 13:48:19 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 559193.873955; Wed, 05 Jul 2023 13:48:19 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qH2ri-0004DO-UI; Wed, 05 Jul 2023 13:48:18 +0000 Received: by outflank-mailman (input) for mailman id 559193; Wed, 05 Jul 2023 13:48:17 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qH2rh-0004DI-7N for xen-devel@lists.xenproject.org; Wed, 05 Jul 2023 13:48:17 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qH2rg-0000nr-NQ; Wed, 05 Jul 2023 13:48:16 +0000 Received: from 54-240-197-239.amazon.com ([54.240.197.239] helo=[192.168.19.213]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qH2rg-000106-Df; Wed, 05 Jul 2023 13:48:16 +0000 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" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=9786cWhmHLb79msPfaC4Ne0US48ChbVFnRfaB9ovDkg=; b=eOqypQUHAWPou1ae3Nv0t3jTKo epdWnzZqmXIUK05gPP2cw0YJcFN8SHRY5Sh5BaBcjJ8Budhpba9N1ny7XgSdKwCrjrr12vHkocLsU Pm4Ff0lgjOrXFIKKVqRnNWGf6wOtY3+0y/F7wT5W+yKH4GUxgt7GUIkEhUrHqgZnfV4Y=; Message-ID: Date: Wed, 5 Jul 2023 14:48:14 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] xen/arm: Kconfig: ACPI should depend on UEFI Content-Language: en-US To: Bertrand Marquis Cc: Xen-devel , Luca Fancellu , Michal Orzel , Henry Wang , "andrew.cooper3@citrix.com" , Penny Zheng , Wei Chen , Julien Grall , Stefano Stabellini , Volodymyr Babchuk References: <20230705115534.26004-1-julien@xen.org> From: Julien Grall In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, On 05/07/2023 13:51, Bertrand Marquis wrote: >> On 5 Jul 2023, at 13:55, Julien Grall wrote: >> >> From: Julien Grall >> >> On Arm, it is not possible to use ACPI without UEFI. In fact disabling >> UEFI but not ACPI will lead to a compilation error: >> >> ld: prelink.o: in function `acpi_os_get_root_pointer': >> /builds/xen-project/people/andyhhp/xen/xen/drivers/acpi/osl.c:73: >> undefined reference to `efi' >> /builds/xen-project/people/andyhhp/xen/xen/drivers/acpi/osl.c:73:(.init.text+0x8ac0): >> relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against >> undefined symbol `efi' >> >> So make the dependency clear in the Kconfig. >> >> This was spotted by the randconfig build in gitlab CI. >> >> Fixes: 12314be5749e ("xen/arm: make ARM_EFI selectable for Arm64") >> Signed-off-by: Julien Grall > > Reviewed-by: Bertrand Marquis Thanks. I have committed the patch. Cheers, -- Julien Grall