Message ID | 1396515949-1459-13-git-send-email-anup.patel@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDMMTIVGVAIBBBOM6SMQKGQENCBLDIQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7C65B20490 for <linaro@patches.linaro.org>; Thu, 3 Apr 2014 09:12:38 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id p10sf5013752pdj.3 for <linaro@patches.linaro.org>; Thu, 03 Apr 2014 02:12:37 -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=4JqOZAgIVnOgv0ZlGeqI+EptIOlNhD20jZmeuus9t2o=; b=KdzMOsNsGhk2i4Y5Dxsx8Fk3YQ6VCjmZd01hyjdy0S352rLCAErX85bZBpO0pf7Acr 3XdzrogmQ7nrrdKqreqEJh8nzqSQK0WH/n0ilZZ/tF2Cx184TCZ96OBiWb0RWVwoFNBb +01H95pRhwMxiDsMuj/Wzm2NJ475bTMBH18BmwoLJ7+EiY8/FsdPGqHFYzbEcw0FiK+C e0HrXBdXo4GnLVWV1N1G+aclzjDZq3edyU1lW3PJmDFW7yGbbHtt8Qc4K6O1K7Tor7nT 5k/IeS/WtOfxZWcx5B9nkTqKfdINFS5FE/vIN3U9yXSEYm+FYkQpecqgsNNOiUVEdm2F 6F4A== X-Gm-Message-State: ALoCoQnXvctmPb69OWri+u3d0xhROe+KcHJgBaDwzyvK9Bz5Df8DI08MuCz/CiC64iG94WapJhp0 X-Received: by 10.66.120.79 with SMTP id la15mr3251283pab.6.1396516357756; Thu, 03 Apr 2014 02:12:37 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.26.183 with SMTP id 52ls586890qgv.38.gmail; Thu, 03 Apr 2014 02:12:37 -0700 (PDT) X-Received: by 10.220.237.146 with SMTP id ko18mr368147vcb.49.1396516357635; Thu, 03 Apr 2014 02:12:37 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id e10si1152856vcq.2.2014.04.03.02.12.37 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Apr 2014 02:12:37 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id jw12so55615veb.27 for <patchwork-forward@linaro.org>; Thu, 03 Apr 2014 02:12:37 -0700 (PDT) X-Received: by 10.52.33.176 with SMTP id s16mr5516990vdi.49.1396516357557; Thu, 03 Apr 2014 02:12:37 -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.12.8 with SMTP id v8csp11864vcv; Thu, 3 Apr 2014 02:12:36 -0700 (PDT) X-Received: by 10.194.82.69 with SMTP id g5mr8104677wjy.85.1396516355986; Thu, 03 Apr 2014 02:12:35 -0700 (PDT) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id el5si3050789wib.117.2014.04.03.02.12.35 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Apr 2014 02:12:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVdeo-0003zX-OK; Thu, 03 Apr 2014 09:09:59 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVddq-0005fg-Nd; Thu, 03 Apr 2014 09:08:58 +0000 Received: from mail-pa0-f44.google.com ([209.85.220.44]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVddl-0005bs-MD for linux-arm-kernel@lists.infradead.org; Thu, 03 Apr 2014 09:08:54 +0000 Received: by mail-pa0-f44.google.com with SMTP id bj1so1548827pad.17 for <linux-arm-kernel@lists.infradead.org>; Thu, 03 Apr 2014 02:08:31 -0700 (PDT) X-Received: by 10.68.171.229 with SMTP id ax5mr5875125pbc.125.1396516111530; Thu, 03 Apr 2014 02:08:31 -0700 (PDT) Received: from pnqlab006.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id kt8sm22370786pab.7.2014.04.03.02.08.24 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Apr 2014 02:08:30 -0700 (PDT) From: Anup Patel <anup.patel@linaro.org> To: kvmarm@lists.cs.columbia.edu Subject: [PATCH v8 12/12] ARM/ARM64: KVM: Advertise KVM_CAP_ARM_PSCI_0_2 to user space Date: Thu, 3 Apr 2014 14:35:49 +0530 Message-Id: <1396515949-1459-13-git-send-email-anup.patel@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1396515949-1459-1-git-send-email-anup.patel@linaro.org> References: <1396515949-1459-1-git-send-email-anup.patel@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140403_050853_845728_EE1A3142 X-CRM114-Status: UNSURE ( 7.91 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.44 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Mark Rutland <mark.rutland@arm.com>, Rob Herring <rob.herring@linaro.org>, linaro-kernel@lists.linaro.org, Anup Patel <anup.patel@linaro.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: 209.85.128.182 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 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 bd18bb8..2076605 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: