Received: by 10.192.165.156 with SMTP id m28csp995937imm; Fri, 13 Apr 2018 11:21:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx492x+fWOuIeTI8nrlJ6XmMikAYza7x1KcQ0vZzatLiNglf/Y29D0Gfn3fy7iKX/LNM5TnaU X-Received: by 10.98.72.205 with SMTP id q74mr12455517pfi.70.1523643668867; Fri, 13 Apr 2018 11:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523643668; cv=none; d=google.com; s=arc-20160816; b=NtFAecN0v/QuAR3ok+QSIKJAHjASX6v2eQfY1grg1U9z1IV9Fm27piniOdjW2GhEQ7 4QXPXBXAlO4Xh+q5efni7pFu5dAB4IbnxeiT7ojUQXkepTsqWEF8T89EXT6s+cKFvN46 zSo0M6YoFRqHcGuThWkHP0VsgXJr9NQabFbQouF18WOgE6LbOHjPfBHCCzXyt7bhwhGo A1Jm//xRI91awpBuh+ou61StaR89n5tXCeJjUXWZlCDHJhhm63BlVbTACUa8ka9CZ2ah Kihmenv20HRiKVh/HaPWgau3UeMgAY4uhYOu2/t0S2BI1wlLG5DTsmvjWqjdZh5uOJtb roaA== 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=7o+fwAG0Wkw7PhZmjMB++FJTmUSABfoUktBD7g95Y+k=; b=ryyeJvLaWG/m4sKOrc4DrfwKSun9EV7gsc2Z8IHzUY5BEha8T25K2VmlA2EFRvQE+T emJ4UKMwbQ6y+7r5OeUq+FMeEgBEhdw7XYK3KjEsEFZBGu1SAwfI99tSUZKClNQD1v+k LejUnxGsUU/cZL3vc9VXKoyv76gg/wBzejaGgADSBuv3neXFbllgEnj7U5G2S7NikRjb PktSscyyNyjK6O+zIhFpsJsVotwqmsQ3afXTyGia+EFcvGefU5bUo7w647dv5w1MLGeY p1m6uvLQ5XFRu5sEH0QPXvnMwwTxyAicLSD1Gy18lzX88KKg2eIEWvh6TDufcbb1ohLr RDAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=bsAncDMl; 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 i84si5100574pfk.233.2018.04.13.11.20.54; Fri, 13 Apr 2018 11:21:08 -0700 (PDT) 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=bsAncDMl; 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 S1751775AbeDMSTe (ORCPT + 99 others); Fri, 13 Apr 2018 14:19:34 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42050 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751125AbeDMSTd (ORCPT ); Fri, 13 Apr 2018 14:19:33 -0400 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=7o+fwAG0Wkw7PhZmjMB++FJTmUSABfoUktBD7g95Y+k=; b=bsAncDMlkc40615BGIQyDn/N7 0QZqduV4mUVg2HOe49q5fEWyenCWKJ5lhGvp8uCL579vXrI2PNCUarP0zAkRhorcpbJ9DXi1TTLko /JOa1+b50AuIjxcOtzhqjQbF+jyGbstFerTYi1hTqfetnZfWSEJIbB30SBW7gJkydIHGwRLzAf7mD ON5JOWvoibd0PNGP8NcsqSnGCI8hzghmk41CKdbzPr6d1CA7d926EJ1bTPlr9B/EugotgJxL6lMnj LipSmhv4LKp8PuqeCA4kUQxM8eqNsahgeZJGjXMp3wO58iIQd7JCfvuUqqSB4HFz77mQQWuSK5igc Bgnxegcgg==; 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.90_1 #2 (Red Hat Linux)) id 1f73IE-0005Ww-Sc; Fri, 13 Apr 2018 18:19:27 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id C1B41202A4A09; Fri, 13 Apr 2018 20:19:24 +0200 (CEST) Date: Fri, 13 Apr 2018 20:19:24 +0200 From: Peter Zijlstra To: Alexei Starovoitov Cc: Yonghong Song , mingo@kernel.org, daniel@iogearbox.net, linux-kernel@vger.kernel.org, x86@kernel.org, kernel-team@fb.com, Thomas Gleixner Subject: Re: [PATCH] x86/cpufeature: guard asm_volatile_goto usage with CC_HAVE_ASM_GOTO Message-ID: <20180413181924.GT4064@hirez.programming.kicks-ass.net> References: <20180410204259.3981586-1-yhs@fb.com> <20180410210716.GI4082@hirez.programming.kicks-ass.net> <552d5866-912e-afde-f25a-77ae8390816d@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <552d5866-912e-afde-f25a-77ae8390816d@fb.com> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 10, 2018 at 02:28:04PM -0700, Alexei Starovoitov wrote: > Instead of > #ifdef CC_HAVE_ASM_GOTO > we can replace it with > #ifndef __BPF__ > or some other name, I would prefer the BPF specific hack; otherwise we might be encouraging people to build the kernel proper without asm-goto.