From patchwork Sun May 17 20:04:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Parth Dixit X-Patchwork-Id: 48659 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8110D21411 for ; Sun, 17 May 2015 20:07:44 +0000 (UTC) Received: by wizk4 with SMTP id k4sf15352451wiz.2 for ; Sun, 17 May 2015 13:07:43 -0700 (PDT) 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=DKfsldm2iXztstr7MB1KGw6988J4zrk5spX+Bh3ap0Q=; b=WrJ6zhguj2xzy4CUS4WYE4m2NnF9/Oy4rodOeLVmRdqSlcy646YTJnxow6xiX/wU/N cI0Wrp06KsWT5sO8g/jR0XyadjtA2oUYl8uEl2gjfEOTYl9TWvjtM72yWU4dunavgp4q BzRqKNoRJjT4obr23t1iK5cikt4JY9Z3E++k31VMoivpgVAZmrad9kVFh2un6qleNPVz eL96UQElV/yesglKfw4osI7fmwDsgZoJ9qsAgT/L6FJkAOgtEEQOm56Xnl2ydB5Ixgft HvAV6eeF3r5VYJ7H40VUCXuLrk99UbGl5/7OrVMEIExY6VpX6mhBE3gOAAr8R7P3PLUK 6gCA== X-Gm-Message-State: ALoCoQmCDQDK46/stArqpG/pTJEoOYfeJ1i5y75uOWVkRVQedn33shcJVKF8Q7XmfraheUg97i5R X-Received: by 10.180.97.9 with SMTP id dw9mr7291853wib.2.1431893263884; Sun, 17 May 2015 13:07:43 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.169 with SMTP id l9ls700322lah.52.gmail; Sun, 17 May 2015 13:07:43 -0700 (PDT) X-Received: by 10.112.199.195 with SMTP id jm3mr14813456lbc.38.1431893263725; Sun, 17 May 2015 13:07:43 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id q1si5325287lbr.116.2015.05.17.13.07.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 May 2015 13:07:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lagv1 with SMTP id v1so191341410lag.3 for ; Sun, 17 May 2015 13:07:43 -0700 (PDT) X-Received: by 10.112.161.226 with SMTP id xv2mr15128925lbb.106.1431893263456; Sun, 17 May 2015 13:07:43 -0700 (PDT) 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.108.230 with SMTP id hn6csp3508412lbb; Sun, 17 May 2015 13:07:42 -0700 (PDT) X-Received: by 10.55.26.86 with SMTP id a83mr31646752qka.83.1431893261970; Sun, 17 May 2015 13:07:41 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id q52si8287293qgd.39.2015.05.17.13.07.41 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 17 May 2015 13:07:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xen.org designates 50.57.142.19 as permitted sender) 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 1Yu4q3-0004Um-FE; Sun, 17 May 2015 20:07:07 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Yu4q2-0004RD-5V for xen-devel@lists.xen.org; Sun, 17 May 2015 20:07:06 +0000 Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id 3A/91-03195-8E4F8555; Sun, 17 May 2015 20:07:04 +0000 X-Env-Sender: parth.dixit@linaro.org X-Msg-Ref: server-8.tower-206.messagelabs.com!1431893222!11111276!1 X-Originating-IP: [209.85.220.41] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.13.15; banners=-,-,- X-VirusChecked: Checked Received: (qmail 5082 invoked from network); 17 May 2015 20:07:03 -0000 Received: from mail-pa0-f41.google.com (HELO mail-pa0-f41.google.com) (209.85.220.41) by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 17 May 2015 20:07:03 -0000 Received: by pabts4 with SMTP id ts4so119824337pab.3 for ; Sun, 17 May 2015 13:07:02 -0700 (PDT) X-Received: by 10.66.222.130 with SMTP id qm2mr37928148pac.39.1431893222310; Sun, 17 May 2015 13:07:02 -0700 (PDT) Received: from localhost.localdomain ([117.247.24.139]) by mx.google.com with ESMTPSA id j9sm7838401pdm.53.2015.05.17.13.06.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 17 May 2015 13:07:01 -0700 (PDT) From: Parth Dixit To: xen-devel@lists.xen.org Date: Mon, 18 May 2015 01:34:07 +0530 Message-Id: <1431893048-5214-41-git-send-email-parth.dixit@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431893048-5214-1-git-send-email-parth.dixit@linaro.org> References: <1431893048-5214-1-git-send-email-parth.dixit@linaro.org> Cc: keir@xen.org, ian.campbell@citrix.com, andrew.cooper3@citrix.com, tim@xen.org, julien.grall@citrix.com, stefano.stabellini@citrix.com, jbeulich@suse.com, parth.dixit@linaro.org, christoffer.dall@linaro.org Subject: [Xen-devel] [PATCH v2 40/41] xen: arm64: Add ACPI support 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.45 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: Naresh Bhat Add ACPI support on arm64 xen hypervisor. Signed-off-by: Naresh Bhat --- config/arm64.mk | 1 + xen/include/asm-arm/config.h | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/config/arm64.mk b/config/arm64.mk index e24c1d1..bce9107 100644 --- a/config/arm64.mk +++ b/config/arm64.mk @@ -10,6 +10,7 @@ HAS_PL011 := y HAS_CADENCE_UART := y HAS_NS16550 := y HAS_MEM_ACCESS := y +HAS_ACPI := y # Use only if calling $(LD) directly. LDFLAGS_DIRECT += -EL diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h index 3b23e05..0170925 100644 --- a/xen/include/asm-arm/config.h +++ b/xen/include/asm-arm/config.h @@ -33,6 +33,11 @@ #define CONFIG_ARM_L1_CACHE_SHIFT 7 /* XXX */ +#if defined(CONFIG_ARM_64) +#define CONFIG_ACPI 1 +#define CONFIG_ACPI_BOOT 1 +#endif + #define CONFIG_SMP 1 #define CONFIG_VIDEO 1