From patchwork Tue Jan 21 13:01:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 23435 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 656BE203BE for ; Tue, 21 Jan 2014 13:02:06 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id x13sf32854851ief.2 for ; Tue, 21 Jan 2014 05:02:05 -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=WdYPcoVga1fGoX6V/wqqVa/WyimfCUS6hAakfgEXXX4=; b=gk/Yhi01+tKb05FSLAHMu04eo96Y2Tu5G7ExY8V9ltlBGTCBvKxCqckGXfxUawWynT qjUufVSvF0IooAupzgQt9J9hHzZud7CcNyAlq45Hj7+5TVtqCLSFwim7AEdS0j0Exb7O lggGBi20rJ11oP1XfyzhV888IzVklIphQvS5FrP3rJQqXzcZEBcBNkfggP+7zdI6Nplq 0Vi42Yn8gJZdpeut0vet3Coy9uRsP58HPwqW1CdA4CblU9ZDj2G2D0iDbgOvy1zId7uq 3heOALpBcxajUg2my3SaeQE4l9QocFAh7bqnSDaoJqLO1J8rc/e9Q1r2V0fUJkqrX5fr r0xA== X-Gm-Message-State: ALoCoQnFKy4aTw1vZF1o3WBeTu5HZevex+HttNVIMpW3JAQupebFTklfeU49kZ0kFvxrXgpXPcQj X-Received: by 10.182.243.166 with SMTP id wz6mr8560617obc.19.1390309325683; Tue, 21 Jan 2014 05:02:05 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.139 with SMTP id 11ls1266361qgn.84.gmail; Tue, 21 Jan 2014 05:02:05 -0800 (PST) X-Received: by 10.220.99.72 with SMTP id t8mr14453281vcn.10.1390309325528; Tue, 21 Jan 2014 05:02:05 -0800 (PST) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id t4si1983067vcz.58.2014.01.21.05.02.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 05:02:05 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.180 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.180; Received: by mail-vc0-f180.google.com with SMTP id ks9so3447213vcb.39 for ; Tue, 21 Jan 2014 05:02:05 -0800 (PST) X-Received: by 10.221.55.8 with SMTP id vw8mr14386739vcb.8.1390309325458; Tue, 21 Jan 2014 05:02:05 -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 u4csp115573vcz; Tue, 21 Jan 2014 05:02:04 -0800 (PST) X-Received: by 10.66.16.131 with SMTP id g3mr9280427pad.138.1390309324470; Tue, 21 Jan 2014 05:02:04 -0800 (PST) Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by mx.google.com with ESMTPS id qv10si5388114pbb.142.2014.01.21.05.02.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 05:02:04 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.49 is neither permitted nor denied by best guess record for domain of anup.patel@linaro.org) client-ip=209.85.160.49; Received: by mail-pb0-f49.google.com with SMTP id up15so7790066pbc.22 for ; Tue, 21 Jan 2014 05:02:04 -0800 (PST) X-Received: by 10.68.201.71 with SMTP id jy7mr24812454pbc.47.1390309323994; Tue, 21 Jan 2014 05:02:03 -0800 (PST) Received: from pnqlab006.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id x5sm12286819pbw.26.2014.01.21.05.01.58 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 05:02:02 -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 , Pranavkumar Sawargaonkar , Mark Rutland , Anup Patel Subject: [RFC PATCH 1/3] KVM: Add capability to advertise PSCI v0.2 support Date: Tue, 21 Jan 2014 18:31:39 +0530 Message-Id: <1390309301-28424-2-git-send-email-anup.patel@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1390309301-28424-1-git-send-email-anup.patel@linaro.org> References: <1390309301-28424-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.180 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 --- 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 902f124..d64349e 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -674,6 +674,7 @@ struct kvm_ppc_smmu_info { #define KVM_CAP_ARM_EL1_32BIT 93 #define KVM_CAP_SPAPR_MULTITCE 94 #define KVM_CAP_EXT_EMUL_CPUID 95 +#define KVM_CAP_ARM_PSCI_0_2 96 #ifdef KVM_CAP_IRQ_ROUTING