From patchwork Thu Jan 30 10:41:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 23917 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5FAF9202E4 for ; Thu, 30 Jan 2014 10:41:58 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id oy12sf7555700veb.6 for ; Thu, 30 Jan 2014 02:41:57 -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=lIOiyaXdqlAvyWLyehw0GjedT3fAqvm0E5sFLJd6MKtzUsmg3/vkO6PdgA4Gwy2dNx AHdnDYwQpBs2IYQ3BllVQcozAEricoMQ0CrSANJwBEKEm7vqgMSHC4vsP385rcSweDQg KE7bJ+sM1Inc5AEEdmShwNfk+SlXN7rEKrP7Xchx6tYi1wI5t/VCgUQz59xD0zl2s4tA /UjsrLc9JAWUHG8N9ig9pACpo/Ym6qBe1ZtomVe9esNm+a4GZmqeGkGkOVtulGqr7+DK cpD8oCkJ8tK5ZIbCWp4VNP1mv++aCzKOzMgJjN1V/JqxCDks4JxFir1kDh7XKKKpM9MQ wFZw== X-Gm-Message-State: ALoCoQmaF0ofNKVRTTEDxxg7n3f38EedPVDeu0MhxphiwR/p6vHtNMMkwET4ENwnrwUoo9nMyWb2 X-Received: by 10.224.49.72 with SMTP id u8mr5100751qaf.3.1391078517310; Thu, 30 Jan 2014 02:41:57 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.100.146 with SMTP id s18ls575757qge.8.gmail; Thu, 30 Jan 2014 02:41:57 -0800 (PST) X-Received: by 10.58.188.78 with SMTP id fy14mr6054214vec.23.1391078517219; Thu, 30 Jan 2014 02:41:57 -0800 (PST) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id a2si1894318vea.67.2014.01.30.02.41.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Jan 2014 02:41:57 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.178 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.178; Received: by mail-ve0-f178.google.com with SMTP id oy12so2078511veb.9 for ; Thu, 30 Jan 2014 02:41:57 -0800 (PST) X-Received: by 10.58.186.132 with SMTP id fk4mr10877885vec.9.1391078517068; Thu, 30 Jan 2014 02:41:57 -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 u4csp1995vcz; Thu, 30 Jan 2014 02:41:56 -0800 (PST) X-Received: by 10.66.253.33 with SMTP id zx1mr13595318pac.28.1391078516217; Thu, 30 Jan 2014 02:41:56 -0800 (PST) Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by mx.google.com with ESMTPS id vb2si5929964pbc.217.2014.01.30.02.41.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Jan 2014 02:41:56 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.180 is neither permitted nor denied by best guess record for domain of anup.patel@linaro.org) client-ip=209.85.192.180; Received: by mail-pd0-f180.google.com with SMTP id x10so2873233pdj.11 for ; Thu, 30 Jan 2014 02:41:55 -0800 (PST) X-Received: by 10.68.171.4 with SMTP id aq4mr13662534pbc.150.1391078515831; Thu, 30 Jan 2014 02:41:55 -0800 (PST) Received: from pnqlab006.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id pe3sm16114916pbc.23.2014.01.30.02.41.48 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Jan 2014 02:41:54 -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: [PATCH v2 1/3] KVM: Add capability to advertise PSCI v0.2 support Date: Thu, 30 Jan 2014 16:11:17 +0530 Message-Id: <1391078479-7406-2-git-send-email-anup.patel@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1391078479-7406-1-git-send-email-anup.patel@linaro.org> References: <1391078479-7406-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.128.178 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 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