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: 2831256 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 105679F9CC for ; Mon, 22 Jul 2013 11:03:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DFDB3201D3 for ; Mon, 22 Jul 2013 11:03:40 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9F3E8201C4 for ; Mon, 22 Jul 2013 11:03:39 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1DrV-0004JN-92; Mon, 22 Jul 2013 11:01:10 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1Dod-0005Gw-Bv; Mon, 22 Jul 2013 10:58:07 +0000 Received: from mail-wi0-f176.google.com ([209.85.212.176]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1DoZ-0005GR-6I for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2013 10:58:05 +0000 Received: by mail-wi0-f176.google.com with SMTP id ey16so1718389wid.9 for ; Mon, 22 Jul 2013 03:57:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=oatnnC+b/nLUcECPczEwx5gxnm77YwAzeQGSaea0jRI=; b=ihvxxbyifFmdhLukZ+P+CvzDwcGosnosCEsJ+tFw22tyG0/W/Z5sFcqD6l+K/j1H8t V8LbQwjwSPyzosfoEc44UqKn1z0d9l+wgmbA28h2rzz6VO1OKMU86j39tC+NySYZS3pG Ex0tSQw/3TAB5BwgTuymdisDX5xsz9Z1LIpPDYLLQY4IXh1i8K9v32H/gxzPfDEkB0jr hQ76A8PxvdtzW5zhm5P72XgyA0UO/tsNAkZWZCKjOWVlco1hSCnbAr6967ZN7VkmgPTS kOVGiKgcXMj88zejedLDU20Ca+F97HRGghwds3XHVPs5gJ/JycwLjKR7LRMraXS9VrZf vesA== 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 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: ALoCoQmVJCRlsRPWxUKi6eiVG0Cn8SBLJGVjRz084yjuOOBXLfedYsDHhk18pG/XKXsgjoS8D1Q1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130722_065803_374130_BE567A1D X-CRM114-Status: UNSURE ( 7.66 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: ian.campbell@citrix.com, patches@linaro.org, Julien Grall , linux-kernel@vger.kernel.org, xen-devel@lists.xen.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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)