Received: by 10.223.185.116 with SMTP id b49csp518205wrg; Wed, 14 Feb 2018 02:45:49 -0800 (PST) X-Google-Smtp-Source: AH8x2254mIzDAJoi70b/0yhkM+TGjHlgX06RRiVNWJ1ULhYZ0xrd1RGhY+J64TXTDqamLHPm0ZAb X-Received: by 10.99.149.8 with SMTP id p8mr3440737pgd.186.1518605149850; Wed, 14 Feb 2018 02:45:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518605149; cv=none; d=google.com; s=arc-20160816; b=DPHQnoQMr0lppW6l3fvg7/Rz9jRggKqqWxdXxC8JiEJGVOZWcB6mV43VLE2/FblZ2i FgrC9eecgf3laSe9wSav/WULgZ0A/OpwoOJ1FuDsIVZNqbfcf8NciP4sTRXpooW1ltVC Vl0SWpZfFu6RriyJXloP85bM95igevZuGOs9FvjNr7H8MU7GPKr8NuvvL/OwMWAB+dYo ZvUu/0P8fuy1RL6yBYCNE0qH6gd2n42s0Qyj/Hg2g876YLGNsG14RvZJGAdre8RBniOw XFx2rR2RF/18WeEvvIPkl6uhTMjOU0pH4VU1j+at4/rIV15QZ77vU4uXT4voC/I8j3aH X4UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=B6mW+FQ4oi2NLpfSzLQod90r4xbil1ZLonvZWUwTsIQ=; b=uCplukor4IcxuQC4WUZUa2w6A3J2noYwCP/xbdNvX8c/FDABmx/4bVzMS00Jw6LCP2 wEzt/CnZfh42WYMxZjEnut2wmAvhlao7LGwyDMdNRHRW5QK5a5hFDwfs8Xgdc7TIi8kw +VrCb1u0m0xCw5hIbe9dsgp0M2D+UX0tXTqj6FDgDWmhrfJd0pdLJwZpQh7HC9hJJFsR 8jg55kWcNP6VFXtYgq4mRrjZJrDrN2f+FiEWOIAeppB3ap/UCrXuSI76jbf7BCGpdbFF RHoHrqtU/C3NwPOgY7NHayr4AdB2AdWW+5f/E4dV9qeFC+db1FNECUe0fxx5QRQy4iun 4eAw== 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 r16si927095pgu.449.2018.02.14.02.45.35; Wed, 14 Feb 2018 02:45:49 -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 S967243AbeBNKo1 (ORCPT + 99 others); Wed, 14 Feb 2018 05:44:27 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:52282 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967089AbeBNKo0 (ORCPT ); Wed, 14 Feb 2018 05:44:26 -0500 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1eluUb-0002Ru-IX; Wed, 14 Feb 2018 11:40:49 +0100 Date: Wed, 14 Feb 2018 11:44:08 +0100 (CET) From: Thomas Gleixner To: Peter Zijlstra cc: Chandler Carruth , "Yatsina, Marina" , Kees Cook , David Woodhouse , "Kreitzer, David L" , "Grischenko, Andrei L" , "rnk@google.com" , LLVM Developers , "ehsan@mozilla.com" , "Tayree, Coby" , Matthias Braun , Dean Michael Berris , James Y Knight , Guenter Roeck , X86 ML , LKML , Alan Cox , Rik van Riel , Andi Kleen , Josh Poimboeuf , Tom Lendacky , Linus Torvalds , Jiri Kosina , Andy Lutomirski , "Hansen, Dave" , Tim Chen , Greg Kroah-Hartman , Paul Turner , Stephen Hines , Nick Desaulniers Subject: Re: clang asm-goto support (Was Re: [PATCH v2] x86/retpoline: Add clang support) In-Reply-To: <20180214091042.GV25181@hirez.programming.kicks-ass.net> Message-ID: References: <20180214091042.GV25181@hirez.programming.kicks-ass.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 14 Feb 2018, Peter Zijlstra wrote: > On Wed, Feb 14, 2018 at 08:41:43AM +0000, Chandler Carruth wrote: > > Marina, Kees: > > > > I think the combination of LKML and the LLVM developer's list is probably > > too large a set of folks to have a (somewhat) lengthy exploration of > > options and how to go about this and find a good path forward. > > As one of the original authors of the jump-label implementation I'm > saying there are no options. We're not going to do a second parallel > implementation. If you want to build the kernel, you get to implement > asm-goto, teh end. Amen to that. As x86 maintainer I'm really interested and willing to support llvm/clang for x86 and the kernel in general, but asm-goto is not longer negotiable. asm-goto is in the kernel since Oct 2010 and the relevant llvm/clang bug #9295 is open since Feb 2011. All clang/llvm folks came up with in those 7 years is occasional handwaving about better solutions. We really try to support old tools and tools which lack features for quite a long time, but that's not a free pass for eternity. That said, I'm not willing to wait another 7 years and I'm going to pull the plug on compilers w/o asm-goto support soon whether llvm/clang gets their act together or not. Hint: GCC is not the only major compiler which supports asm-goto. Thanks, tglx