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.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 B031BC4BA18 for ; Wed, 26 Feb 2020 16:35:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8D391206E6 for ; Wed, 26 Feb 2020 16:35:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727060AbgBZQfO (ORCPT ); Wed, 26 Feb 2020 11:35:14 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11113 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726631AbgBZQfO (ORCPT ); Wed, 26 Feb 2020 11:35:14 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A81A06B3A77E2ABFB80C; Thu, 27 Feb 2020 00:34:59 +0800 (CST) Received: from [127.0.0.1] (10.142.68.147) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Thu, 27 Feb 2020 00:34:53 +0800 Subject: Re: [PATCH v24 00/10] Add ARMv8 RAS virtualization support in QEMU To: Igor Mammedov CC: Peter Maydell , Fam Zheng , "Xiao Guangrong" , kvm-devel , "Michael S. Tsirkin" , Marcelo Tosatti , QEMU Developers , Eduardo Habkost , Shannon Zhao , Zheng Xiang , qemu-arm , James Morse , Shameerali Kolothum Thodi , Jonathan Cameron , Paolo Bonzini , "Laszlo Ersek" , Richard Henderson References: <20200217131248.28273-1-gengdongjiu@huawei.com> <20200225175918.5a81506f@redhat.com> From: gengdongjiu Message-ID: <5bceff96-8681-e33e-8edd-70fd121c055a@huawei.com> Date: Thu, 27 Feb 2020 00:34:40 +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: <20200225175918.5a81506f@redhat.com> 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 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 2020/2/26 0:59, Igor Mammedov wrote: > On Mon, 24 Feb 2020 16:37:44 +0800 > gengdongjiu wrote: > >> On 2020/2/21 22:09, Peter Maydell wrote: >>> On Mon, 17 Feb 2020 at 13:10, 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 have reviewed the remaining arm bit of this series (patch 9), >>> and made some comments on patch 1. Still to be reviewed are >>> patches 4, 5, 6, 8: I'm going to assume that Michael or Igor >>> will look at those. >> >> Thanks very much for Peter's review. >> Michael/Igor, hope you can review patches 4, 5, 6, 8, thank you very much in advance. > > done Thanks a lot, do you think whether it is ready to merge if the comments that you mentioned are fixed? If there are some other places that still needs to modify, hope you can pointed it out, so that in next patch series it can be ready to merge. thanks. > >>> >>> thanks >>> -- PMM >>> >>> . >>> >> > > . >