Received: by 10.223.176.46 with SMTP id f43csp868563wra; Wed, 24 Jan 2018 07:09:57 -0800 (PST) X-Google-Smtp-Source: AH8x227E7q+QBAvVouJFrIuB/8R7G4uB0IdtM1e59y+1PR3PqJcW5E7j/NLz2LqVyz1G0kurv19k X-Received: by 10.99.174.69 with SMTP id e5mr11214390pgp.263.1516806597791; Wed, 24 Jan 2018 07:09:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516806597; cv=none; d=google.com; s=arc-20160816; b=s934+SWmm/5aPdDTzanxLAuESgoP/r+9iLgvMazST8pNaxV1+w3BGXn9sCjpQk+FF+ dCCr/WjFoZiIMy9v+1L5nxgyEgcSf+LevTtIiW4rgN97GLTk42LvgTMisGdHk2UMx2Nx Y1JLjW+elnzkg4s6EI/QjXRc03P6gjamUwbBvGpMINPL78+A+GPsngX1LEiJJhIaI8ni JuWVJ3V+RxJ9MncSlJ+2Aqal4ZyaWZ+w1bfXrs1C+9G2zuM0GYakyVlQrsoez6WnDg4H 0K5qSFb/OSGo41JD3K3NxgSwDDolhsfpLeewAR/GOGiXsklO+HCAQgf2yk5ILl/ZM+ZZ swcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=XWJ2PvXVCFHub9hSmNaYhNsmtUS1mTa7i+fdN9xcjwE=; b=yNeP5OpiNuQhGKphbkZdbDMoEt9N9VU1xG9i6luONrKNVcePgilEEjORvauHYoE/c3 a30ErtqkZ43ialrOhf4VJ/AToRIkPuaZ806QpR7/HgcLOz2VQwJ+BSYbRlRMHxjK4oJQ J3QB2fcXK73k2yshD1ESH7P1n3U+fVg5IgwS7J3PhXwlinnRiXqGNYwCB5H6T3eneNns ATzwo+gNrDMX1cB4NfK35bgDEBPf0QiTraONP9QjMhuP51IhJkXMx3lsWyEzXdk6GPFH Z0Qx4g2G/NoILw0iVitFhsK9f3xdaiRCDJQ7kAlX4cE+3/1OQGyFgnwK54CPEFPv35PW /NQA== 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 l19si3022672pfj.363.2018.01.24.07.09.43; Wed, 24 Jan 2018 07:09: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 S934113AbeAXPJL (ORCPT + 99 others); Wed, 24 Jan 2018 10:09:11 -0500 Received: from mga05.intel.com ([192.55.52.43]:54036 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933948AbeAXPJJ (ORCPT ); Wed, 24 Jan 2018 10:09:09 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jan 2018 07:09:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,408,1511856000"; d="scan'208";a="29134395" Received: from avandeve-mobl.amr.corp.intel.com (HELO [10.254.98.84]) ([10.254.98.84]) by orsmga002.jf.intel.com with ESMTP; 24 Jan 2018 07:09:07 -0800 Subject: Re: [RFC 05/10] x86/speculation: Add basic IBRS support infrastructure To: Greg Kroah-Hartman , David Woodhouse Cc: Peter Zijlstra , Thomas Gleixner , KarimAllah Ahmed , linux-kernel@vger.kernel.org, Andi Kleen , Andrea Arcangeli , Andy Lutomirski , Ashok Raj , Asit Mallick , Borislav Petkov , Dan Williams , Dave Hansen , "H . Peter Anvin" , Ingo Molnar , Janakarajan Natarajan , Joerg Roedel , Jun Nakajima , Laura Abbott , Linus Torvalds , Masami Hiramatsu , Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Tim Chen , Tom Lendacky , kvm@vger.kernel.org, x86@kernel.org References: <1516476182-5153-1-git-send-email-karahmed@amazon.de> <1516476182-5153-6-git-send-email-karahmed@amazon.de> <1516741116.13558.11.camel@infradead.org> <20180124084735.GM2228@hirez.programming.kicks-ass.net> <1516784541.13558.90.camel@infradead.org> <20180124091049.GB12100@kroah.com> From: Arjan van de Ven Message-ID: <68fc14f7-38b0-5127-5c7a-a11c27e3b166@linux.intel.com> Date: Wed, 24 Jan 2018 07:09:06 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180124091049.GB12100@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/24/2018 1:10 AM, Greg Kroah-Hartman wrote: > >> That means the whitelist ends up basically empty right now. Should I >> add a command line parameter to override it? Otherwise we end up having >> to rebuild the kernel every time there's a microcode release which >> covers a new CPU SKU (which is why I kind of hate the whitelist, but >> Arjan is very insistent...) > > Ick, no, whitelists are a pain for everyone involved. Don't do that > unless it is absolutely the only way it will ever work. > > Arjan, why do you think this can only be done as a whitelist? I suggested a minimum version list for those cpus that need it. microcode versions are tricky (and we've released betas etc etc with their own numbers) and as a result there might be several numbers that have those issues with their IBRS for the same F/M/S