From patchwork Sat Jul 21 17:57:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongjiu Geng X-Patchwork-Id: 947301 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=huawei.com Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41Xjkl1rg5z9s3q for ; Sat, 21 Jul 2018 19:53:49 +1000 (AEST) Received: from localhost ([::1]:51322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgoa5-0006Bj-Rc for incoming@patchwork.ozlabs.org; Sat, 21 Jul 2018 05:53:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgoZO-00066y-9t for qemu-devel@nongnu.org; Sat, 21 Jul 2018 05:52:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgoZN-0007aG-BC for qemu-devel@nongnu.org; Sat, 21 Jul 2018 05:52:58 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2556 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fgoZI-0007XD-Cj; Sat, 21 Jul 2018 05:52:52 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 1F5BC96309E59; Sat, 21 Jul 2018 17:52:30 +0800 (CST) Received: from localhost.localdomain (10.143.28.90) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.382.0; Sat, 21 Jul 2018 17:52:23 +0800 From: Dongjiu Geng To: , , Date: Sat, 21 Jul 2018 13:57:40 -0400 Message-ID: <1532195863-23945-1-git-send-email-gengdongjiu@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.143.28.90] X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 45.249.212.191 Subject: [Qemu-devel] [PATCH v5 0/3] add support for VCPU event states 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: linuxarm@huawei.com, gengdongjiu@huawei.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Support for KVM_GET/SET_VCPU_EVENTS to get/set the SError exception state, and support the state migration. change since v4: 1. update the linux header file to 4.18-rc5 change since v3: 1. Add a new new subsection with a suitable 'ras_needed' function controlling whether it is present 2. Add a ARM_FEATURE_RAS feature bit for CPUARMState change since v2: 1. add header definition for arm platform change since v1: 1. update the code to fix the build errors The related kernel change has been already applied to kvmarm/next. (https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git/log/?h=next) Dongjiu Geng (3): Update Linux headers to 4.18-rc5 kvm: sync linux headers target: arm: Add support for VCPU event states include/standard-headers/linux/virtio_config.h | 16 +++++-- linux-headers/asm-arm/kvm.h | 13 ++++++ linux-headers/asm-arm64/kvm.h | 13 ++++++ linux-headers/asm-mips/unistd.h | 18 +++++--- linux-headers/asm-powerpc/kvm.h | 1 + linux-headers/asm-powerpc/unistd.h | 1 + linux-headers/asm-s390/unistd_32.h | 2 + linux-headers/asm-s390/unistd_64.h | 2 + linux-headers/linux/kvm.h | 1 + target/arm/cpu.h | 6 +++ target/arm/kvm64.c | 59 ++++++++++++++++++++++++++ target/arm/machine.c | 22 ++++++++++ 12 files changed, 144 insertions(+), 10 deletions(-)