From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5CFB7C433FE for ; Thu, 21 Apr 2022 09:08:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FbLJ9gh1nB9EwV+yHvNnUFn4Nei8Zc50wwBQWayO7QY=; b=NXFNi0YZzQMY5k 6YkUqXq+TJkMAjR5eRZtzV3A3Z5vWqexDj6BFYzxRv298vjhLRqcFjbv6o5/v3m1JGUzEOkDEzpWM V05nsTsm5bYqTRNsv858A4eqZ9a/qXLqp9CL5X9NfcipUAD0Mvvt0fykqFKMZ3BvIPTyTNYOLXVYZ ifTO6x8Q+9Vns/1TmRmbU2l642PUaZm2RL5sVcVZUMkK56LEXrbT8XM6TQxNq+kuDv6gndsyW6LIZ YoXBkNdSj5/Yfd06qDQHwRD3eDAPhtMgTDGR1Mnts9LUPjKNglMNtYHeXIPvgFWfD1AkZ/DGCoX2v mp+Y6eFhLh9jIyZlsFcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhSmH-00CaWP-Vi; Thu, 21 Apr 2022 09:07:06 +0000 Received: from mail.skyhub.de ([2a01:4f8:190:11c2::b:1457]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhSmE-00CaVA-Ua for linux-arm-kernel@lists.infradead.org; Thu, 21 Apr 2022 09:07:04 +0000 Received: from zn.tnic (p200300ea971b58ed329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:971b:58ed: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 138A01EC0494; Thu, 21 Apr 2022 11:06:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1650532015; 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=/XNPrYZHxTg+fJqCxP6Bu5DzD0BsDwIuIH78Wom1XZY=; b=AUcf2kulEbN6ePzzyV96IrdVGG53S2xSGV9y58AngYuKlOIU08DGcA8w8q6hvACWeV2gDE 5ei/j/rft3vQUBLkUxvIOXcSWEs4wnXAQCVDT/q01f/e2BqhePMfaBgAsZff60KtQ4wQ6H Gi/X88ki37E5nEldEUEACr/0VRVPGx4= Date: Thu, 21 Apr 2022 11:06:54 +0200 From: Borislav Petkov To: Sherry Sun Cc: michal.simek@xilinx.com, Shubhrajyoti.datta@xilinx.com, mchehab@kernel.org, tony.luck@intel.com, james.morse@arm.com, rric@kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com Subject: Re: [PATCH V2 2/2] EDAC: synopsys: re-enable the interrupts in intr_handler for V3.X Synopsys EDAC DDR Message-ID: References: <20220421015313.5747-1-sherry.sun@nxp.com> <20220421015313.5747-3-sherry.sun@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220421015313.5747-3-sherry.sun@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220421_020703_168224_09392D2F X-CRM114-Status: GOOD ( 19.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Apr 21, 2022 at 09:53:13AM +0800, Sherry Sun wrote: > Since zynqmp_get_error_info() is called during CE/UE interrupt, at the This also needs to be made human-readable: for example, "zynqmp_get_error_info() reads the error information from the registers when an interrupt for a {un-,}correctable error is raised." > end of zynqmp_get_error_info(), it wirtes 0 to ECC_CLR_OFST, which cause Unknown word [wirtes] in commit message. Suggestions: ['writes', Please introduce a spellchecker into your patch creation workflow. > the CE/UE interrupts of V3.X Synopsys EDAC DDR been disabled, then the "which disables the error interrupts" - make it simple - no need for the V3.X marketing bla. > interrupt handler will be called only once, so need to re-enable the "Therefore, reenable the error interrupt line ..." > interrupts at the end of intr_handler for V3.X Synopsys EDAC DDR. I think you're catching my drift: our commit messages need to be understandable and when read months, years from now, still to make sense. > Signed-off-by: Sherry Sun > Reviewed-by: Shubhrajyoti Datta > Acked-by: Michal Simek > --- > Changes in V2: > 1. Add the Reviewed-by and Acked-by tag. > 2. Add the newline as suggested by Michal. > --- > drivers/edac/synopsys_edac.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/edac/synopsys_edac.c b/drivers/edac/synopsys_edac.c > index 88a481043d4c..ae1cf02a92f5 100644 > --- a/drivers/edac/synopsys_edac.c > +++ b/drivers/edac/synopsys_edac.c > @@ -527,6 +527,8 @@ static void handle_error(struct mem_ctl_info *mci, struct synps_ecc_status *p) > memset(p, 0, sizeof(*p)); > } > > +static void enable_intr(struct synps_edac_priv *priv); Why the forward declaration? Why not simply move {enable,disable}_intr() upwards in that file? Also, for both fixes: do you want them backported in stable kernels? I think you do because they look like you'd want that v3.x support to work with older kernels too. If so, read the section about "Fixes:" in Documentation/process/submitting-patches.rst Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel