Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4677779rwo; Tue, 25 Jul 2023 09:20:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlH5BGIPTtIPVNHAgDsfLPqEr2NqGGn3kA0I0OiyIOmPfTOo9Qj74GaPgJ8V0N31TuIxkB8H X-Received: by 2002:a17:907:a043:b0:977:befe:d888 with SMTP id gz3-20020a170907a04300b00977befed888mr12618249ejc.13.1690302006126; Tue, 25 Jul 2023 09:20:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690302006; cv=pass; d=google.com; s=arc-20160816; b=XXGT0jFGqJ0qAlTvXC8xnUWYW13qfl5GncXzdYSV3qZm5T17AZEhGL3mUAb1DPlsn+ kNxtZKPxiE1/cBy5VwPyY2R8wksew6OnjDLuuWzx0WrZMel6q0wXR1m3/kHdrMIk4al0 gTtjy8qFBQMCpxCheT7iH6yaZrJgsE77wANw0XRqOT/zjJ7y4imzFf56TKUbGX0Mf96p zDAOe8OsePG8D5JSEQCKMBzfktuP6iDN9M0mvF4JyKQJNQ3Al8ZWsohKK1W2A0wbRwao 9qZIpIPb3RvW6StRd+N4ZhXjTrBaM4zVsfrkh0xhuMCc3yfBNWUFxEiPdaImEw6MUabb 6qWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=IKoOj+jX1xICccEkdmRAFMwxZcc40sYqKdd28HRwKcw=; fh=S9uOevXJlZBh9NnULYS89k0DaS1o2V0ln0yJzWKri7c=; b=Q4Nneku1qSD0vWyDPt5hBdvVIx4fuU9Y/ut0yrqtyHUZrL9Fg9rtUUXhmK5H55Mcfc O1P1OJqlKWq3Y8nS5fVrPbV5gANcXT9ds/Uy0treHjaC2YWI2efM+LxhnQNPNY43dImp gfDIh8llNjleU8Uo4cUY6DmzJF9QyYJ3Bqbm8xemnTLuS1HJkrQWPDUYSlle3Wr70ZBz 7cBFs03EZXImgH731mVwAG72xyU9SFaanig1X2gMMo+dPCGXBTOskAIRc7KPdowdfdwd jN8OAFCzkm7UpP8eWKtpUfL4bl3acC15605WKSh/TqQ4YaNZBafbH2lKPwOzRbl4V7Nq Wr3g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gYgrnIVU; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h3-20020a170906828300b00978ae651cacsi8358690ejx.0.2023.07.25.09.19.41; Tue, 25 Jul 2023 09:20:06 -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=@intel.com header.s=Intel header.b=gYgrnIVU; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232375AbjGYPve (ORCPT + 99 others); Tue, 25 Jul 2023 11:51:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231733AbjGYPva (ORCPT ); Tue, 25 Jul 2023 11:51:30 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E24B1FE6; Tue, 25 Jul 2023 08:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690300289; x=1721836289; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Ok1m7DzZi+KYg91Lw7zF22d83JBBiN1fg9Gw9IxFBRg=; b=gYgrnIVUnJSq9YBIx4GAp8knCUvZCo0nj+JuQw39aCcMlm+4YutvBj+v o1BvgATmvkU59MYLGMfB6hlbWfvZOUOblH79SxAYHWwu2yUEGBD4PyNqz lctodXgGsnUdaPtPpXZ0FAGZymhZk/PRpwmhhsrn0N+ZoOQODYonjLSLt 7zDBFQ8XE+80YYbst5WbwRDNApzW5oHuVfn5Qv10CDdWYbIcx1cM8Z5mH UVPt1JnrhA468UPmoVBAHKvx4lNjVHKlvakanOpsNz+salFSPRedcIYBl PRgIcqEFw0rzgFJGIkmjoqWT2H0tNnJeLvWp/hHNUBSrI4FCZhTBI+G7I Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10782"; a="348042029" X-IronPort-AV: E=Sophos;i="6.01,230,1684825200"; d="scan'208";a="348042029" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jul 2023 08:51:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10782"; a="703335944" X-IronPort-AV: E=Sophos;i="6.01,230,1684825200"; d="scan'208";a="703335944" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga006.jf.intel.com with ESMTP; 25 Jul 2023 08:51:27 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 25 Jul 2023 08:51:27 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Tue, 25 Jul 2023 08:51:27 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.174) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Tue, 25 Jul 2023 08:51:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rc6T7J6fMxz7+vD4QMY9XrkCQ8sk5bzeRGq9f4FZp6TnsplH7iqqMZm0UbtxFGgvIaFxyqurzf1cBy85XdsdlHAqqIpuTdGdTmrRUV2PK0C8FTJ19cpuM7tpVdHgj+1LtbfJx19PhWA/aYJg2RK4ou08led9OE00C3aSZJnqrpgXVoZpjlCneDp4LdMdMEBYzchc1dtR0xlhygfoGK+RVCuLcVvxUDIl+M9aSAA+hRvOicjrcYSSwRZbtJYLdaDffxc5A2HRlaibmsaNF2RPQPWn/U+/FApZunukXhGuNzaO8CKzZMCNQsd0rT5ZQ8O9efovtqsqLScEv+7SXKJDLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IKoOj+jX1xICccEkdmRAFMwxZcc40sYqKdd28HRwKcw=; b=KyxduAlBTF4TihOSn54L+q2t2efAgC5R3iiwyu60FOKysxNb2doOsCZj3qep0JOa4gBW4essXTHa/Q9AmxcuKuIekY5vBA+C1srjbVcw7eqP0sQarQb5FoEvTV4eEAOH+aNcG7gBN1EVBqqf7HG7W9Cty8JP8hffgGWSfEDJoIk/K6OQCIFkARzuUpthqqk+G95fD/rsGFxJdYIvQrbrR+SLijyU+9fxfvYUaZsl+M0TQoJZzRKgkKb+INMQwoK0cXHpOTokC34NOW7RfL+O6u20LphaGqHI5pDrmoa4hUfo1jysQdreylvpbPpytlO76HjAshh4z/XSPNMZEMXENA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SJ1PR11MB6083.namprd11.prod.outlook.com (2603:10b6:a03:48a::9) by SA1PR11MB6967.namprd11.prod.outlook.com (2603:10b6:806:2bb::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.32; Tue, 25 Jul 2023 15:51:24 +0000 Received: from SJ1PR11MB6083.namprd11.prod.outlook.com ([fe80::6c4d:b433:cf0b:8a5]) by SJ1PR11MB6083.namprd11.prod.outlook.com ([fe80::6c4d:b433:cf0b:8a5%7]) with mapi id 15.20.6609.031; Tue, 25 Jul 2023 15:51:24 +0000 From: "Luck, Tony" To: "Zhuo, Qiuxu" CC: Borislav Petkov , Aristeu Rozanski , "Mauro Carvalho Chehab" , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Lim, Ee Wey" Subject: RE: [PATCH 1/1] EDAC/igen6: Fix the issue of no error events Thread-Topic: [PATCH 1/1] EDAC/igen6: Fix the issue of no error events Thread-Index: AQHZvs70AZA+3i1QEU28InVclO7Ajq/KoVGg Date: Tue, 25 Jul 2023 15:51:24 +0000 Message-ID: References: <20230725080427.23883-1-qiuxu.zhuo@intel.com> In-Reply-To: <20230725080427.23883-1-qiuxu.zhuo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ1PR11MB6083:EE_|SA1PR11MB6967:EE_ x-ms-office365-filtering-correlation-id: 030df67e-eddc-40de-4049-08db8d270014 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: L6CN2w2GcyI8HzO+oUldFqTgVm2FerR0jQw3K1KLI4iaOPMUFWvRrwEgf7TLpZGJEERT0c/F5GacMJ/6SDUxA73uvt8FqkwkSD33aCKWc1DEEa8P6RIU64lg9/yskJYqChNJ4Tx422gBer9FL6iJkx/7u5xmggCBTsDpLtg6Q1VoTAle8bSL71mv9+oojIFdB2av801iXwVNjReb5nGkdVekI54bM0UXwpO3vfJ2ObJVR02zHVllBQhyifyqu5svNR52Fkjvk65rVcyCQaAJAJHIIkpnPhluXhh5fAhnIgaXaBllwO3aP4Q5FxehNcMiQnekhbUV9i99kbre3nayc+WKgCn+P3kxmuv8meNQXiwYkfE0P3zcUZ1bnX+H7APw1a4QNw4pBJ93BiG7qhdBvT8gEM1F4mvqo+JKxBHUNC58bDmlAa8uxKjLvRIeAyHW2v6KCeyvD5caZLMadP5NSTS5AwxIDGSoguvCecN6SY2ZqpAgn2WAzmXyM/VEM8C1fUunVLpYPHQ8Cg8KauphOVeFgieH/XB7KDyv/l2CxpdqRIo2RSEhcUcwZ78eDzpe8WTFmL0p+CCyeG3E6lYjdU2tzhYb/AG4/NazRM3YVEgBLw8poO2Gqef3UQK0GbBp x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ1PR11MB6083.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(136003)(346002)(376002)(396003)(366004)(39860400002)(451199021)(9686003)(7696005)(478600001)(71200400001)(54906003)(38070700005)(33656002)(86362001)(55016003)(4744005)(2906002)(107886003)(186003)(6506007)(26005)(76116006)(316002)(82960400001)(38100700002)(66446008)(66946007)(6636002)(52536014)(64756008)(66556008)(41300700001)(8676002)(4326008)(66476007)(8936002)(5660300002)(122000001)(6862004);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?adwLq0RyypFshiqKfHBKu0KUIHwooHBFvn2Nyz4/IxTUoUzZ6ng2c/YdDEko?= =?us-ascii?Q?ak0zOZap5uUNxZBhO9nHPWbSC8IOfPHHOhpBOtWhj1kZ7BUeefwQYnkE6vP4?= =?us-ascii?Q?O6DCVSD1QYYOjRIHD6uGYZ8lS4TSKmVr7ks8PPxxWsJF1JNLGVPs6x3oDDVd?= =?us-ascii?Q?I4KzwI8v2MJOgNo59ZFIQBOwliX/dzkUQpi6YCShVR2sH7kMdjXupEbz0zdD?= =?us-ascii?Q?DjNW1EqGTrE3HNNAUY9b7q+tl1ciAA5lNyFghAWMYPLVawa0XIa9ZLBBKrt+?= =?us-ascii?Q?PnltdPA+JMi4c2tCXw+aoTyzLtUbvEz1np6748E+0VACtsGORVjWNRkAVgE+?= =?us-ascii?Q?XD2o9gAUpcDzXz4BrqFpha8n87DVZVBHGWq4gpjcWUXIafjIziAZTximWQD+?= =?us-ascii?Q?WGdMGQLw99Q9BuyUgzWMY4YXHiboVxxSdVkPNVIqoXeZFzReo4iJ1wx3exch?= =?us-ascii?Q?Pbl9FdTJ8Y7x8WlDXBNeMV4HZqDjCjEO1igW33VQ6cRZr+tSfvNqob3NjJi8?= =?us-ascii?Q?mXPNEwkXP2DiVWlWThJpkE+OH+HzSWZ3TajbdMUu7V7C1ZK8zaGIc+tE5Uxv?= =?us-ascii?Q?elAXiuotEWSi55orHm01qzcFt0oR/F6CeONqANj8EuxspbAFQURr+4NTpbU3?= =?us-ascii?Q?tV/3Jo+hdI7WsGakXf9Ab+Z4MjMAQxWz5UkRsrX/x373uSmpgDw+ipBaKG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D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ1PR11MB6083.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 030df67e-eddc-40de-4049-08db8d270014 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jul 2023 15:51:24.7055 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 5PfDXdOb8O4TjvHAGU+5dUKy8n2KFg53INEAufV7e/RQnvSNHJJA1SbKDQ1TEtEiGoPAa/VonkfzRAkDZcoU/g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB6967 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 > Fix this issue by moving the pending error handler after the registration > of the error handler, ensuring that no pending errors are left unhandled. Do you think drivers/edac/e7xxx_edac.c has the same issue? 491 492 /* clear any pending errors, or initial state bits */ 493 e7xxx_get_error_info(mci, &discard); 494 495 /* Here we assume that we will never see multiple instances of = this 496 * type of memory controller. The ID is therefore hardcoded to= 0. 497 */ 498 if (edac_mc_add_mc(mci)) { 499 edac_dbg(3, "failed edac_mc_add_mc()\n"); 500 goto fail1; 501 } 502 503 /* allocating generic PCI control info */ 504 e7xxx_pci =3D edac_pci_create_generic_ctl(&pdev->dev, EDAC_MOD_= STR); Though it might be hard to find such an old system to test. -Tony