Received: by 10.223.176.46 with SMTP id f43csp3976686wra; Tue, 23 Jan 2018 02:10:37 -0800 (PST) X-Google-Smtp-Source: AH8x224APvUIixt92omPlmmq0MkdR0Vd9WkaMfxGEyDvuCI7qXLxyPtdnCknfJq/bo1Pac1HOhS3 X-Received: by 2002:a17:902:7883:: with SMTP id q3-v6mr5223304pll.5.1516702237546; Tue, 23 Jan 2018 02:10:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516702237; cv=none; d=google.com; s=arc-20160816; b=xHmR6+Q58E+sWKXzimYy1Hlq5gdPWGm/t4uWSwONkgp3N9w1n+r1d2bUgInDqUcVUJ 1nKnojAvG+uZxChp8VMOSUr0fh6kLFUpPFbj8UbB4y9DTU6ynRcV69W1F1IhWiXog3Vm nD1WXkUH+5lfZC0lLepIkx278GJbOmp+aAaq6IwBgIzl68l1l9bb8rmHfAm2CDqHmDIe 9Mr9mFauNBKjLHsIuIhQ/XTnRoe5YV5ZMspthlDgkgFHV6gMEFYEcT29jo7uyYXECUxu G4tn3unjVkroRrnTrXSHK2NAjwIGpdKuXGn7eA1qcRtRm9ZrcfllsKPp63Po+V7Lvrs3 MQmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=ltudHT/yjNEndFYXXZaOijgzhSTkOJuWRX4zUS7dqA0=; b=tb9QtFcThihh4sLa+8ZJEArSti7QvZH1DvLTr9RdVp6W4tn//M9SNm/OrBFVeLdBM4 MS8tN/whf+MUm+FnJeFhz5fXR9dPgEAdjCI4BNrAKW/QKp52P2duBV0I+FFPxq1rVVPD kxzV3fh91IFPBH+1ybB/v3B8qngi6Skxqar21EJT+qOBnyUYlq5SLwCeXVdrASUC2rRF CVf9Oi8GJVGeqnx4sCSD+0/HaSqCLb+UtgrR0lZtBLCoc8sTI9yuY4h3HdhmhXMcO2YY qH+NjgfPKY0c+yEc5/8RgzKFZhwBhZ7Ul4qZ/Ax/S0inJlVpFgmJAObvmWJoImxbnt6V vKlA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e192si8946497pgc.547.2018.01.23.02.10.22; Tue, 23 Jan 2018 02:10:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751262AbeAWKJ4 (ORCPT + 99 others); Tue, 23 Jan 2018 05:09:56 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:4676 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751154AbeAWKJy (ORCPT ); Tue, 23 Jan 2018 05:09:54 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 7D06CADED2F43; Tue, 23 Jan 2018 18:09:41 +0800 (CST) Received: from [127.0.0.1] (10.142.68.147) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.361.1; Tue, 23 Jan 2018 18:09:33 +0800 Subject: Re: [PATCH v9 3/7] acpi: apei: Add SEI notification type support for ARMv8 From: gengdongjiu To: James Morse CC: , , , , , , , , , , , , , , , , References: <1515254577-6460-1-git-send-email-gengdongjiu@huawei.com> <1515254577-6460-4-git-send-email-gengdongjiu@huawei.com> <5A663DEC.8080804@arm.com> <168c3f61-0d11-13a4-c383-1f6a97d0ef37@huawei.com> Message-ID: <53566b7c-d686-66be-ee84-a6a6257b526a@huawei.com> Date: Tue, 23 Jan 2018 18:07:52 +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: <168c3f61-0d11-13a4-c383-1f6a97d0ef37@huawei.com> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.142.68.147] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sorry fix a typo. On 2018/1/23 17:23, gengdongjiu wrote: >> There are problems with doing this: >> >> Oct. 18, 2017, 10:26 a.m. James Morse wrote: >> | How do SEA and SEI interact? >> | >> | As far as I can see they can both interrupt each other, which isn't something >> | the single in_nmi() path in APEI can handle. I thinks we should fix this >> | first. >> >> [..] >> >> | SEA gets away with a lot of things because its synchronous. SEI isn't. Xie >> | XiuQi pointed to the memory_failure_queue() code. We can use this directly >> | from SEA, but not SEI. (what happens if an SError arrives while we are >> | queueing memory_failure work from an IRQ). >> | >> | The one that scares me is the trace-point reporting stuff. What happens if an >> | SError arrives while we are enabling a trace point? (these are static-keys >> | right?) >> | >> | I don't think we can just plumb SEI in like this and be done with it. >> | (I'm looking at teasing out the estatus cache code from being x86:NMI only. >> | This way we solve the same 'cant do this from NMI context' with the same >> | code'.) >> >> >> I will post what I've got for this estatus-cache thing as an RFC, its not ready >> to be considered yet. Yes, I know you are dong that. Your serial's patch will consider all above things, right? If your patch can be consider that, this patch can based on your patchset. thanks. > >>