From patchwork Wed Feb 4 14:02:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Parth Dixit X-Patchwork-Id: 44367 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8D6952029F for ; Wed, 4 Feb 2015 14:07:29 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id n3sf2492737wiv.0 for ; Wed, 04 Feb 2015 06:07:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive; bh=IU455WuR7opqzB5oyAz2hCVyfUl+z2MVfwktHDXQHRg=; b=j1zFch6Pt4jKyj4KD3A5k96TSNe1enIcRw3PQqBMlLZ9PDALyZXSlumDgl56046JSz YCdi+CObXnIZmxr705mYz0tWNfAbgJHBrvchbVC1KL0v+kw7kVR1bExdkBg8tlYVHRzR cXcFFglCFZHtaBypAD91+xgyPZ7vpr+YuOwiGZMZxpXDLk+3jmlw13tdRvPKCWA++ZaG SuPnv0W5ZXcW6qR9yibuY0BrgnhXiaAUYvNJiK7I9/vU/w4BneE87d8aW31KNs+OlmTf XpkFv81v+W1KiEPvqnOZjErZFIJhbSeKCDDbj1xGSAhpB04hF0GMduO1txwzRHHhia95 HLHg== X-Gm-Message-State: ALoCoQlKv/mDf5YPlDjlIskq4vYzEf2dqe+PeqCQHicNHDvxvFou6+rGw7Pp0ABXi1Pf5CvmXTQv X-Received: by 10.112.181.198 with SMTP id dy6mr3988860lbc.22.1423058848610; Wed, 04 Feb 2015 06:07:28 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.121.35 with SMTP id lh3ls38965lab.12.gmail; Wed, 04 Feb 2015 06:07:28 -0800 (PST) X-Received: by 10.152.42.169 with SMTP id p9mr7960445lal.91.1423058848467; Wed, 04 Feb 2015 06:07:28 -0800 (PST) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id jc7si1416328lbc.80.2015.02.04.06.07.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Feb 2015 06:07:28 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by mail-la0-f47.google.com with SMTP id hz20so1708793lab.6 for ; Wed, 04 Feb 2015 06:07:28 -0800 (PST) X-Received: by 10.152.228.161 with SMTP id sj1mr9853573lac.74.1423058848378; Wed, 04 Feb 2015 06:07:28 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp508432lbj; Wed, 4 Feb 2015 06:07:27 -0800 (PST) X-Received: by 10.170.200.69 with SMTP id r66mr14020077yke.83.1423058846955; Wed, 04 Feb 2015 06:07:26 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id z2si2126084qaq.40.2015.02.04.06.07.26 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 04 Feb 2015 06:07:26 -0800 (PST) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YJ0bL-0001ML-57; Wed, 04 Feb 2015 14:06:43 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YJ0bJ-0001Hk-NF for xen-devel@lists.xen.org; Wed, 04 Feb 2015 14:06:41 +0000 Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id 21/7D-02810-17722D45; Wed, 04 Feb 2015 14:06:41 +0000 X-Env-Sender: parth.dixit@linaro.org X-Msg-Ref: server-6.tower-206.messagelabs.com!1423058799!11116989!1 X-Originating-IP: [209.85.192.170] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG X-StarScan-Received: X-StarScan-Version: 6.13.4; banners=-,-,- X-VirusChecked: Checked Received: (qmail 10846 invoked from network); 4 Feb 2015 14:06:40 -0000 Received: from mail-pd0-f170.google.com (HELO mail-pd0-f170.google.com) (209.85.192.170) by server-6.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 4 Feb 2015 14:06:40 -0000 Received: by pdjz10 with SMTP id z10so886875pdj.13 for ; Wed, 04 Feb 2015 06:06:39 -0800 (PST) X-Received: by 10.70.89.207 with SMTP id bq15mr46385513pdb.68.1423058799273; Wed, 04 Feb 2015 06:06:39 -0800 (PST) Received: from parthd-ubunutu.qualcomm.com ([202.46.23.62]) by mx.google.com with ESMTPSA id kg12sm2161881pbb.44.2015.02.04.06.06.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Feb 2015 06:06:38 -0800 (PST) From: parth.dixit@linaro.org To: xen-devel@lists.xen.org Date: Wed, 4 Feb 2015 19:32:17 +0530 Message-Id: <1423058539-26403-34-git-send-email-parth.dixit@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1423058539-26403-1-git-send-email-parth.dixit@linaro.org> References: <1423058539-26403-1-git-send-email-parth.dixit@linaro.org> Cc: ian.campbell@citrix.com, julien.grall@linaro.org, tim@xen.org, stefano.stabellini@citrix.com, jbeulich@suse.com, Parth Dixit , christoffer.dall@linaro.org Subject: [Xen-devel] [PATCH RFC 33/35] arm : acpi enable efi for acpi X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: parth.dixit@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: From: Parth Dixit efi should be enabled to fetch the root pointer from uefi Signed-off-by: Parth Dixit --- xen/common/efi/runtime.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xen/common/efi/runtime.c b/xen/common/efi/runtime.c index c840e08..c8b8642 100644 --- a/xen/common/efi/runtime.c +++ b/xen/common/efi/runtime.c @@ -11,7 +11,13 @@ DEFINE_XEN_GUEST_HANDLE(CHAR16); #ifndef COMPAT #ifdef CONFIG_ARM /* Disabled until runtime services implemented */ + +#if defined(CONFIG_ARM_64) && defined(CONFIG_ACPI) +const bool_t efi_enabled = 1; +#else const bool_t efi_enabled = 0; +#endif + #else # include # include