Received: by 10.223.185.116 with SMTP id b49csp1042659wrg; Wed, 21 Feb 2018 11:04:57 -0800 (PST) X-Google-Smtp-Source: AH8x2244Ndshcw8TaWVqGFdb1LILbh3htjY+XJoCGu7c4zTpJW9Qfl+Gpcka7Kl40Pt4+ZQnO5Es X-Received: by 2002:a17:902:fa2:: with SMTP id 31-v6mr4116576plz.346.1519239897346; Wed, 21 Feb 2018 11:04:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519239897; cv=none; d=google.com; s=arc-20160816; b=XaszGtJzdN0cCYAlJjbWJpUACHbRHo+noK0Q/6PBv2huG6++GPMeBnST0ro8Ckfv+w A7wniL282MmN1B+fUmNqHVxx8A9ecuIIq69BnTGwueA1JVOQUt5GD7Tmg46MblaJT8K+ BYLuP7zwkI5a4GSQlwPhu3Dp05e19fETaTFbU2xkPlJUd3Vfw/k7c9kErOqI+eMcA/R9 3RPjQlhRgW/3yjDAs4tLNOsxNntYJqnUlxhxBUYthZ+QUKo+DKfqQbh6N7+MGewmGGMF D6v18sje1jfYcvWYM02DpuGWhN+NPECEuVNA5SEnj4dVa46tZPSnCGW8A7BPMrNZds4E b2VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=nmhPlOkaFwra2ia+41Qvv06ZflpFomxrnWzfo12vWZE=; b=TInKQQVgEbaiVO3kwRAI5jWDhbTXsBVBgI1WLy7SC8Z9l4H5n31Z/Zovl8SA8ID/Vk KGa3HUOq2sxQHYajDwVFxveMUUwRvV+fgiYAwtt3mOtLhljukcmb4D/q2/HR+MUY91uY r3ljxl0bi8lcRozNEt7jflW6OdDGFsGwCWovf/7TZaklVHaIFjrC2c4ETYpjR4wSecFA TShWNyFGnwy+ULTVPLqeb3DshlObZ6ug7TJkiUDX/iosYkCfaL3Axr4tBtx6y+AWvVYs s0FU1BP6DSlqJgg63HgfddyaxJzrW1gkFgZRipKNtspobcH+g9tPqJ1bXX/XfPjfICB6 9q+Q== 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 v4-v6si7906036plb.529.2018.02.21.11.04.42; Wed, 21 Feb 2018 11:04:57 -0800 (PST) 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 S937522AbeBUQtx (ORCPT + 99 others); Wed, 21 Feb 2018 11:49:53 -0500 Received: from mga11.intel.com ([192.55.52.93]:35006 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932778AbeBUQtw (ORCPT ); Wed, 21 Feb 2018 11:49:52 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2018 08:49:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,545,1511856000"; d="scan'208";a="20034192" Received: from otc-nc-03.jf.intel.com ([10.54.39.38]) by orsmga006.jf.intel.com with ESMTP; 21 Feb 2018 08:49:51 -0800 From: Ashok Raj To: bp@suse.de Cc: Ashok Raj , X86 ML , LKML , Thomas Gleixner , Ingo Molnar , Tony Luck , Andi Kleen , Tom Lendacky , Arjan Van De Ven Subject: [PATCH 0/3] Patch series to address some limitations in OS microcode loading. Date: Wed, 21 Feb 2018 08:49:41 -0800 Message-Id: <1519231784-9941-1-git-send-email-ashok.raj@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following set of patches address some limitations on microcode loading. First patch avoids a redundant microcode load on sibling thread if another HT sibling got updated. Ashok Raj (3): x86/microcode/intel: Check microcode revision before updating sibling threads x86/microcode/intel: Perform a cache flush before ucode update. x86/microcode: Quiesce all threads before a microcode update. arch/x86/kernel/cpu/microcode/core.c | 113 +++++++++++++++++++++++++++++----- arch/x86/kernel/cpu/microcode/intel.c | 19 +++++- 2 files changed, 113 insertions(+), 19 deletions(-) -- 2.7.4