Received: by 10.223.176.46 with SMTP id f43csp2701144wra; Mon, 22 Jan 2018 01:53:42 -0800 (PST) X-Google-Smtp-Source: AH8x227TIsSeteuybjCPFs0GS/WccxB9Ym+Cnp8nO4ZEZ8fjMKbw0pkega7Eh7Eu0wX9cJhM1jxs X-Received: by 2002:a17:902:f:: with SMTP id 15-v6mr3124656pla.419.1516614822027; Mon, 22 Jan 2018 01:53:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516614821; cv=none; d=google.com; s=arc-20160816; b=pms9qmZDHHdY6s5okYKZ8YSCJuertBUSz1SfFpXHdIkvrOGcF67aNl1QfDeP8xKRrp 03LMnzhb73Z0DdTcreOgfbhf1F31218zjmqL7Cq+66ASE/ZVkWLuysPrW4YSIHOfMAuh pk5FP7olDsl0COvlWkA2EfFpt2URG1gDBmpxIoDTwrgKcFmAazNKCAcKiLEwZzzWV3zF x6p6sSMSxyCT8A+WhCsFLQIrFm7R3g1J8Fu3C5VYzvQi5Nilwwh00nT26013N8jG8l2e 2Kdk/xbLVbb83V6lntthTUDy8FKmS+u3s5yROPADxdOfCE5mdeT+tbkBDHV4s8SgGB6N dB+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:arc-authentication-results; bh=VZqGjOxswvLVtoiGSxkYU8XOeExIUEQ/j0egA0tzmyM=; b=Gc2twJhwOGD0BGaYvxnQFC4TxazXan3eYuBi57Hifs4Q5boUIF07GDExqSWfnLAJAl SRmRjT7Xri/GsA+tY3kCdnMCV7c8Ix+bo4t01YtEqHKNsZdW0VhkcB++ewEYOrdFHNkH 8X8dFJLK9OZ4uOWc+5NFrH37klc4sBGZsJeZHO9mCdNhI4rUFH7E2H/gA8iH2cV0oYRt q7E/FzVkVPn/FdUdLGsTrRApnrH2L1T0iVe6ICc149eGmuSJ7ZM+dr7dSzzw61bNOl2D CQfQ91+syxPUc2yrEaQRhY+RPzoFKKX9jbrMJwWDO5jDHdn9keh/JuM/zj8L8/YbSjQq 8Vaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=YhvrbikW; 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 k9si5221559pfj.81.2018.01.22.01.53.27; Mon, 22 Jan 2018 01:53:41 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=YhvrbikW; 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 S1751214AbeAVJwG (ORCPT + 99 others); Mon, 22 Jan 2018 04:52:06 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:45125 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750890AbeAVJwE (ORCPT ); Mon, 22 Jan 2018 04:52:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=VZqGjOxswvLVtoiGSxkYU8XOeExIUEQ/j0egA0tzmyM=; b=YhvrbikWjKn9dsD01qQ9y0FYk nri3Eqfl6TVP8ekpzKiqSYdAveKCo677GLGmhXYHGxBZ7CWn2uZZo2BDxNvPfIqsquLSoztBHodCy pgG4VeloVLijueYXNkQqWTKFOqwxpVRtDM93fmKvd44CdIu/X40qLVn2iaB5W01JOWTZDFTSXLa0f QdiQS8s6Mk65j/L6/AsrhIQN/4DH5xGimhNQ3Szgrp9v4KdXMeyZTeNGHVW8PT4kAeTzTnTovrhti uVA3GnUwb89ygJp+N19q//eQdLHRay3BvziWor/bjrj/n4FrTTbyjTpQpZex2e7662bisr/Gu42oR 0sKGklruA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1edYlf-0006D6-To; Mon, 22 Jan 2018 09:51:56 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 4031D2029F9F9; Mon, 22 Jan 2018 10:51:53 +0100 (CET) Date: Mon, 22 Jan 2018 10:51:53 +0100 From: Peter Zijlstra To: Borislav Petkov Cc: Thomas Gleixner , KarimAllah Ahmed , linux-kernel@vger.kernel.org, Andi Kleen , Andrea Arcangeli , Andy Lutomirski , Arjan van de Ven , Ashok Raj , Asit Mallick , Dan Williams , Dave Hansen , David Woodhouse , Greg Kroah-Hartman , "H . Peter Anvin" , Ingo Molnar , Janakarajan Natarajan , Joerg Roedel , Jun Nakajima , Laura Abbott , Linus Torvalds , Masami Hiramatsu , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Tim Chen , Tom Lendacky , kvm@vger.kernel.org, x86@kernel.org Subject: Re: [RFC 05/10] x86/speculation: Add basic IBRS support infrastructure Message-ID: <20180122095153.GB2228@hirez.programming.kicks-ass.net> References: <1516476182-5153-1-git-send-email-karahmed@amazon.de> <1516476182-5153-6-git-send-email-karahmed@amazon.de> <20180121145655.ddme3w6kzxthu6al@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180121145655.ddme3w6kzxthu6al@pd.tnic> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 21, 2018 at 03:56:55PM +0100, Borislav Petkov wrote: > Also, blacklisting microcode for early loading will become an ugly dance > so I'd like to avoid it if possible. > > Thus, it would be much much easier if dracut/initrd creation thing > already filters those blacklisted blobs by looking at the revision in > the header. Which is much easier. That wouldn't be enough; AFAIU there's people with this stuff already flashed in their BIOS. So the kernel needs to deal with it one way or another.