Message ID | 1398750865-10892-13-git-send-email-anup.patel@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDMMTIVGVAIBBA777SNAKGQE44RIJBQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f197.google.com (mail-yk0-f197.google.com [209.85.160.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9D30920553 for <linaro@patches.linaro.org>; Tue, 29 Apr 2014 05:58:27 +0000 (UTC) Received: by mail-yk0-f197.google.com with SMTP id 142sf430215ykq.8 for <linaro@patches.linaro.org>; Mon, 28 Apr 2014 22:58:27 -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:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=LzmK5+9A8yXujhNlSwZiVxfe8og5oyj96FCUWC5OCfU=; b=DnwHM3gUuW1ZpnAfcykrvP6T5g1h7AtMMTKRxslr+rPffZKOaAwO852SbilJ8FOv5W aolyAVfAHu6hHXfuc88sKJflVvyKXB3Fu76Cln0ZjEn6aB0gxHWsCRjokSrLR4F/CFu3 ihryIOs7MlP/lXvfcSkS3zMN9w11UMtm2SAgGRgur35cInLM/pOPP+WlHiz5hB4uPu9f x1DPQHn3VNQdLMF98TScW0JTQqqU1a+adoKZ8ucrymvviAzI7oqS9+o/XZYNT7UsUMCQ MBvVLkwOmYEfD6fWFAdNBXnN69oNs4HxMwYBizHirmn4PeYrYkz4PYnCtUJ1pxCw9+Xd T44Q== X-Gm-Message-State: ALoCoQliiAoNJVZGhK/5qtu/v/H6p1gMbJQu03TJWA6gseB80HBxoNNur7pWPnknh4mZJv6Cpq9w X-Received: by 10.58.112.1 with SMTP id im1mr14455132veb.33.1398751107342; Mon, 28 Apr 2014 22:58:27 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.82.145 with SMTP id h17ls3059434qgd.31.gmail; Mon, 28 Apr 2014 22:58:27 -0700 (PDT) X-Received: by 10.53.1.69 with SMTP id be5mr23558583vdd.27.1398751107227; Mon, 28 Apr 2014 22:58:27 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id kp14si4278588vcb.2.2014.04.28.22.58.27 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Apr 2014 22:58:27 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id ik5so5207248vcb.32 for <patchwork-forward@linaro.org>; Mon, 28 Apr 2014 22:58:27 -0700 (PDT) X-Received: by 10.52.12.36 with SMTP id v4mr24316518vdb.20.1398751107149; Mon, 28 Apr 2014 22:58:27 -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.220.221.72 with SMTP id ib8csp170826vcb; Mon, 28 Apr 2014 22:58:26 -0700 (PDT) X-Received: by 10.140.97.55 with SMTP id l52mr37588523qge.19.1398751106723; Mon, 28 Apr 2014 22:58:26 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id g32si2864511qge.4.2014.04.28.22.58.26 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Apr 2014 22:58:26 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wf12X-00042R-6n; Tue, 29 Apr 2014 05:57:13 +0000 Received: from mail-pd0-f170.google.com ([209.85.192.170]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wf11q-0002xn-3w for linux-arm-kernel@lists.infradead.org; Tue, 29 Apr 2014 05:56:30 +0000 Received: by mail-pd0-f170.google.com with SMTP id x10so3172928pdj.29 for <linux-arm-kernel@lists.infradead.org>; Mon, 28 Apr 2014 22:56:08 -0700 (PDT) X-Received: by 10.68.161.101 with SMTP id xr5mr7157875pbb.168.1398750968291; Mon, 28 Apr 2014 22:56:08 -0700 (PDT) Received: from pnqlab006.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id xg4sm39106507pbb.47.2014.04.28.22.56.03 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Apr 2014 22:56:07 -0700 (PDT) From: Anup Patel <anup.patel@linaro.org> To: kvmarm@lists.cs.columbia.edu Subject: [PATCH v11 12/12] ARM/ARM64: KVM: Advertise KVM_CAP_ARM_PSCI_0_2 to user space Date: Tue, 29 Apr 2014 11:24:25 +0530 Message-Id: <1398750865-10892-13-git-send-email-anup.patel@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398750865-10892-1-git-send-email-anup.patel@linaro.org> References: <1398750865-10892-1-git-send-email-anup.patel@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140428_225630_202467_748CF0A5 X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.192.170 listed in list.dnswl.org] Cc: Rob Herring <rob.herring@linaro.org>, linaro-kernel@lists.linaro.org, Anup Patel <anup.patel@linaro.org>, kvm@vger.kernel.org, Marc Zyngier <Marc.Zyngier@arm.com>, patches@apm.com, Ashwin Chaugule <ashwin.chaugule@linaro.org>, linux-arm-kernel@lists.infradead.org, Christoffer Dall <christoffer.dall@linaro.org>, Pranavkumar Sawargaonkar <pranavkumar@linaro.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anup.patel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index f0e50a0..3c82b37 100644 --- a/arch/arm/kvm/arm.c +++ b/arch/arm/kvm/arm.c @@ -197,6 +197,7 @@ int kvm_dev_ioctl_check_extension(long ext) case KVM_CAP_DESTROY_MEMORY_REGION_WORKS: case KVM_CAP_ONE_REG: case KVM_CAP_ARM_PSCI: + case KVM_CAP_ARM_PSCI_0_2: r = 1; break; case KVM_CAP_COALESCED_MMIO: