From patchwork Mon Jan 16 09:26:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 91549 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1339068qgi; Mon, 16 Jan 2017 01:40:16 -0800 (PST) X-Received: by 10.200.40.242 with SMTP id j47mr27773592qtj.24.1484559616239; Mon, 16 Jan 2017 01:40:16 -0800 (PST) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p63si13870432qkd.192.2017.01.16.01.40.16 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 16 Jan 2017 01:40:16 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org Received: from localhost ([::1]:55339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cT3lv-0003OW-Rz for patch@linaro.org; Mon, 16 Jan 2017 04:40:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cT3cW-0003l2-1p for qemu-devel@nongnu.org; Mon, 16 Jan 2017 04:30:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cT3cR-0002Sx-9G for qemu-devel@nongnu.org; Mon, 16 Jan 2017 04:30:32 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:12365) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1cT3cQ-0002QB-G4; Mon, 16 Jan 2017 04:30:27 -0500 Received: from 172.24.1.136 (EHLO szxeml426-hub.china.huawei.com) ([172.24.1.136]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DXW50571; Mon, 16 Jan 2017 17:28:09 +0800 (CST) Received: from HGHY1Z002260041.china.huawei.com (10.177.16.142) by szxeml426-hub.china.huawei.com (10.82.67.181) with Microsoft SMTP Server id 14.3.235.1; Mon, 16 Jan 2017 17:27:58 +0800 From: Shannon Zhao To: Date: Mon, 16 Jan 2017 17:26:55 +0800 Message-ID: <1484558821-15512-1-git-send-email-zhaoshenglong@huawei.com> X-Mailer: git-send-email 1.9.0.msysgit.0 MIME-Version: 1.0 X-Originating-IP: [10.177.16.142] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.587C922E.0190, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: ac3bf7f0f7d51e53ea9d1759f7ff6059 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 58.251.152.64 Subject: [Qemu-devel] [PATCH RFC 0/6] target-arm: KVM64: Cross type vCPU support X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: wei@redhat.com, peter.maydell@linaro.org, drjones@redhat.com, qemu-devel@nongnu.org, wu.wubin@huawei.com, zhaoshenglong@huawei.com, kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Shannon Zhao This patch set support use cross type vCPU when using KVM on ARM and add two new CPU types: generic and cortex-a72. You can test this patch set with QEMU using -cpu cortex-a53/cortex-a57/generic/cortex-a72 These patches can be fetched from: https://git.linaro.org/people/shannon.zhao/qemu.git cross_vcpu_rfc You corresponding KVM patches can be fetched from: https://git.linaro.org/people/shannon.zhao/linux-mainline.git cross_vcpu_rfc Shannon Zhao (6): headers: update linux headers target: arm: Add the qemu target for KVM_ARM_TARGET_GENERIC_V8 arm: kvm64: Check if kvm supports cross type vCPU target: arm: Add a generic type cpu arm: virt: Enable generic type CPU in virt machine target-arm: cpu64: Add support for Cortex-A72 hw/arm/virt.c | 2 + linux-headers/asm-arm64/kvm.h | 1 + linux-headers/linux/kvm.h | 2 + target/arm/cpu64.c | 110 +++++++++++++++++++++++++ target/arm/kvm-consts.h | 2 + target/arm/kvm64.c | 182 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 299 insertions(+) -- 2.0.4