Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp968529ybg; Wed, 10 Jun 2020 19:39:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTuls21VUYGqxQyBk4430VoDVDyfado8mBvBQB5zeuJIVllZSG8GB9ZcqUolSzTRpYnRtD X-Received: by 2002:a05:6402:699:: with SMTP id f25mr5024278edy.281.1591843192924; Wed, 10 Jun 2020 19:39:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591843192; cv=none; d=google.com; s=arc-20160816; b=TAlqZe2zLFJ2BnJ7XR2OVuh07kQRUOJo7KYN1ZsigYx1ZYleH+BRVPWXb72tC9ugLu QizqIPOdk42iUWuhWPfktDS8iFFP1Hpiv0sPqSCvBXeNQcklaW+qhAF65tWBGUYrgq3u AEwJnqGKGBGyko9LNA+1+zlQo9TRoLkLS3ftzHWZ1plkJa/lR2OtxgoIgJrUnfcJJW/+ jMBD23kYviPIKnYqxsHApJUapRKNe03uHCkCPQnCQFlE3XzyExGV1/Lierr3jD19NABg Bi2/edUNw5iOxAcwv0EMBhh6bQREGfX62lHCI3I+hjhtWM0hUsJw6IbQENzglJv2DqsL 7Nwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=H+PEFHyUXjNCEtnDDerXaMNGUi3G6eX8i5SlzQw9UMI=; b=TnrG2iaAiPRgx+AHeaTEUDDoZ2SyNobjgFdbwTURGP85GAOKlt6xFETzSlGl8rx/oB OqpqBCN6/P/AFcvX5Z6N7Ug7avkyOWcijsBBhr1HzmWVktuQlT2fMoBqToBmS3OGznqa lGmCb1/JwCHQ0zChpvxaZ/fDyk+iPCii6JJjH5fg7J7xSVGg1s/ZkympJ3GD7ycz+EU5 vtDo6P469tS8NOp+fpKAaLc0ha5+D5mJq/upt29c2Ya/OC14BgTKFpoU0YBXRBzRF7Oy gwY2Jnk8kFWoOdnGLASw5CcHh8eW+/5c/Le1UPVVw24W6MxU+zOo5aFxDLuq9Jdn8AB9 gfkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bSVfWQej; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d13si1140004ejw.753.2020.06.10.19.39.29; Wed, 10 Jun 2020 19:39:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bSVfWQej; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726381AbgFKChg (ORCPT + 99 others); Wed, 10 Jun 2020 22:37:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726306AbgFKChf (ORCPT ); Wed, 10 Jun 2020 22:37:35 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76162C08C5C1; Wed, 10 Jun 2020 19:37:35 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id 202so2642782lfe.5; Wed, 10 Jun 2020 19:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H+PEFHyUXjNCEtnDDerXaMNGUi3G6eX8i5SlzQw9UMI=; b=bSVfWQejXCjrLOj8aD59mpI6QkWd3hIqBjXK49cAsH8WRyy92kxtm0atwhhm+5W6kr xGTReb9eBIElpXamEsVqLi2KDehDVKX2Rb8nuTm3sEemMn44vBuUbFIemxzorJIqDUOs V2d0FBjlDVnLKMzP89OEqIicF6R7Oh/fZnavHYshnTs/IQWbbpCdwr55byyCb4cBk+o9 Vni3sI4Sm3Jbz8w+2rawif+8ZD8bqM5XgCX/d0g8f5hOyuedx5jpSx00zG8VgCRda37j 30fIHmcDNBjYxtRITEDLWSbw3/QPHuNlnMJFpkns5dPPQZjH7CA9ysuV7BCRCh78uxXy E+NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=H+PEFHyUXjNCEtnDDerXaMNGUi3G6eX8i5SlzQw9UMI=; b=W4yFp0+milZF6H4n5Q26GM/6am69SiJGy86/Bt+nMD3iUlxZuycZFXgWDdGIkjSasr YXcI49Fx4gDQVly8sqwD+fPjWURjchSiKbcfAEaqKjsOACHL0prU6yV70bc6VEu+CHfp HycGvxVkmTuxakZeI1QPqZQeHtLgvXT1qmb1tCFy/UPiy3iNzPKegcv1IaOEk36aGiMQ 0XvOnR+LGLgKmlymBq9pHtlOUCFFgXN2u9YPGbNrAoYGYQv3uy2r/g+epfJv0c9l5xOM NBD5lxxV/SEBKcYA4SVsGKPYOHdnzH1u0zspzziMU+pArGkUbgrwc5v+wDF2UCwbMj7L H5zQ== X-Gm-Message-State: AOAM5306neTsJ2HHFvkfHFgXG9jM14Y54o9Wk/htNdq8bgm7q0WHrn7e fg92MRNHrd2yp2xuHThx6giFE8avGJhRAU9ER00= X-Received: by 2002:a19:8453:: with SMTP id g80mr3137317lfd.167.1591843053787; Wed, 10 Jun 2020 19:37:33 -0700 (PDT) MIME-Version: 1.0 References: <20200610065846.3626-1-zhenzhong.duan@gmail.com> <20200610065846.3626-2-zhenzhong.duan@gmail.com> <20200610171912.GB1474@agluck-desk2.amr.corp.intel.com> In-Reply-To: <20200610171912.GB1474@agluck-desk2.amr.corp.intel.com> From: Zhenzhong Duan Date: Thu, 11 Jun 2020 10:37:22 +0800 Message-ID: Subject: Re: [PATCH] EDAC/mc: call edac_inc_ue_error() before panic To: "Luck, Tony" Cc: linux-kernel , linux-edac@vger.kernel.org, Borislav Petkov , mchehab@kernel.org, james.morse@arm.com, rrichter@marvell.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 11, 2020 at 1:19 AM Luck, Tony wrote: > > On Wed, Jun 10, 2020 at 02:58:46PM +0800, Zhenzhong Duan wrote: > > By calling edac_inc_ue_error() before panic, we get a correct UE error > > count for core dump analysis. > > Looks accurate, and I'll add the patch to be applied. But I wonder > how big a problem it is. Isn't most of the information deriveable > from the panic message? Thanks for review. Yes, it's totally not a problem. I'm a little too strict here. Zhenzhong