Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3083441iog; Mon, 20 Jun 2022 10:51:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tgz2uJT/uf2dHHoLgyzQnhWVZPxvVOQBYIdAJV+32PCDCdHNU9wOKi/w6wzEVs1/SjqEGQ X-Received: by 2002:a05:6a00:1305:b0:512:ebab:3b20 with SMTP id j5-20020a056a00130500b00512ebab3b20mr25818076pfu.82.1655747485884; Mon, 20 Jun 2022 10:51:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655747485; cv=none; d=google.com; s=arc-20160816; b=kIRHiPtDvHM3tlN8ipIy4cPek+p1Y1olzLt/m8NW8NMs6c8bwMCPnrTZ8O4rKhj7tM hw2jjQIpohmS870JL0xfQrngOxhS10EE8Omqs0SCz0BA7EGrCIEMHlM8MAYv9g0UA+yb 4TfegL72/LKZgXdYu8ncDvR3tTagTlgCVEnupMwHzhdFwZO/+2A1K49MeDYe5ls9r1Nd UV+CJQMLYqWxQMRdRwP2MavuLoTelxZQJ/xE6sZaFvfbK/0BJCxKjnZAyao6y4+AzI8l Sw4etaWL9L+YuMrPnz+EeR3tuVBrCDjxIaSMtc66nbDJ58pTeZjjl2StC2oEXuV+CxjK K3ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gUlzAeZNwuh0l98Jvd0V4kz7rJaVDobs7VUQsJjRpeE=; b=qRoL+WygRLCKf+QeUdlBwCV9ybyS0q1U0Btp0YCB99p8t0zb/19hjpbalE+vdSsmvj jUWeRgjwTD0ffvwmFx8ARZEqJz5yJviMCg23F6KgpOrfht+sBm+phGILnRmIt9Ize697 GBbJPCbhfF3fgFtUFF5KSWgaO7iLMcEepp8mpYmeAOOZw03ks+LCEzyIUtDdznU8H+7x kNrrnAxNZz/dRZtNw3DGKNKdBdtOl9LdrQwcnr464+HyXNQY8puv0VXDaDA56tR3xfM3 Bk/LC6+lh+MedbeGP+8KiXFaMf1r2MOXJPvspAJMaYu26xabvpzyAC/JQlxOh7mEDTkH vC/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=YSEahRpz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id il4-20020a17090b164400b001ea97b9b3fdsi25446429pjb.70.2022.06.20.10.51.13; Mon, 20 Jun 2022 10:51:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=YSEahRpz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S242659AbiFTR3Z (ORCPT + 99 others); Mon, 20 Jun 2022 13:29:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242488AbiFTR3X (ORCPT ); Mon, 20 Jun 2022 13:29:23 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68826F7E; Mon, 20 Jun 2022 10:29:22 -0700 (PDT) Received: from zn.tnic (p200300ea974657f0329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9746:57f0:329c:23ff:fea6:a903]) (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 BF7F31EC05ED; Mon, 20 Jun 2022 19:29:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1655746156; 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=gUlzAeZNwuh0l98Jvd0V4kz7rJaVDobs7VUQsJjRpeE=; b=YSEahRpz9+/ygJgmF92+3xk1J5HAo3hHVl4w9sGjucH52jxe7gW9H6wSNQ8CuDpU/r5T0C W7BOM9jwhx6/Ngrtqk3n0Brh7nsp200ln1+QzRqPns66eY5a2w5zSmtakQeKrt3jGYkWer 2GTQ0k8fwOOFgZR46oPpCZUOKpL7ffk= Date: Mon, 20 Jun 2022 19:29:10 +0200 From: Borislav Petkov To: medadyoung@gmail.com Cc: rric@kernel.org, james.morse@arm.com, tony.luck@intel.com, mchehab@kernel.org, robh+dt@kernel.org, benjaminfair@google.com, yuenn@google.com, venture@google.com, KWLIU@nuvoton.com, YSCHU@nuvoton.com, JJLIU0@nuvoton.com, KFTING@nuvoton.com, avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, ctcchien@nuvoton.com, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, openbmc@lists.ozlabs.org Subject: Re: [PATCH v12 2/3] ARM: dts: nuvoton: Add memory controller node Message-ID: References: <20220610084340.2268-1-ctcchien@nuvoton.com> <20220610084340.2268-3-ctcchien@nuvoton.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220610084340.2268-3-ctcchien@nuvoton.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 10, 2022 at 04:43:39PM +0800, medadyoung@gmail.com wrote: > From: Medad CChien > > ECC must be configured in the BootBlock header. > Then, you can read error counts via the EDAC kernel framework. > > Signed-off-by: Medad CChien > --- > arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi > index 3696980a3da1..ba542b26941e 100644 > --- a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi > +++ b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi > @@ -106,6 +106,13 @@ > interrupt-parent = <&gic>; > ranges; > > + mc: memory-controller@f0824000 { > + compatible = "nuvoton,npcm750-memory-controller"; > + reg = <0x0 0xf0824000 0x0 0x1000>; > + interrupts = ; > + status = "disabled"; > + }; > + > rstc: rstc@f0801000 { > compatible = "nuvoton,npcm750-reset"; > reg = <0xf0801000 0x70>; > -- This one needs an Ack from DT folks. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette