From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D153EC38A24 for ; Thu, 7 May 2020 04:31:48 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A19D32075E for ; Thu, 7 May 2020 04:31:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A19D32075E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:55368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWYCJ-0001Cw-Sn for qemu-devel@archiver.kernel.org; Thu, 07 May 2020 00:31:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWYBi-0000g1-EH; Thu, 07 May 2020 00:31:10 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3678 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWYBg-0006IK-UB; Thu, 07 May 2020 00:31:09 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 7DC8BE60F56FF9613629; Thu, 7 May 2020 12:30:58 +0800 (CST) Received: from [127.0.0.1] (10.142.68.147) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Thu, 7 May 2020 12:30:50 +0800 Subject: Re: [PATCH v25 00/10] Add ARMv8 RAS virtualization support in QEMU To: "Michael S. Tsirkin" References: <20200410114639.32844-1-gengdongjiu@huawei.com> <20200506162439-mutt-send-email-mst@kernel.org> From: gengdongjiu Message-ID: <934931d5-b8c5-66db-db3d-ea19bdfc30f9@huawei.com> Date: Thu, 7 May 2020 12:30:49 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20200506162439-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.142.68.147] X-CFilter-Loop: Reflected X-ACL-Warn: iank eggs.gnu.org Received-SPF: pass client-ip=45.249.212.190; envelope-from=gengdongjiu@huawei.com; helo=huawei.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/07 00:30:59 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Peter Maydell , Xiao Guangrong , kvm-devel , Igor Mammedov , Marcelo Tosatti , QEMU Developers , Linuxarm , Shannon Zhao , Zheng Xiang , qemu-arm , Jonathan Cameron , Paolo Bonzini , Richard Henderson , Eduardo Habkost Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 2020/5/7 4:25, Michael S. Tsirkin wrote: > On Wed, May 06, 2020 at 07:42:19PM +0800, gengdongjiu wrote: >> On 2020/4/17 21:32, Peter Maydell wrote: >>> On Fri, 10 Apr 2020 at 12:46, Dongjiu Geng wrote: >>>> >>>> In the ARMv8 platform, the CPU error types includes synchronous external abort(SEA) >>>> and SError Interrupt (SEI). If exception happens in guest, host does not know the detailed >>>> information of guest, so it is expected that guest can do the recovery. For example, if an >>>> exception happens in a guest user-space application, host does not know which application >>>> encounters errors, only guest knows it. >>>> >>>> For the ARMv8 SEA/SEI, KVM or host kernel delivers SIGBUS to notify userspace. >>>> After user space gets the notification, it will record the CPER into guest GHES >>>> buffer and inject an exception or IRQ to guest. >>>> >>>> In the current implementation, if the type of SIGBUS is BUS_MCEERR_AR, we will >>>> treat it as a synchronous exception, and notify guest with ARMv8 SEA >>>> notification type after recording CPER into guest. >>> >>> Hi. I left a comment on patch 1. The other 3 patches unreviewed >>> are 5, 6 and 8, which are all ACPI core code, so that's for >>> MST, Igor or Shannon to review. >>> >>> Once those have been reviewed, please ping me if you want this >>> to go via target-arm.next. >> >> Hi Peter, >> Igor have reviewed all ACPI core code. whether you can apply this series to target-arm.next I can make another patches to solve your comments on patch1 and another APCI comment. >> Thanks very much in advance. > > Given it all starts with patch 1, it's probably easier to address the > comment and repost. Ok, I will do it. thanks. > > >>> >>> thanks >>> -- PMM >>> >>> . >>> > > . >