From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752862AbbJTR1G (ORCPT ); Tue, 20 Oct 2015 13:27:06 -0400 Received: from foss.arm.com ([217.140.101.70]:56730 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750966AbbJTR1C (ORCPT ); Tue, 20 Oct 2015 13:27:02 -0400 Date: Tue, 20 Oct 2015 18:26:55 +0100 From: Mark Rutland To: Borislav Petkov Cc: Brijesh Singh , Arnd Bergmann , linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, dougthompson@xmission.com, mchehab@osg.samsung.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH] EDAC: Add AMD Seattle SoC EDAC Message-ID: <20151020172654.GC4943@leverpostej> References: <1445282597-18999-1-git-send-email-brijeshkumar.singh@amd.com> <20151019205236.GB453@leverpostej> <56266F7E.6030404@amd.com> <20151020165744.GE31130@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151020165744.GE31130@pd.tnic> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 20, 2015 at 06:57:44PM +0200, Borislav Petkov wrote: > On Tue, Oct 20, 2015 at 11:44:46AM -0500, Brijesh Singh wrote: > > > This second property doesn't describe the hardware in any way. It should > > > be runtime-configurable and dpesn't belong in the DT. > > > > > > Regardless, the binding is wrong. This is in no way specific to AMD > > > Seattle, and per the code is actually used to imply the presence of a > > > Cortex-A57 feature. No reference to AMD Seattle belongs in the DT > > > binding (with the exception of the example, perhaps), nor in the driver. > > > > > > NAK while this pretends to be something that it isn't. At minimum, you > > > need to correctly describe the feature you are trying to add support > > > for. > > > > > I will remove AMD specific string in compatibility field and make > > the poll-delay-msec optional. Will also expose this as module > > parameter as you suggested below. > > Btw, how much of this is implementing generic A57 functionality? The driver is entirely A57 generic. > If a lot, can we make this a generic a57_edac driver so that multiple > vendors can use it? Yes. > How fast and how ugly can something like that become? Not sure I follow. Thanks, Mark.