Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1518119pxb; Thu, 14 Apr 2022 07:53:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEmyN03pL1GwVY9b/ze2LqnGy/r055t5WK4K95rhwsYOhKUABCmYmgVrkg+NKGFMYR/ldm X-Received: by 2002:a05:6402:1717:b0:41d:8b43:fa51 with SMTP id y23-20020a056402171700b0041d8b43fa51mr3466851edu.21.1649948020883; Thu, 14 Apr 2022 07:53:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649948020; cv=none; d=google.com; s=arc-20160816; b=yVOOMQkFseNBZxZmQDlexBFjBQ8iYJnnEl591e4UpEBLzM9oPc1wvQuU0HhYNtSQLj 4Z0pRa7S5bUCXFQMTPZJQrxhzpNey7vQazTL/BIWn9kwQ62L+LLirjdYYop0e7c8ZfpT oMeyhG3AkN/wGQ3SDq1mvBrv3LAT41LqAHvUy2vL6HE6R2jDnXeOJ9WbwHY/AQRzlKfT H0rqwi/53jENdrJTIId52rr5SBob/vCtBrTUhLPMc+RMqhm/512ioRRhr9S9vhGNw/A/ LWMpDUClKoMmEYY+NRS5ybg4ylcInH19L6eZYYRshXSb029D6tQpJTdfjwVumupY4Zam BQBw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=tcvILpawoy/EPkGkLSEhvv0Kdz440+lEpC25Pt/VCcQ=; b=APnmsy7DreA7Dcp8C/c+61W7GjB/9nuimmeAnaeV3NGDEXccggQ2xZ3C4KfeufwzQx 01ogGGbXkgp1tnFXlBtbjAs1Pc5xGsVUHidEY9W/R6S+YTmmK+eKdBlG1/v3eOBny+zW kXkAtEio3cggE6mj4QJNr4WorVuewYlTf9G5pLOpLKOuilG3NqNupnHJ88C3mgtrrN47 FRsjt80bWsCHJf/E/lKQveLvCy6+ZRrnEiVvPsK5yxLuHtKpBmYelWZ0DnEAmP8vViqW I07OEJ1T9hi9/bL2TmdKrwH24sGoTDrNebETgnZRDbySYHTgaZeEbbJtu/MECXRZSOQt tacA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=BKlCWqNG; 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 v19-20020a17090690d300b006e8635cdb85si2064038ejw.244.2022.04.14.07.53.14; Thu, 14 Apr 2022 07:53:40 -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=BKlCWqNG; 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 S242130AbiDNKS0 (ORCPT + 99 others); Thu, 14 Apr 2022 06:18:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242187AbiDNKSH (ORCPT ); Thu, 14 Apr 2022 06:18:07 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A08085468D; Thu, 14 Apr 2022 03:15:42 -0700 (PDT) Received: from zn.tnic (p2e55d808.dip0.t-ipconnect.de [46.85.216.8]) (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 2EF031EC05ED; Thu, 14 Apr 2022 12:15:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1649931337; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tcvILpawoy/EPkGkLSEhvv0Kdz440+lEpC25Pt/VCcQ=; b=BKlCWqNGE/Ep1cvt/qOcZSftYkpVpT+iOaYR+yPMnEQ2cHucqhZKpKdJv8W07gJQDPVYvY Dr8UoJLd4dHuOT55Ag1YvyTF/N5fAIOfsrgpfRzbWwcDBRa3ipPH5RrN/IQk8hzgpR6BuV 4zWAZ+lq9tJFmmI4yxAiLuAR+/7If2o= Date: Thu, 14 Apr 2022 12:15:37 +0200 From: Borislav Petkov To: Paul Menzel Cc: Medad Young , rric@kernel.org, James Morse , tony.luck@intel.com, Mauro Carvalho Chehab , 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 Subject: Re: [PATCH v6 3/3] EDAC: nuvoton: Add NPCM memory controller driver Message-ID: References: <20220322030152.19018-1-ctcchien@nuvoton.com> <20220322030152.19018-4-ctcchien@nuvoton.com> <14d07709-07ef-21a8-ad74-0f56447cf6dd@molgen.mpg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <14d07709-07ef-21a8-ad74-0f56447cf6dd@molgen.mpg.de> 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 Thu, Apr 14, 2022 at 10:56:43AM +0200, Paul Menzel wrote: > No idea, why you had to ask this question, while you statement before > already made the point. You've told Medad one thing. I told him the complete opposite. Medad as new submitter gets confused. And I don't want patch submitters to get confused by review. So, if you're unsure about a review feedback, don't give it pls. > Sorry I do not get your point. Would you elaborate on the debug message so > it’s more useful? Just think of the big picture: is my error message useful enough for debugging or would I have to go and add more info to it so that I can debug an issue? Example: There is edac_dbg(3, "InterruptStatus : 0x%x\n", intr_status); now. Now, how about this? edac_dbg(3, "dev: %s, id: %s: IRQ: %d, interrupt status: 0x%x\n", mci->dev_name, mci->ctl_name, irq, intr_status); Which one, do you think, is more helpful to a person trying to debug any potential issue with the interrupt handler and the ECCs it is supposed to issue? Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette