Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5106882ybe; Tue, 17 Sep 2019 02:44:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqyblavyRh2L+gKb2jadFlTm4qBsPlwfUJ9yILefYwGv/ND/8Re3JCADOJX4I9rQ2/GHQuwV X-Received: by 2002:a50:d5c5:: with SMTP id g5mr3646309edj.57.1568713444205; Tue, 17 Sep 2019 02:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568713444; cv=none; d=google.com; s=arc-20160816; b=t7sNxcIslNmNFhC+QJp0KzIqyAyaUTax+ftL8DIXfz4NY3mIHCv4am2fTxHNNkRihM K/X5q4XuTHJuXUgKvJHRyj5+ubUoY7giFWd2x2fUws1+JPvPh0JAeUi12UwPmN5wyaIP UeZtkYXGAF44/syyst3CsjrcCTVc217lKLNrOil6F+t/gKTbYYoKMeaskGMHRhF7moDy yjngU+V5RjQvKVEE3ESfio+LQOpeYdQbQ2iVpmmsd9FJiLxwYAuSTPlCiG6qcfUFij8o qf5tGIokV8EWs5gZ3yhU76l+JAr1c9O+9BY/JO85rn7VOFdwRW5l+pemDXkJ/Dtx8bMm Xf/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9Q0Z13rG711uvWRmfQeCjyd2F/ANVybw/Hkd7OjcJ+k=; b=i2It23kan6WxzNifkxP/ZtP/6MM4iFKZnEZf9NI+UDyXrolHjmLlZGtFYZXKzaxin4 diquB+GQPneNIKmCxqHURlPI+EAZEaly8a7bk5H9HA5318ZfHhGbAK7oJmj868FqxTHP 7w+mjrsOmKligvmRxSVqICeBAUtzIchhNbi66KImbO3CXLurINr8xP1ymrErGu8eTgqd PDt7+zb/dpj2IiTd7duLcMmySkVUnX7/D4rnZODqQ17ZW+vRBSZbjQGVHqHJfHh6e9E7 PbbOaD1tVN4iefTZTuNE3ya4wzae82tnJMS2u4plkTD7CjgJ+2u2ibODzWrzQqSA224f Raqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=UMYw0f+j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k12si992033edi.145.2019.09.17.02.43.41; Tue, 17 Sep 2019 02:44:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=UMYw0f+j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404322AbfIQGqT (ORCPT + 99 others); Tue, 17 Sep 2019 02:46:19 -0400 Received: from mail.skyhub.de ([5.9.137.197]:60016 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726953AbfIQGqT (ORCPT ); Tue, 17 Sep 2019 02:46:19 -0400 Received: from nazgul.tnic (unknown [193.86.95.52]) (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 CB7771EC0200; Tue, 17 Sep 2019 08:46:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1568702778; 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=9Q0Z13rG711uvWRmfQeCjyd2F/ANVybw/Hkd7OjcJ+k=; b=UMYw0f+j81fcQuCG7ECcpHsVLbVG9alHrC0/6b8TqoWSohdnLoJyU/hHYtNk8lTLsbMLU/ EF9zGd03VHAckmOpVQvt4YVaVkT39pU1toKGQuSjHJnX5qUHUspRS4y2kiMsESxoxNbCKP dRxae3zO6LYvSxKaji6M0M4BGLV+rbo= Date: Tue, 17 Sep 2019 08:46:12 +0200 From: Borislav Petkov To: Thomas Gleixner Cc: "Raj, Ashok" , Johannes Erdfelt , Boris Ostrovsky , Mihai Carabas , "H. Peter Anvin" , Ingo Molnar , Jon Grimm , kanth.ghatraju@oracle.com, konrad.wilk@oracle.com, patrick.colp@oracle.com, Tom Lendacky , x86-ml , linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/microcode: Add an option to reload microcode even if revision is unchanged Message-ID: <20190917064612.GA12174@nazgul.tnic> References: <20190905222706.GA4422@otc-nc-03> <20190906144039.GA29569@sventech.com> <20190907003338.GA14807@araj-mobl1.jf.intel.com> <20190917003122.GA3005@otc-nc-03> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 17, 2019 at 08:37:10AM +0200, Thomas Gleixner wrote: > So what happens if the ucode update "fixes" one of the executed > instructions on the fly? Is that guaranteed to be safe? There is nothing > which says so. You'd expect that when you load microcode on the core, the one thread does the loading and the other SMT thread is in a holding pattern. That would be optimal. Considering the dancing through hoops we're doing to keep all threads quiesced, I'd be sceptical that is the case... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --