Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7127117ybi; Thu, 13 Jun 2019 10:02:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMS13JfLSInWYldpmm9e/UonWec08LiuwGfgbYdqq6IPReZhKtNGf5SdmhAPUf1EwEsec2 X-Received: by 2002:a62:ac1a:: with SMTP id v26mr72650698pfe.184.1560445351156; Thu, 13 Jun 2019 10:02:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560445351; cv=none; d=google.com; s=arc-20160816; b=ydgvMr4kqFby2hBkArVsylrScurGjdVNNQyjarx+r257BOvmkvpkf2OF5xBPi4TI67 cGPEFSr3vl5H/97SwTxShznDc6fMx8U63377fGmKE8JG8uPqhhjE6UEt7VuN2LxPrjFl 547+isiPJYXyO5SpYPYapRlYqdfUYg5V0sybsLtHk8jOvNTHRMh9bJkubRUsyB6TjLPk yQLtk4Jr4eiVNKzDEcecQqcIn8K0mHwHZEE9B+txPSBckOkqRq1juP/CODZDBxDdRXwR j1yL8i0tXHdYgUar/EcFq/IDiO8s4vos0VveI/uB5P35IdDiA+isXCcyligwltxDGuQ0 LEmw== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=GSFE38AaggVoboXjgaWy5QcnZbGDCnDoYCkdd2Ce5QU=; b=QXX/4YFJiudOqrpZsvZtcoJHR/C5YqB8YK9lW/k/y0yE/7TH0TVjOX0nsAoorYVmfq basgIE1l33SQmOeCgkayrvwfrG4bJ0i346vMN5mI/UhYDxBX62rcBHlAOAtOKvZPxWMf 17Is6HH2fGS2R+r2ZVTqgMsBcA9G7hhs8ATXMOIrX6wRCaVA3Jbug1On4K8EoRr2CBly 2THtZG6DIk6S/h2FkYUwUevatCFSow9DKdOqL9ekzK3GtJkPhjPuv5QIh5/ESJVcbGe6 eudJ3jQFnoqQUVBaXaa3x/aDEIiw+mnhh/ufjFAAYHyHk494AebVoHSLV6cV+BlIRIUm Gr8Q== 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 s10si85147plq.129.2019.06.13.10.02.15; Thu, 13 Jun 2019 10:02:31 -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; 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 S1729841AbfFMRAu (ORCPT + 99 others); Thu, 13 Jun 2019 13:00:50 -0400 Received: from gate.crashing.org ([63.228.1.57]:49148 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729763AbfFLX56 (ORCPT ); Wed, 12 Jun 2019 19:57:58 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id x5CNvXVL016754; Wed, 12 Jun 2019 18:57:34 -0500 Message-ID: <28912f8d0a39de519653472a3686fbd7317d18d3.camel@kernel.crashing.org> Subject: Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC From: Benjamin Herrenschmidt To: Borislav Petkov Cc: Mauro Carvalho Chehab , James Morse , "Hawa, Hanna" , "robh+dt@kernel.org" , "Woodhouse, David" , "paulmck@linux.ibm.com" , "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" Date: Thu, 13 Jun 2019 09:57:33 +1000 In-Reply-To: <20190612122504.GI32652@zn.tnic> References: <1ae5e7a3464f9d8e16b112cd371957ea20472864.camel@kernel.crashing.org> <68446361fd1e742b284555b96b638fe6b5218b8b.camel@kernel.crashing.org> <20190611115651.GD31772@zn.tnic> <6df5a17bb1c900dc69b991171e55632f40d9426f.camel@kernel.crashing.org> <20190612034813.GA32652@zn.tnic> <08bd58dc0045670223f8d3bbc8be774505bd3ddf.camel@kernel.crashing.org> <20190612074242.53a4cf56@coco.lan> <20190612110039.GH32652@zn.tnic> <20190612084213.4fb9e054@coco.lan> <7705227ea831793cc9e45af32e0da8f5547cb14d.camel@kernel.crashing.org> <20190612122504.GI32652@zn.tnic> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-06-12 at 14:25 +0200, Borislav Petkov wrote: > > But for the main case that really needs to be in the kernel, which is > > DRAM, the recovery can usually be contained to the MC driver anyway. > > Right, if that is enough to handle the error properly. > > The memory-failure.c example I gave before is the error reporting > mechanism (x86 MCA) calling into the mm subsystem to poison and isolate > page frames which are known to contain errors. So you have two things > talking to each other. And none of them is an EDAC driver... I mean yes, the network drivers talk to the network stack, or even the memory allocator :-) I still don't see how that requires a big platform coordinator... Ben.