From patchwork Mon Jul 22 10:57:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 18506 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 937CC25E11 for ; Mon, 22 Jul 2013 10:57:43 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id z20sf227912yhz.11 for ; Mon, 22 Jul 2013 03:57:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=oatnnC+b/nLUcECPczEwx5gxnm77YwAzeQGSaea0jRI=; b=EfJlU+9FrjktvZVhEIpMMyI7eH9WP9yley6e86tb/mkNN9XWv1f3dfq4CzLQsrrenY E12/CggNo5hdFU4XJ38gATrUwhMDTFqyavPpgHyvXnS0oKmmb/GRsQncCFxcN+saBXfy Vo5OPUmOu1pTPmC4a49/vBYxjHTGAOYLRj/j6OFCorHZOLuf/hDXfEHLjAU3etXlyB1n CBgZpDy3Bo7DserUYpN2VYUZl3ixVeQPU8F+IuOZsx8rwJqvkN2A5CEC5Q+bHcrKpPwa pnB+V8rLQJIdHW4bz5LcY+ymHGo37IZorwwR5NTGYndgu8aAtUM7rsH5zB7JBkRLKhme Ok9Q== X-Received: by 10.236.42.116 with SMTP id i80mr15171359yhb.26.1374490662747; Mon, 22 Jul 2013 03:57:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.14.131 with SMTP id p3ls2881816qec.93.gmail; Mon, 22 Jul 2013 03:57:42 -0700 (PDT) X-Received: by 10.58.40.42 with SMTP id u10mr9162267vek.39.1374490662667; Mon, 22 Jul 2013 03:57:42 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id b5si6889604vcl.70.2013.07.22.03.57.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Jul 2013 03:57:42 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf10so318924vcb.12 for ; Mon, 22 Jul 2013 03:57:42 -0700 (PDT) X-Received: by 10.220.17.206 with SMTP id t14mr9136747vca.15.1374490662596; Mon, 22 Jul 2013 03:57:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp49271veb; Mon, 22 Jul 2013 03:57:42 -0700 (PDT) X-Received: by 10.180.185.84 with SMTP id fa20mr29612306wic.49.1374490661327; Mon, 22 Jul 2013 03:57:41 -0700 (PDT) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx.google.com with ESMTPS id bw11si10688952wib.68.2013.07.22.03.57.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Jul 2013 03:57:41 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.174 is neither permitted nor denied by best guess record for domain of julien.grall@linaro.org) client-ip=209.85.212.174; Received: by mail-wi0-f174.google.com with SMTP id k10so1717555wiv.13 for ; Mon, 22 Jul 2013 03:57:40 -0700 (PDT) X-Received: by 10.194.119.195 with SMTP id kw3mr18958584wjb.64.1374490660230; Mon, 22 Jul 2013 03:57:40 -0700 (PDT) Received: from belegaer.uk.xensource.com. (firewall.ctxuk.citrix.com. [46.33.159.2]) by mx.google.com with ESMTPSA id b20sm39810917wiw.4.2013.07.22.03.57.38 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Jul 2013 03:57:39 -0700 (PDT) From: Julien Grall To: stefano.stabellini@eu.citrix.com, konrad.wilk@oracle.com Cc: ian.campbell@citrix.com, patches@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, xen-devel@lists.xen.org, Julien Grall Subject: [PATCH v3] xen/arm: enable PV control for ARM Date: Mon, 22 Jul 2013 11:57:34 +0100 Message-Id: <1374490654-13373-1-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQmbUZQw1g4VZVJuqGPDXF2JtEjDHdciyVSy6RCbbihOoMNlE03LryGayDu4eXenHQ81b2PD X-Original-Sender: julien.grall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Enable power management from the toolstack for ARM guest. Signed-off-by: Julien Grall Acked-by: Stefano Stabellini --- Changes in v3: - Fix condition to compile cpu_hotplug.o Changes in v2: - Don't compile xen/cpu_hotplug.o with ARM64 --- drivers/xen/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile index 2bf461a..f185e8d 100644 --- a/drivers/xen/Makefile +++ b/drivers/xen/Makefile @@ -1,9 +1,8 @@ -ifneq ($(CONFIG_ARM),y) -obj-y += manage.o +ifeq ($(filter y, $(CONFIG_ARM) $(CONFIG_ARM64)),) obj-$(CONFIG_HOTPLUG_CPU) += cpu_hotplug.o endif obj-$(CONFIG_X86) += fallback.o -obj-y += grant-table.o features.o events.o balloon.o time.o +obj-y += grant-table.o features.o events.o balloon.o time.o manage.o obj-y += xenbus/ nostackp := $(call cc-option, -fno-stack-protector)