From patchwork Thu Feb 6 11:31:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 24242 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f199.google.com (mail-pd0-f199.google.com [209.85.192.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7024820445 for ; Thu, 6 Feb 2014 11:32:17 +0000 (UTC) Received: by mail-pd0-f199.google.com with SMTP id fp1sf845691pdb.10 for ; Thu, 06 Feb 2014 03:32:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=DToWsUQXiP4OiQQaC5r2+QIf3kKGEGfoPzbQq2su6uM=; b=A7J3La4r53q1b9eFm49NTyTvHjXDTxM44M3/cnGp9mpoHHgnSau+OtGxbdEcueuZ5A c8IIP7/xMq655omM56iHSRqD/6i8G3mdrTWM9dMNbycMxPCEZ5bj1UPGCe++2+XND6H9 hHoP8at6zHhBrupXZO2u0ey1DqB7X3iQyVenQy0zJ+abjmHI5PJpqpmIr44s/imdLRVw /QbFgJcDpsrW5gg28AozRcLHOOtcn40Jm6OOHSPi9voIwmLddQ3VdZD2nTsIDSveImXC bdolNCjeT7iW75/toWa3nwFmqEEHvWXigytyE+6carD1raugV/Q0VmnKGN15r/gy9Gpm J0sA== X-Gm-Message-State: ALoCoQk9CF6LnZnl9EEzSBePHtk4cqZLzhu/up6W/nxDMD5kctCxF7L7GKHvrY8StLI6B9zxZeLz X-Received: by 10.66.161.200 with SMTP id xu8mr752909pab.7.1391686336368; Thu, 06 Feb 2014 03:32:16 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.5 with SMTP id q5ls522362qgd.99.gmail; Thu, 06 Feb 2014 03:32:16 -0800 (PST) X-Received: by 10.52.61.133 with SMTP id p5mr884761vdr.4.1391686336162; Thu, 06 Feb 2014 03:32:16 -0800 (PST) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id g4si155020vch.148.2014.02.06.03.32.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Feb 2014 03:32:15 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.175 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.175; Received: by mail-vc0-f175.google.com with SMTP id ij19so1305031vcb.20 for ; Thu, 06 Feb 2014 03:32:15 -0800 (PST) X-Received: by 10.52.84.102 with SMTP id x6mr56197vdy.49.1391686335829; Thu, 06 Feb 2014 03:32:15 -0800 (PST) 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.220.174.196 with SMTP id u4csp5221vcz; Thu, 6 Feb 2014 03:32:15 -0800 (PST) X-Received: by 10.68.184.66 with SMTP id es2mr11954289pbc.19.1391686334367; Thu, 06 Feb 2014 03:32:14 -0800 (PST) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by mx.google.com with ESMTPS id fu1si840965pbc.14.2014.02.06.03.32.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Feb 2014 03:32:14 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.177 is neither permitted nor denied by best guess record for domain of anup.patel@linaro.org) client-ip=209.85.192.177; Received: by mail-pd0-f177.google.com with SMTP id x10so1576455pdj.36 for ; Thu, 06 Feb 2014 03:32:14 -0800 (PST) X-Received: by 10.68.189.132 with SMTP id gi4mr11935150pbc.57.1391686333928; Thu, 06 Feb 2014 03:32:13 -0800 (PST) Received: from pnqlab006.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id yd4sm2594758pbc.13.2014.02.06.03.32.08 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Feb 2014 03:32:12 -0800 (PST) From: Anup Patel To: kvmarm@lists.cs.columbia.edu Cc: linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, patches@linaro.org, patches@apm.com, Marc Zyngier , Christoffer Dall , Mark Rutland , Pranavkumar Sawargaonkar , Anup Patel Subject: [PATCH v4 01/10] KVM: Add capability to advertise PSCI v0.2 support Date: Thu, 6 Feb 2014 17:01:33 +0530 Message-Id: <1391686302-19451-2-git-send-email-anup.patel@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1391686302-19451-1-git-send-email-anup.patel@linaro.org> References: <1391686302-19451-1-git-send-email-anup.patel@linaro.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.220.175 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: , User space (i.e. QEMU or KVMTOOL) should be able to check whether KVM ARM/ARM64 supports in-kernel PSCI v0.2 emulation. For this purpose, we define KVM_CAP_ARM_PSCI_0_2 in KVM user space interface header. Signed-off-by: Anup Patel Signed-off-by: Pranavkumar Sawargaonkar Acked-by: Christoffer Dall --- include/uapi/linux/kvm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 932d7f2..fb3c3f3 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -675,6 +675,7 @@ struct kvm_ppc_smmu_info { #define KVM_CAP_SPAPR_MULTITCE 94 #define KVM_CAP_EXT_EMUL_CPUID 95 #define KVM_CAP_HYPERV_TIME 96 +#define KVM_CAP_ARM_PSCI_0_2 97 #ifdef KVM_CAP_IRQ_ROUTING