From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jin Dongming Subject: [PATCH 00/11] Descriptions for patches of qemu mce. Date: Thu, 14 Oct 2010 17:40:24 +0900 Message-ID: <4CB6C1F8.4010004@np.css.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: Dean Nelson , Marcelo Tosatti , Huang Ying , Hidetoshi Seto , "qemu-devel@nongnu.org" , Avi Kivity To: KVM list Return-path: Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:43601 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754647Ab0JNIjN (ORCPT ); Thu, 14 Oct 2010 04:39:13 -0400 Received: from m5.gw.fujitsu.co.jp ([10.0.50.75]) by fgwmail6.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id o9E8dCP9018012 for (envelope-from jin.dongming@np.css.fujitsu.com); Thu, 14 Oct 2010 17:39:12 +0900 Received: from smail (m5 [127.0.0.1]) by outgoing.m5.gw.fujitsu.co.jp (Postfix) with ESMTP id 1AAE645DE51 for ; Thu, 14 Oct 2010 17:39:12 +0900 (JST) Received: from s5.gw.fujitsu.co.jp (s5.gw.fujitsu.co.jp [10.0.50.95]) by m5.gw.fujitsu.co.jp (Postfix) with ESMTP id E26ED45DE4E for ; Thu, 14 Oct 2010 17:39:11 +0900 (JST) Received: from s5.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s5.gw.fujitsu.co.jp (Postfix) with ESMTP id CCE5D1DB803F for ; Thu, 14 Oct 2010 17:39:11 +0900 (JST) Received: from m004.s.css.fujitsu.com (m004.s.css.fujitsu.com [10.23.4.34]) by s5.gw.fujitsu.co.jp (Postfix) with ESMTP id 79D98E18002 for ; Thu, 14 Oct 2010 17:39:11 +0900 (JST) Sender: kvm-owner@vger.kernel.org List-ID: These patches do the following changes. 1. Clean up: - Making the similar parts as one shared function. - modularizing the functions of SRAO and SRAR data setting. 2. Unify sigbus handling: - kvm_handle_sigbus can handle both cases of SIGBUS listed as following. A) Received by Main thread B) Received by VCPU threads 3. Change broadcast: - Broadcasting SRAR same as SRAO. - Broadcasting SRAO received by VCPU threads same as it by Main Thread. - Broadcasting mce depending on the cpu version according to the x86 ASDM vol.3A 15.10.4.1. ============= [PATCH 01/11]kvm, x86: ignore SRAO only when MCG_SER_P is available [PATCH 02/11]kvm, x86: introduce kvm_do_set_mce [PATCH 03/11]kvm, x86: introduce kvm_mce_in_progress [PATCH 04/11]kvm, x86: kvm_mce_inj_* subroutins for templated error injections [PATCH 05/11]kvm, x86: introduce kvm_inject_x86_mce_on [PATCH 06/11]kvm, x86: use target_phys_addr_t [PATCH 07/11]kvm, x86: unify sigbus handling, prep [PATCH 08/11]kvm, x86: unify sigbus handling [PATCH 09/11]kvm, x86: unify sigbus handling, post1 [PATCH 10/11]kvm, x86: unify sigbus handling, post2 [PATCH 11/11]kvm, x86: broadcast mce depending on the cpu version qemu-kvm.c | 300 ++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 162 insertions(+), 138 deletions(-) From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=58840 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6JLL-0004eF-0L for qemu-devel@nongnu.org; Thu, 14 Oct 2010 04:39:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6JLJ-0001zz-Uc for qemu-devel@nongnu.org; Thu, 14 Oct 2010 04:39:18 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:43603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6JLI-0001z4-Ow for qemu-devel@nongnu.org; Thu, 14 Oct 2010 04:39:17 -0400 Received: from m2.gw.fujitsu.co.jp ([10.0.50.72]) by fgwmail6.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id o9E8dClD018004 for (envelope-from jin.dongming@np.css.fujitsu.com); Thu, 14 Oct 2010 17:39:12 +0900 Received: from smail (m2 [127.0.0.1]) by outgoing.m2.gw.fujitsu.co.jp (Postfix) with ESMTP id EBAE345DE51 for ; Thu, 14 Oct 2010 17:39:11 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (s2.gw.fujitsu.co.jp [10.0.50.92]) by m2.gw.fujitsu.co.jp (Postfix) with ESMTP id CCB3F45DE4E for ; Thu, 14 Oct 2010 17:39:11 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id B774C1DB803A for ; Thu, 14 Oct 2010 17:39:11 +0900 (JST) Received: from m004.s.css.fujitsu.com (m004.s.css.fujitsu.com [10.23.4.34]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 79F971DB8038 for ; Thu, 14 Oct 2010 17:39:11 +0900 (JST) Message-ID: <4CB6C1F8.4010004@np.css.fujitsu.com> Date: Thu, 14 Oct 2010 17:40:24 +0900 From: Jin Dongming MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 00/11] Descriptions for patches of qemu mce. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: KVM list Cc: Hidetoshi Seto , Dean Nelson , Marcelo Tosatti , "qemu-devel@nongnu.org" , Avi Kivity , Huang Ying These patches do the following changes. 1. Clean up: - Making the similar parts as one shared function. - modularizing the functions of SRAO and SRAR data setting. 2. Unify sigbus handling: - kvm_handle_sigbus can handle both cases of SIGBUS listed as following. A) Received by Main thread B) Received by VCPU threads 3. Change broadcast: - Broadcasting SRAR same as SRAO. - Broadcasting SRAO received by VCPU threads same as it by Main Thread. - Broadcasting mce depending on the cpu version according to the x86 ASDM vol.3A 15.10.4.1. ============= [PATCH 01/11]kvm, x86: ignore SRAO only when MCG_SER_P is available [PATCH 02/11]kvm, x86: introduce kvm_do_set_mce [PATCH 03/11]kvm, x86: introduce kvm_mce_in_progress [PATCH 04/11]kvm, x86: kvm_mce_inj_* subroutins for templated error injections [PATCH 05/11]kvm, x86: introduce kvm_inject_x86_mce_on [PATCH 06/11]kvm, x86: use target_phys_addr_t [PATCH 07/11]kvm, x86: unify sigbus handling, prep [PATCH 08/11]kvm, x86: unify sigbus handling [PATCH 09/11]kvm, x86: unify sigbus handling, post1 [PATCH 10/11]kvm, x86: unify sigbus handling, post2 [PATCH 11/11]kvm, x86: broadcast mce depending on the cpu version qemu-kvm.c | 300 ++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 162 insertions(+), 138 deletions(-)