Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5753403ybi; Wed, 12 Jun 2019 07:56:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCkfst3Vkftdyk9dsLN/UP5fHgQIQTNmRNf5Z5hfbvo1wHRVLVIO0Vm9/zgYstEIcjUXsZ X-Received: by 2002:a63:3148:: with SMTP id x69mr10803019pgx.226.1560351383140; Wed, 12 Jun 2019 07:56:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560351383; cv=none; d=google.com; s=arc-20160816; b=kJjmalTCe8lIOWXkF0OlZYplA88GFA8b5uQrQsnIOr+1jjMscRw68V9SrQDFoqf/Ul 6tLfj2Zur875SvuHi4SidKn1iTFnAOqt4V0jIQm2HXc6KkFkc5PmblokMhyVWhOvvCh0 1SIvcG7t+jIDJNl7YIgXKAzKK8a5q2EoAoTwZVqrBswvjgD9QJAOEHK6zLPeDAwENZkh 0yzlREP5OefODszo8hwqja7qoWN95rYv3P7jZ7yVMKc0068LJ2IZRww1EtmjWdrc90IH fjhjcqLLJFpyZhD4IHZpXq3CqRIyGRpJYHtcBe8OSGeN/raGHyIdYhqoiO7G1py2QUfB hW5A== 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=HOMK+9JvCIpMQ3+nyUvjKfhBVhvirtCjErehwrT4UyU=; b=EklknyaU3jbz2durZK0uktVRkNZSMQdLaxBI28cNFeamoC0Tt8piIQQnHlL/vpcG3T mjA8XkTy6ksQ+RmW1hBRv5zmu38A+lps6HflAF86++sUsR3g+qaaHNwmOySr5/NOloms iJulN5JoZVlToxUtnOJihjQ9WRdKvNnvLyDDqb4AnnppMeyIm/xx5umXcE0SMVTS4rGa xyUB+BO1CgRMTigZUgBdk8+waOzO0tUN66ZBZkeitnAWMdcv9Z/CKkKe7a6uwK7b27/8 dnaLFo+MGtqE9eQYNgS5i6EUeE67aHQwLTNjAKVoNmL9sE9nih2c1jwpW5hw+KFeSxUi 5klA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=k8v11BX5; 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 u21si41029pgm.431.2019.06.12.07.56.07; Wed, 12 Jun 2019 07:56:23 -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=k8v11BX5; 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 S1732318AbfFLLAr (ORCPT + 99 others); Wed, 12 Jun 2019 07:00:47 -0400 Received: from mail.skyhub.de ([5.9.137.197]:55604 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727992AbfFLLAr (ORCPT ); Wed, 12 Jun 2019 07:00:47 -0400 Received: from zn.tnic (p200300EC2F0A6800D18ACEC6DD65F264.dip0.t-ipconnect.de [IPv6:2003:ec:2f0a:6800:d18a:cec6:dd65:f264]) (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 1FE0B1EC09C0; Wed, 12 Jun 2019 13:00:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1560337245; 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=HOMK+9JvCIpMQ3+nyUvjKfhBVhvirtCjErehwrT4UyU=; b=k8v11BX5NOmU7kAzEv7EF+RwnANERInaAO4pBImSmW8ZH30tz0tPIlOMF/V2qcf1d206Ho FiTPJGZjo0cfVOcgOQkrAh8BgtBHFIDIJTwXWA+jF78Nyvk+xds4kwQklnkexcjtw9q2nB j0XAmObOKvCgPABYwk14zIXNjbc0Iqk= Date: Wed, 12 Jun 2019 13:00:39 +0200 From: Borislav Petkov To: Mauro Carvalho Chehab Cc: Benjamin Herrenschmidt , 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" Subject: Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC Message-ID: <20190612110039.GH32652@zn.tnic> References: <32431fa2-2285-6c41-ce32-09630205bb54@arm.com> <9a2aaf4a9545ed30568a0613e64bc3f57f047799.camel@kernel.crashing.org> <20190608090556.GA32464@zn.tnic> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190612074242.53a4cf56@coco.lan> 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 Wed, Jun 12, 2019 at 07:42:42AM -0300, Mauro Carvalho Chehab wrote: > That's said, from the admin PoV, it makes sense to have a single > daemon that collect errors from all error sources and take the > needed actions. Doing recovery actions in userspace is too flaky. Daemon can get killed at any point in time and there are error types where you want to do recovery *before* you return to userspace. Yes, we do have different error reporting facilities but I still think that concentrating all the error information needed in order to do proper recovery action is the better approach here. And make that part of the kernel so that it is robust. Userspace can still configure it and so on. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.