Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1563940pxb; Tue, 8 Feb 2022 22:27:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxDsVSyt+q1vJ83hvozytojKCaOGTUr9yhhjSf+ULyYo5bw5CJ0yGNmg6iK6AE8mDHVvLLu X-Received: by 2002:a17:90a:8409:: with SMTP id j9mr908950pjn.101.1644388025973; Tue, 08 Feb 2022 22:27:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644388025; cv=none; d=google.com; s=arc-20160816; b=m90X5txVRkkQZOTta2cQvNJlR0J2SXn87hyK21UYQgbPBh/xwRJwrZrK8Z5YUxoUDY NnNvTT6B2WGUM7DGDFo6ILfP6rzTC6axNh0E0HmSkODaHeSDZ0DDEWH3cTwz+0NNfH1t h8pOhhX1G7UuMkjPkiz+5B9/8VFZZbqOhNFS3IjZ2tcwrictruVn7YQYdriYD2nG4WmO NTsj2ViLcydwDbibnDEac8BosmZ66kG5pyZZKjFOse3ZcEzqe1mfQ276MI1VH2tmnalt NlCH7ETTfy5H+d2W4uQRtjQ8jxTqL3k3rSpx4UnHBdBoxzdsEBItoSyZ9QM2vJIDvwjP ssPg== 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=CYC/XprXxlLjtCSDTCZqFLi9fh8jP1dSac6rxXbSPk4=; b=YUO4Xno3xrxgglnRBmp/sCEgISz+yaUxnWMx2FrzeqwKWAS/dN2wP2qyxDCfCutvyO tV6lPo2/aDEyZwnF8sZH/7Pg5fxJnRvhBMyUsagSmKKvqUnOvsTA+7n1ln5YvIRAtd2P nSBhmfAJ0Ga2vBU1BHFgrV0pqB+/sbwKw7dq26e5Y/7H7dFBhbLcRe5e/00rRmuhNr19 K4At0lI81cuWNAutOHfzhBTB1KWE1z6oU56OviUZwHFKyafAjpWN1rB6FpCn9jtMcahI j53DGc0HG16wLnZtb68sXC1zqw6vnXDWapaO/FMx5TN/BnpCcJx48SsHP7oGBf2waePX NcOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=fU1lWmvz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id oa5si4851519pjb.33.2022.02.08.22.27.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 22:27:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=fU1lWmvz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 181CBE022AF0; Tue, 8 Feb 2022 22:06:23 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238283AbiBGVU1 (ORCPT + 99 others); Mon, 7 Feb 2022 16:20:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238009AbiBGVUY (ORCPT ); Mon, 7 Feb 2022 16:20:24 -0500 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D3E1C06173B for ; Mon, 7 Feb 2022 13:20:24 -0800 (PST) Received: from zn.tnic (dslb-088-067-221-104.088.067.pools.vodafone-ip.de [88.67.221.104]) (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 E5A851EC0354; Mon, 7 Feb 2022 22:20:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1644268819; 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=CYC/XprXxlLjtCSDTCZqFLi9fh8jP1dSac6rxXbSPk4=; b=fU1lWmvzCg69qwsNYNKlDaDvwmjKJUgL9a/luch7eyALhUviHyTgfvMsAWaXa1U4Pqp/CC l7qB4AEbN8UWRoZI9+AL0RMmesnkE7/zwz06nPtHnHsuz9vHcuThbk0cv3VqpbFImrs6gg yYm1ZzVk6JP4jggO9RJTXbdO6SvquIo= Date: Mon, 7 Feb 2022 22:20:13 +0100 From: Borislav Petkov To: "Luck, Tony" Cc: Jue Wang , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "patches@lists.linux.dev" Subject: Re: [RFC] x86/mce: Add workaround for SKX/CLX/CPX spurious machine checks Message-ID: References: <20220207043640.2829295-1-juew@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 07, 2022 at 09:07:05PM +0000, Luck, Tony wrote: > Yes. That would work. It's an extra MSR read instead of a memory read. > But this isn't a performance path. Exactly. > The erratum has made its way through to the public specification > update yet :-( You mean "has not"? In any case, I guess you could say something like: pr_err_once("Erratum #XXX detected, disabling fast string copy instructions.\n"); or so and people can search with the erratum number later where the doc will explain it in more detail. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette