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=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 79DA3C83012 for ; Thu, 30 Apr 2020 12:00:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 59EAA20757 for ; Thu, 30 Apr 2020 12:00:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="AyUiISrq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726910AbgD3MAx (ORCPT ); Thu, 30 Apr 2020 08:00:53 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:29604 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726819AbgD3MAw (ORCPT ); Thu, 30 Apr 2020 08:00:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588248051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Rmi4mrxC2kjMximJG37kVyYsvSASF6Fbw0o5LGCNJAw=; b=AyUiISrq/66B8yL7BjdZMM9icUsB7sSS2TMOqQsGvJGeSI+GJwPzFplDh5q4d6XBz861H/ GxsnmGwRvy1N676u5HUOqxdS9E/fAe4zT2uzJY8ib6gLMyPuUaCLZUnXiBrByV7acnOYYa 2Uww2sPJ3WcdkgEKc+dVQgc5VZLiJk0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-31-OxUvUlMMOUKVMeXULKMzAA-1; Thu, 30 Apr 2020 08:00:35 -0400 X-MC-Unique: OxUvUlMMOUKVMeXULKMzAA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3FCAAEC1A3; Thu, 30 Apr 2020 12:00:33 +0000 (UTC) Received: from localhost (unknown [10.40.208.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8EDE5610AF; Thu, 30 Apr 2020 12:00:17 +0000 (UTC) Date: Thu, 30 Apr 2020 14:00:16 +0200 From: Igor Mammedov To: gengdongjiu Cc: Peter Maydell , Fam Zheng , Xiao Guangrong , kvm-devel , "Michael S. Tsirkin" , Marcelo Tosatti , QEMU Developers , Eduardo Habkost , Linuxarm , Shannon Zhao , Zheng Xiang , qemu-arm , Jonathan Cameron , Paolo Bonzini , Richard Henderson Subject: Re: [PATCH v25 00/10] Add ARMv8 RAS virtualization support in QEMU Message-ID: <20200430140016.0799afd7@redhat.com> In-Reply-To: <9906359a-cc13-fd7f-1cd3-c80c0ee90d09@huawei.com> References: <20200410114639.32844-1-gengdongjiu@huawei.com> <9906359a-cc13-fd7f-1cd3-c80c0ee90d09@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Thu, 30 Apr 2020 11:56:24 +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. > > Ping MST, Igor and Shannon, sorry for the noise. I put it on my review queue > > > > > Once those have been reviewed, please ping me if you want this > > to go via target-arm.next. > > > > thanks > > -- PMM > > > > . > > >