Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3510382rdh; Mon, 27 Nov 2023 16:42:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGs7fVSSHheVMOF7wIsL+xp951N0FSK4/byMwA0KyNu5BPRam0OunHYZj+81VeLxOtqjV5 X-Received: by 2002:a05:6808:1211:b0:3b2:e34f:349b with SMTP id a17-20020a056808121100b003b2e34f349bmr18128279oil.42.1701132133554; Mon, 27 Nov 2023 16:42:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701132133; cv=none; d=google.com; s=arc-20160816; b=qF33L8SPIgqNeXDRvX1oFiQeIaG7Zx4EynRzzJ3oMqmuFzvOjfei9WSIg5pGvtNWPH gUAdhCnfEPh6HgZqYZWw9JQ3ZRFYZuKez3PivHQW798DXScNCk0H8BaLILU4m+wCFFGI K9QY0q8tYZeiyzkaot5k8QRKkpg89eV30V4FIoEX3VxU08+KEpiI8b1VKSd4M9OpXiNW saK/bwmyUDfK5bd6CpAjFjR0qh7Z/iRcyURwtCjlMtTWNNlK6s/nfdPiBchiU5Aa1T3A 1ByET2GNU3ELpERhqOS5Vz5+kc9B+hhKGLv44dwmOoYolxoAAUMr5SXM+UDGDgE7Nhh0 YBmQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HmyrIr2oFvGxLFras5v9RpTH7aEMh3bagNXXe5mkSTY=; fh=MduqRXC3aaNM9G800fpOeM6Zpb+vrOIrlF6XhEkwlxw=; b=grGLbWZcZHdqzZc0NgtzAbL3xxnZ5t+MyPr66UsyVyrzIeDT0GY6vQj2aNaJ27RuLc 3YXtez596sd4+8i91uRMvR+QJa6HLUlCjLAIeHWabOmbbPGX3n8oAkmyKSTWM83aDWG3 fTCYAJHfWErBrcKYzm2uq+exxsQbQqZB5tLuWNRsYmuElJBhzt0a6Thj1tKCu4NGCxfM c1v+nsyKyfPFdIMeDP7x809qdW8sKZjA2z4oIDrVWq3cTrGdO/9xd3vmlx43K7MaSyXi XvQTk+8MD/wLN9dxCETXqsh42EhSXQMZeVTmlfjd6I18aYqD4pds/69DiFSoLq4Wq9SG aEhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=evhprX2L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id k5-20020a6568c5000000b005bdbeb537cfsi10865912pgt.186.2023.11.27.16.42.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 16:42:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=evhprX2L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4EA64808D6BF; Mon, 27 Nov 2023 16:42:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231429AbjK1Al6 (ORCPT + 99 others); Mon, 27 Nov 2023 19:41:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbjK1Al5 (ORCPT ); Mon, 27 Nov 2023 19:41:57 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E31C1A7; Mon, 27 Nov 2023 16:42:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701132123; x=1732668123; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3VfU9NwhaNjLoj9hTq3TLLG+FPVaZX89uWfoXGqjeb8=; b=evhprX2L20vxQey8za4eyWxz5yy/359HRsNAVPVOcS+/IRjRWVF9Ikj6 eVoVtzSMwYSXmn8vOoO9OrrxTOksJvoS3UGbrpXt5s9GbXTLyXIHz3YJa TQC/eNKRG1lTYF6i/Ww7eU66lN7lmprzRCdfU5lH91818uLN37+P7tb5a ojsI4BgDQF327QUsTEnfS3fbXmZ1FDLVNUcBPHSlArns3H/hDcbgWJzC9 oUFTmp6CnRYPQMgrLtPkWOzMaddZ+zk2BA1ULynwHuxx07svlO1iA8cKX 1sVMWDFJGjMYTrDnWueT0Y5QqJGBeJ4ZPU709fzaOP4mRfaOSgSH1jKqS w==; X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="389976671" X-IronPort-AV: E=Sophos;i="6.04,232,1695711600"; d="scan'208";a="389976671" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2023 16:42:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="834483743" X-IronPort-AV: E=Sophos;i="6.04,232,1695711600"; d="scan'208";a="834483743" Received: from agluck-desk3.sc.intel.com (HELO agluck-desk3) ([172.25.222.74]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2023 16:42:03 -0800 Date: Mon, 27 Nov 2023 16:42:02 -0800 From: Tony Luck To: Borislav Petkov Cc: Yazen Ghannam , Smita.KoralahalliChannabasappa@amd.com, dave.hansen@linux.intel.com, x86@kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: Re: [PATCH v9 2/3] x86/mce: Add per-bank CMCI storm mitigation Message-ID: References: <20230929181626.210782-1-tony.luck@intel.com> <20231004183623.17067-1-tony.luck@intel.com> <20231004183623.17067-3-tony.luck@intel.com> <20231019151211.GHZTFHS3osBIL1IJbF@fat_crate.local> <20231114192324.GAZVPJLGZmfJBS181/@fat_crate.local> <20231121115448.GCZVyaiNkNvb4t2NxB@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 27 Nov 2023 16:42:11 -0800 (PST) On Mon, Nov 27, 2023 at 12:14:28PM -0800, Tony Luck wrote: > On Mon, Nov 27, 2023 at 11:50:26AM -0800, Tony Luck wrote: > > On Tue, Nov 21, 2023 at 12:54:48PM +0100, Borislav Petkov wrote: > > > On Tue, Nov 14, 2023 at 02:04:46PM -0800, Tony Luck wrote: > > But it isn't doing the same thing. The timer calls: > > > > machine_check_poll(0, this_cpu_ptr(&mce_poll_banks)); > > > > and cmci_mc_poll_banks() calls: > > > > machine_check_poll(0, this_cpu_ptr(&mce_poll_banks)); machine_check_poll(0, this_cpu_ptr(&mce_banks_owned)); > > Bah ... I've cut & pasted the same thing ... but I think there > are separate bit maps ... maybe I'm wrong. Will go back and > look again. > > -Tony