Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4354728ybi; Tue, 11 Jun 2019 05:24:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7zNwjEO0tyv1wXIexwacd2zlpHYZGFiR54qE+kYV+puAckg5BeEL+4Ue+KkjN4fwnVAMY X-Received: by 2002:a17:90a:e38f:: with SMTP id b15mr26895068pjz.85.1560255887005; Tue, 11 Jun 2019 05:24:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560255886; cv=none; d=google.com; s=arc-20160816; b=svaBjErtuz5VP8r3R6ZHFZFBdNE/f8heo5RbLJkm4HcekuK/IYfStg5s10kRvV72HR mrygG4wkCLYIEQlLDGtlAeRqGbAfmNQ69UnljxgWAVETrYWhwHnt+ytK0FMWjvy0Wepo NiLOmKGlpESAYGPx+TXS4twVb0MZzeSbOy2Xkx6UAoUDwwdQqDIRV9j9T0Gfwd7+Iz1F WJ9mC5sFsZdhb4j3v/L5/TCcyfAcyujaMl6K7NByYlZdSbcNRB9uVb8F7gEsPSryztlx hKEoykhBhGJUUksngWBKXJdHcz0160UGzk7/TCUSACdDUAu+NOmkYwf9Rh+o9nFgBtzz RxTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2R+rD8MSAKYSgEC/nrnaAjvDfTgHg5v+BpDI/EdY9g0=; b=bk+68a0I5N1AjC5CvKhCB+th2rC57KkAXc9TrcSWD3NA1xC6KD3dT4Q6oZKlIwSXEB 5k5qRguoNiUdOFvwFf1OW2eHXD/dsHWJ4pyT9GRbildz5SIbbs5sbazHHWPS4WD9S0CV C9a+CRBTSoAra96AQXcQjcKpbvQNtW/wjb2nsYqiKTXcE4W9Wc1QGOMHhiDpVjW10Dvy 22uVjGfJgX3AdfaESFyYsbnTy68f/qXcywnlL3L+xTD2knwfWj5EGTOarCcpOPCVmn/Y 7WZV6yj5+LsLsftsdihDqGMapvX3NzR9rJsn0J+lSsJZHSYTFy1j7CSUPsFE38wfImwQ zhGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=LKlN30yQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c8si12927431pfn.208.2019.06.11.05.24.31; Tue, 11 Jun 2019 05:24:46 -0700 (PDT) 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; dkim=pass header.i=@alien8.de header.s=dkim header.b=LKlN30yQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389970AbfFKLrg (ORCPT + 99 others); Tue, 11 Jun 2019 07:47:36 -0400 Received: from mail.skyhub.de ([5.9.137.197]:34110 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389881AbfFKLrg (ORCPT ); Tue, 11 Jun 2019 07:47:36 -0400 Received: from zn.tnic (p200300EC2F0A6800DC92A88D55C2D513.dip0.t-ipconnect.de [IPv6:2003:ec:2f0a:6800:dc92:a88d:55c2:d513]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 175771EC0AB5; Tue, 11 Jun 2019 13:47:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1560253654; 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:in-reply-to:in-reply-to: references:references; bh=2R+rD8MSAKYSgEC/nrnaAjvDfTgHg5v+BpDI/EdY9g0=; b=LKlN30yQvV8da4VdYifZWAZfVMF03ZFXIHMK/ruLWVQl6/izJ1i+/tNW4q0yj0SvpR+KUj HOgd5bnPlymU1qAcW/Sr3zSkswMSapwRV05US6l35NMGT4WMbNe8ODNGm7qGRTL+O4MmyZ ZmqhyQPUmzVSptmWaK2jeroLYQYRZrE= Date: Tue, 11 Jun 2019 13:47:29 +0200 From: Borislav Petkov To: Benjamin Herrenschmidt Cc: James Morse , "Hawa, Hanna" , "robh+dt@kernel.org" , "Woodhouse, David" , "paulmck@linux.ibm.com" , "mchehab@kernel.org" , "mark.rutland@arm.com" , "gregkh@linuxfoundation.org" , "davem@davemloft.net" , "nicolas.ferre@microchip.com" , "devicetree@vger.kernel.org" , "Shenhar, Talel" , "linux-kernel@vger.kernel.org" , "Chocron, Jonathan" , "Krupnik, Ronen" , "linux-edac@vger.kernel.org" , "Hanoch, Uri" Subject: Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC Message-ID: <20190611114729.GC31772@zn.tnic> References: <1559211329-13098-1-git-send-email-hhhawa@amazon.com> <1559211329-13098-3-git-send-email-hhhawa@amazon.com> <20190531051400.GA2275@cz.tnic> <32431fa2-2285-6c41-ce32-09630205bb54@arm.com> <9a2aaf4a9545ed30568a0613e64bc3f57f047799.camel@kernel.crashing.org> <20190608090556.GA32464@zn.tnic> <1ae5e7a3464f9d8e16b112cd371957ea20472864.camel@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1ae5e7a3464f9d8e16b112cd371957ea20472864.camel@kernel.crashing.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 11, 2019 at 03:50:40PM +1000, Benjamin Herrenschmidt wrote: > Should we fix that then instead ? Sure. > What are the big issues with adding some basic locking ? being called > from NMIs ? That is one possible issue. I know we don't call the error decoding routines in NMI context on x86 but no clue about ARM. > If the separate drivers operate on distinct counters I don't see a big > problem there. Yes, and they do. > I'n not sure why ... Well, however you'd call it. It will be some distinct name I hope :) -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.