Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp861551pxw; Sat, 9 Apr 2022 03:07:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymeRh5EJ3m7Qy6nwdiU+MTNR9S7nYD6GuoGba4XQfzxpJ9J4O5AysLkvFlatIEziRwChTr X-Received: by 2002:a17:907:7f0f:b0:6e4:c15e:7751 with SMTP id qf15-20020a1709077f0f00b006e4c15e7751mr22311056ejc.266.1649498839001; Sat, 09 Apr 2022 03:07:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649498838; cv=none; d=google.com; s=arc-20160816; b=NiGn13lvClieR9VDGqfbb8bJsq5k2I3A1vn8fDevCtt47/yRBLfrmf/jM69XUOT89K 5lOqPTGTp42RKzeUzIGMDmYbDplabQAU4OCB+4i9/f1eFXx8EsF1JeYlHKK3A0X1wP5a tG6qHkS/RYoKQDQrhWxeIkQPXDoh0OzbEygXz5SxjKZCVF6mHZBtc/cX6H4vlw5UrP4R 3FTylUHouGi7sKGQvRIfc3hxiXMFiItaBGA+qycAa68yubrBuoiSKHA68EFkfXFoyZJO KKB1kA7JMx2x5CbzkEN/DH9k2DV0fPYONoZTM4MysMtW66pa78gRd/2P8nijRDyUWsLu uWVg== 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=89ZZusgZlQLzjBgn/vcDWRXT/K3jazA2dI5kFw6JX9I=; b=db4rpN1qgyx4zM1XxQfgyCcB1+j81sm0MCxdw0m1wySm7x+kJ1jSbzM3GrtZURIPUJ dptiwUiIma4baECZUT1CH3KdulOqJpDq9CtcXnwLFnd9Afy6l8mvsknBlOt1HBiIjunr ODTo4kl9cuIHI4YP8t9GuPpO95ScTWRNjEnEQov3/Bgyz7epemm40Ega7CI/5hrj7Vlw gYejR3EL+l8WyZ5Owhy9BRCD4ZzL9IKtcSMoWwU0CEhHU4BljBr/unyYPUo1GmAliusO R9iu590QXfYBVwHh+dCQqP7I+9UVmribMJ1WHjlh9o4OObaqRY1UvRP4UBqdhp4QPf6V 6pUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=KMShXiXQ; 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 hd7-20020a170907968700b006dfd81499c7si3399909ejc.828.2022.04.09.03.06.52; Sat, 09 Apr 2022 03:07:18 -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=KMShXiXQ; 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 S238022AbiDHRE5 (ORCPT + 99 others); Fri, 8 Apr 2022 13:04:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238024AbiDHREu (ORCPT ); Fri, 8 Apr 2022 13:04:50 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E9963C2134; Fri, 8 Apr 2022 10:02:43 -0700 (PDT) Received: from zn.tnic (p200300ea971561a9329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9715:61a9: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 2D46A1EC051E; Fri, 8 Apr 2022 19:02:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1649437358; 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=89ZZusgZlQLzjBgn/vcDWRXT/K3jazA2dI5kFw6JX9I=; b=KMShXiXQDurLK/vgHdfMrM+Bc1DrLH0mxV3HkZnwtJ4q6i6wPKi4D20Nmfp+NpLK/FzTwX SGTwF9N4W0OE5/dBjtPXJSujvo4Ql1OJnNpoKEVGGc9S0lOET1RclTGx4/YkRMyWbmE+3D ssuRUjHgkKkqyGVlA+/n9Ii0m5im8U0= Date: Fri, 8 Apr 2022 19:02:36 +0200 From: Borislav Petkov To: Medad CChien 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 v6 1/3] ARM: dts: nuvoton: Add memory controller node Message-ID: References: <20220322030152.19018-1-ctcchien@nuvoton.com> <20220322030152.19018-2-ctcchien@nuvoton.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220322030152.19018-2-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,URIBL_BLOCKED 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 Tue, Mar 22, 2022 at 11:01:50AM +0800, Medad CChien wrote: > 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 needs an ACK from devicetree folks. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette