From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754919AbeAJAvS (ORCPT + 1 other); Tue, 9 Jan 2018 19:51:18 -0500 Received: from one.firstfloor.org ([193.170.194.197]:60004 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752037AbeAJAvQ (ORCPT ); Tue, 9 Jan 2018 19:51:16 -0500 Date: Tue, 9 Jan 2018 16:51:14 -0800 From: Andi Kleen To: Linus Torvalds Cc: Andi Kleen , Thomas Gleixner , the arch/x86 maintainers , Linux Kernel Mailing List , David Woodhouse , Paul Turner , Andrew Lutomirski , Peter Zijlstra , Tom Lendacky , Tim Chen , Greg Kroah-Hartman , Dave Hansen , Jiri Kosina , Andi Kleen Subject: Re: [PATCH] x86/retpoline: Fix NOSPEC_JMP for tip Message-ID: <20180110005113.h7ya6fl6shccvzew@two.firstfloor.org> References: <20180110003139.10531-1-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: > Then just make sure X86_FEATURE_RETPOLINE_AMD disables X86_FEATURE_RETPOLINE. > > That is both simpler an dsmaller, no? Yes that works, and is clearly better/simpler. Tested-by: Andi Kleen Thomas, I assume you will fix it up, or let me know if I should send another patch. -Andi