Message ID | 1401041942-23471-13-git-send-email-christoffer.dall@linaro.org |
---|---|
State | Accepted |
Commit | 4447a208f7fc2e2dff8c6a8df2a1fd6dd72fb3e2 |
Headers | show
Return-Path: <patchwork-forward+bncBCAJ5U7H64CRBDHKRCOAKGQEJ3TMRNY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 05EB6203AC for <linaro@patches.linaro.org>; Sun, 25 May 2014 18:23:09 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id i17sf25286691qcy.6 for <linaro@patches.linaro.org>; Sun, 25 May 2014 11:23:08 -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=n1scd/23hRj3+fJnT6Kzzmy4Nj2ourCpaSILKcbuEfQ=; b=J+kpsnR2oTrqln4H/stN4J6soSbsdTZte1/A3SuRU8izofv2bVeW7a+qmcEnIL+XD4 R1m9FOYU1R1H4R1BhJSAz9Ld9+bdChfPbInUmQH3B43jlhf6LjAGrZE5eqrlAfGfNZ8V 04hbipAkt7pXZmguEfJZiKUSsD8kDImxXnSoIesAIPd4xLtoTmhA7aB4Fc5T37cysbyl zIE94m88Hb+DCYjRlSD2C9GPPKtmTNXpEf0fmu6xcoF7IOdz4Rr9zaVMgpEyxtG9g26+ yl8eUO3Pw/4llIWcAzb+/L4pWIJOxGas4RYRuH46Tb5SUU95U9GKrYbbEgZsydNw+ZJX r3UA== X-Gm-Message-State: ALoCoQlddIVYTSHGx9et0AQFeFPAxvzxBgSV39cV5vGDANbPqH4mnAJWt81BIoMjh9LMll9otn0A X-Received: by 10.58.238.7 with SMTP id vg7mr8314260vec.22.1401042188820; Sun, 25 May 2014 11:23:08 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.81 with SMTP id b75ls2571857qgd.34.gmail; Sun, 25 May 2014 11:23:08 -0700 (PDT) X-Received: by 10.220.253.132 with SMTP id na4mr2751009vcb.39.1401042188687; Sun, 25 May 2014 11:23:08 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id xx10si5074887vec.105.2014.05.25.11.23.08 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 25 May 2014 11:23:08 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id id10so4908063vcb.20 for <patchwork-forward@linaro.org>; Sun, 25 May 2014 11:23:08 -0700 (PDT) X-Received: by 10.52.13.41 with SMTP id e9mr13961335vdc.21.1401042188613; Sun, 25 May 2014 11:23:08 -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 ib8csp52519vcb; Sun, 25 May 2014 11:23:08 -0700 (PDT) X-Received: by 10.140.28.3 with SMTP id 3mr24979658qgy.71.1401042188206; Sun, 25 May 2014 11:23:08 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id j91si10606764qgf.81.2014.05.25.11.23.08 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 May 2014 11:23:08 -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 1Wod3G-0007Ng-8O; Sun, 25 May 2014 18:21:42 +0000 Received: from mail-lb0-f179.google.com ([209.85.217.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wod1Z-0004pn-VD for linux-arm-kernel@lists.infradead.org; Sun, 25 May 2014 18:19:58 +0000 Received: by mail-lb0-f179.google.com with SMTP id c11so3750224lbj.38 for <linux-arm-kernel@lists.infradead.org>; Sun, 25 May 2014 11:19:35 -0700 (PDT) X-Received: by 10.112.50.2 with SMTP id y2mr2266612lbn.66.1401041975309; Sun, 25 May 2014 11:19:35 -0700 (PDT) Received: from localhost.localdomain (x1-6-b8-c7-5d-cb-5a-ca.cpe.webspeed.dk. [2.104.6.253]) by mx.google.com with ESMTPSA id o1sm9683895lbw.27.2014.05.25.11.19.32 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 25 May 2014 11:19:34 -0700 (PDT) From: Christoffer Dall <christoffer.dall@linaro.org> To: Paolo Bonzini <pbonzini@redhat.com>, Gleb Natapov <gleb@kernel.org> Subject: [PATCH 12/16] ARM/ARM64: KVM: Advertise KVM_CAP_ARM_PSCI_0_2 to user space Date: Sun, 25 May 2014 20:18:58 +0200 Message-Id: <1401041942-23471-13-git-send-email-christoffer.dall@linaro.org> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1401041942-23471-1-git-send-email-christoffer.dall@linaro.org> References: <1401041942-23471-1-git-send-email-christoffer.dall@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140525_111958_190352_4C2FF116 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.217.179 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record Cc: Peter Maydell <peter.maydell@linaro.org>, Anup Patel <anup.patel@linaro.org>, kvm@vger.kernel.org, Marc Zyngier <marc.zyngier@arm.com>, Ashwin Chaugule <ashwin.chaugule@linaro.org>, Christoffer Dall <christoffer.dall@linaro.org>, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.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: christoffer.dall@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.220.175 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 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: