Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp22025pxb; Tue, 12 Apr 2022 15:40:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYBNSYap3F9imukmFNWshxs0CqIeYSRMdsRWvjlYzGGjiB9IZgJfHwKnGwX1n4oBXynna7 X-Received: by 2002:a63:f718:0:b0:398:f14d:4915 with SMTP id x24-20020a63f718000000b00398f14d4915mr31590752pgh.9.1649803238007; Tue, 12 Apr 2022 15:40:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649803238; cv=none; d=google.com; s=arc-20160816; b=NV893GNuF29As613bAV/u9fZSzfdTmnwWzdK/U+Eby7dRGLFuvfMizgt6WPNyt+YtT 9cz87mvlTKvjGKmeQQiCyL6tbgdcQotE+jnYAuRjbU7eebNS9KESHyMzuUl3bxnq1QSY vkMiMyBglLb1hAom5rbAlQtHrDRq2uC9FOUHdn0ui3YNVunVA5XGkI35lavBg5Uc0LTn SZNF5pXxDtknTHkV8nY/Qwk8Y7ePPFy+VAQ/fQeuQ5GBdpShybYjurk1ctnE6KyUmzGR Pl5bAaQFIXiR0C/bRxRKUdfvGv0tRyKqu0+5Y38j0LuFQghlHmKU3Ohi9BWoHdJgr+am Vasw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=QSB6c+wqSkjWB7X1hlshGuzqfkl/JFQbMqvRhf61Ikk=; b=E29wR+2Ey0yDsoJxiwkByEERg6JjfDQlI8ZbbxU3LEau+CeitxCSh6qDHNY5f0ukDW 22dTRndlIXxnFEVXp+7qcVrwzgriR5KwRBCLQ3zJLnrVWpZbvYZNNGkZSOnPBAoRrRDl e1oL1q085tIRP0pdmZq4/EN3RnBDYFlch/mIZf3yEQbrodo2xwyrQYExiARV0RuP4tZ9 oPhhV5vpsNxeJKk9LP4mnrDDRzd4DcZfVFh6IBD74sY9oAEm/TIIzY9POEvVMf8d4YLe imXDacJ/p5KKl5ejkjL4MtvuZGFdznQPvCnwQSotwoVK+YeXcJpazDLhS7JAx0zodHtr Tk8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cnsb0XDP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 32-20020a630e60000000b003992202943fsi3884912pgo.364.2022.04.12.15.40.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 15:40:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cnsb0XDP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7E4201AAA52; Tue, 12 Apr 2022 14:19:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245710AbiDKH6r (ORCPT + 99 others); Mon, 11 Apr 2022 03:58:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245614AbiDKH6p (ORCPT ); Mon, 11 Apr 2022 03:58:45 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31E5723148; Mon, 11 Apr 2022 00:56:30 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id x17so15991073lfa.10; Mon, 11 Apr 2022 00:56:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=QSB6c+wqSkjWB7X1hlshGuzqfkl/JFQbMqvRhf61Ikk=; b=cnsb0XDPevnl+CdN2zl7O4FihnoMRRdgozseneDM7/l9auwEHLXVI+XexLoq1sdoZe B/LF+GY9t4eykkHFU5vXsK+2gJI5VKXcqwP/qGxcFcgLr0TZssOrEfzLxwTGDRKlYiDo w+5z5Oa2PG/5S0y0S5fA70fM94+5HxpKcUakfDAIxX1SHuHx99Pz5/SGPpCcQPx/vsmv SNSMEM9p1ImfIPXz40dEjEM1ng9l+3SLEO3NJRVBPdzvFLkM/ZPvDIM/qd0hD2kii+cg dK4oX6+55xEiilJf/Rf8dmzR8bf8HdcHElV+3d3HcDd/ZWWl3KHIP+dXTWf4u3SVMQgv r5AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=QSB6c+wqSkjWB7X1hlshGuzqfkl/JFQbMqvRhf61Ikk=; b=3uYikEr6U9MsuAvF49oUXmGk8E+PkpObZdq6CJmrhODc8lve++fIs9d5pHcd2Jj2Pq YIK/I2R6zN76TQnn06yt8rGTMGgVNH0m7B7IbTIREZPV0fpGsS7COe1Z7pMQmu54tRMz ym/7iGDzlaaEBEH2/v1keBiDYVPn0U4gJOb3M8lJ1nCFm8RsN5gu7F/ZnR3WaN8wUVKz 7fLj7L18S7RzG8ebxpKW9KorDisvxIkU1Y9Q4aHqo5Z93VAjkubkZzDA3o3W/4lHCsdb 4UWekezuMvKuwnN2dEAiqzkJPB5+YAukZcOsE5SljzgcvbJP4oQiaS1Nkey8OuKUO+vG MIXA== X-Gm-Message-State: AOAM53042+KxhYNV8vYlMzb5IfaNqdWgTKiScZvz2NRlk0kL5QtIBRxU 0Zrn3IUJM+VYxEgMF5VYN0pM1S/zvZMFIi0UTbI= X-Received: by 2002:a05:6512:3191:b0:45d:cb50:f575 with SMTP id i17-20020a056512319100b0045dcb50f575mr20776471lfe.48.1649663788912; Mon, 11 Apr 2022 00:56:28 -0700 (PDT) MIME-Version: 1.0 References: <20220322030152.19018-1-ctcchien@nuvoton.com> <20220322030152.19018-2-ctcchien@nuvoton.com> In-Reply-To: From: Medad Young Date: Mon, 11 Apr 2022 15:56:17 +0800 Message-ID: Subject: Re: [PATCH v6 1/3] ARM: dts: nuvoton: Add memory controller node To: Paul Menzel Cc: rric@kernel.org, James Morse , tony.luck@intel.com, Mauro Carvalho Chehab , Borislav Petkov , Rob Herring , Benjamin Fair , Nancy Yuen , Patrick Venture , KWLIU@nuvoton.com, YSCHU@nuvoton.com, JJLIU0@nuvoton.com, KFTING , Avi Fishman , Tomer Maimon , Tali Perry , ctcchien@nuvoton.com, devicetree , OpenBMC Maillist , Linux Kernel Mailing List , linux-edac Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Dear Paul, thanks for your comments Paul Menzel =E6=96=BC 2022=E5=B9=B44=E6=9C=889=E6= =97=A5 =E9=80=B1=E5=85=AD =E4=B8=8B=E5=8D=881:57=E5=AF=AB=E9=81=93=EF=BC=9A > > Dear Medad, > > > Thank you for the patch. > > Am 22.03.22 um 04:01 schrieb Medad CChien: > > ECC must be configured in the BootBlock header. > > bootblock > > I search for *bootblock* in Linux and the git commit messages, and does > not seem to be a common term. Is that term used in the datasheet? Yes, bootblock is a bootloader of our SOC > > > Then, you can read error counts via > > the EDAC kernel framework. > > Please reflow for 75 characters per line. (Also, there is no need to > break lines after a sentence, unless 75 characters are reached or a new > paragraph starts.) > > Tested on what board? I tested this on Nuvoton's BMC board > > > Signed-off-by: Medad CChien > > Out of curiosity, is the first C in CChien the letter of your middle > name, or the last name really spelled with two capital letters in the > beginning? this is a special last name in chinese. my last name does really spell with two capitak letters in the begining. > > > --- > > 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/b= oot/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 =3D <&gic>; > > ranges; > > > > + mc: memory-controller@f0824000 { > > + compatible =3D "nuvoton,npcm750-memory-controller= "; > > + reg =3D <0x0 0xf0824000 0x0 0x1000>; > > Is f0824000 from some datasheet? > > > + interrupts =3D ; > > + status =3D "disabled"; > > + }; > > + > > rstc: rstc@f0801000 { > > compatible =3D "nuvoton,npcm750-reset"; > > reg =3D <0xf0801000 0x70>; > > > Kind regards, > > Paul B.R. Medad