From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752746AbeANXQG (ORCPT + 1 other); Sun, 14 Jan 2018 18:16:06 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:38694 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751321AbeANXQF (ORCPT ); Sun, 14 Jan 2018 18:16:05 -0500 Date: Mon, 15 Jan 2018 00:16:01 +0100 (CET) From: Thomas Gleixner To: Linus Torvalds cc: David Woodhouse , LKML , Ingo Molnar , Greg KH Subject: Re: [GIT pull] x86/pti updates for 4.15 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Sun, 14 Jan 2018, Linus Torvalds wrote: > On Sun, Jan 14, 2018 at 1:01 PM, Thomas Gleixner wrote: > > > > Good point. I'll queue a patch to that effect or do you just want to do > > that yourself? > > I don't think it's critical, and I don't care for rc8, so it's not > timing-sensitive. The removal patch can be pulled from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus It's better we get rid of it now. Thanks, tglx ------------------> Thomas Gleixner (1): x86/retpoline: Remove compile time warning arch/x86/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 974c61864978..504b1a4535ac 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -240,8 +240,6 @@ ifdef CONFIG_RETPOLINE RETPOLINE_CFLAGS += $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register) ifneq ($(RETPOLINE_CFLAGS),) KBUILD_CFLAGS += $(RETPOLINE_CFLAGS) -DRETPOLINE - else - $(warning CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended.) endif endif