Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3930834ybe; Mon, 16 Sep 2019 03:57:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLS+bg9shgS6Rmhd3hyk/9wY0R+m8j16tKnn1YuA6qKWxWDPOANYG4E6V/n4wxbs/r+Cb2 X-Received: by 2002:a05:6402:350:: with SMTP id r16mr33037096edw.296.1568631476310; Mon, 16 Sep 2019 03:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568631476; cv=none; d=google.com; s=arc-20160816; b=ns+OEAWzhlkjsxqD+QrxgaGyXyu712YK+ioeSVenc+l51Xllao1jLR3Rr3mC7y7iD+ Uimfag4xFW75xuEjCN1PPR+/rNiDkG3bndd3r/5byZyJS5zeo5m/erF737oeoHY50Zbh ZFap7tEQLbCT8IrEd3xX24QeQrlgQEP2prFCQqyEJ61goCwO2ZMvqgcV1Ey3b4lVMhST 1Zf+YPfhZGrq/byPzQTSNMT2Xau4bvZj3D6Jm3FfPU0/SyCxK9QKHyBvakGoqQywMJuE +r+Hf5QcRwu84B6lbbEh5EtNBa8TOZ09i60/7B+CTPkL131SsUgzItJXhgBoyhnzZYSF IfAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=DbK0RdqVbn8o0hFCfcRivxVYAoG1IsuVAeBoKNzjT7U=; b=oyeXeM0ZNWXDrOKFeDn4GTqvin3iZGqUv7c4jpxm/CA+/pIqO1Y2sbCjfM+O1xenPA 23Za1Dt9gZrpziypu9yZBUI8yedcZAaRJts+3H+7TLXZNplmdo/Dvwa3AnHFeJtFweSy eZGx2qR/S+JsM8HH3asBMHNnJWI+rwYTp6M1XoeTnsQXCO2SYKKBjM+oJSiOxl6JDgvg 83lw0iNHZpm0EfIhIQifsGsdbfplepqvtY2AGj8BGlCt8CEuvMygj1dPUsNSKj6Z84tx 0qfQLL7iR/jgf1pawjmYPEUP7N5U1nyNN4yt2QQLlK5imCekpQfJ+JqL/0J8r048vpSX RpxA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id on24si19637150ejb.259.2019.09.16.03.57.33; Mon, 16 Sep 2019 03:57:56 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732329AbfIPKg2 (ORCPT + 99 others); Mon, 16 Sep 2019 06:36:28 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:38790 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732316AbfIPKg1 (ORCPT ); Mon, 16 Sep 2019 06:36:27 -0400 Received: from pd9ef19d4.dip0.t-ipconnect.de ([217.239.25.212] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1i9oMe-0003B3-DK; Mon, 16 Sep 2019 12:36:12 +0200 Date: Mon, 16 Sep 2019 12:36:11 +0200 (CEST) From: Thomas Gleixner To: "Raj, Ashok" cc: Johannes Erdfelt , Borislav Petkov , 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 In-Reply-To: Message-ID: References: <41cee473-321c-2758-032a-ccf0f01359dc@oracle.com> <20190905002132.GA26568@otc-nc-03> <20190905072029.GB19246@zn.tnic> <20190905194044.GA3663@otc-nc-03> <20190905222706.GA4422@otc-nc-03> <20190906144039.GA29569@sventech.com> <20190907003338.GA14807@araj-mobl1.jf.intel.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 7 Sep 2019, Thomas Gleixner wrote: > On Fri, 6 Sep 2019, Raj, Ashok wrote: > > On Fri, Sep 06, 2019 at 11:16:00PM +0200, Thomas Gleixner wrote: > > > Now #1 is actually a sensible and feasible solution which can be pulled off > > > in a reasonably short time frame, avoids all the bound to be ugly and > > > failure laden attempts of fixing late loading completely and provides a > > > usable and safe solution for joe user, jack admin and the super experts at > > > big-cloud corporate. > > > > > > That is not requiring any new format of microcode payload, as this can be > > > nicely done as a metadata package which comes with the microcode > > > payload. So you get the following backwards compatible states: > > > > > > Kernel metadata result > > > > > > old don't care refuse late load > > > > > > new No refuse late load > > > > > > new Yes decide based on metadata > > > > > > Thoughts? > > > > This is 100% in line with what we proposed... > > So what it hindering you to implement that? ucode teams whining about the > little bit of extra work? That said, there is also a distinct lack of information about micro code loading in a safe way in general. We absolutely do not know whether a micro code update affects any instruction which might be in use during the update on a sibling. Right now it's all load and pray and the SDM is not really helpful with that either. Thanks, tglx