Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4147640imm; Tue, 25 Sep 2018 12:10:25 -0700 (PDT) X-Google-Smtp-Source: ACcGV610QVQJJDDFs/STHi7PBZ9VTsjuj60YC43xV4SXgLwDJJwY14WQh1DTUkWS87R/v3NI6hAz X-Received: by 2002:a17:902:6a8a:: with SMTP id n10-v6mr2495634plk.288.1537902625773; Tue, 25 Sep 2018 12:10:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537902625; cv=none; d=google.com; s=arc-20160816; b=FFGP/fdbIvCnWKFhVilNPp1rgWsW4qf+3XbBI8Ay7DOJcNz+uN/vC4z41FTyRslOFZ MJ1ovgMdPoZv1MndoadDPzJwsxWYn5fWr1loU6xN6CrhFpFFXBUF/oNxkgv3hrNAJNds n1jVIvgPK4tFSdUFIRVebySBjzj0rT0hn2fowruFe26qGQ41o1W4xqIxSQRmJbqOl+tQ 5B6EulbRyuDMP2VHvojRSEEbmO3HFijYE5UwuMZQojNlADlf2Rg86HwPNATBR+ri/AEv rNNBMJT28a+8brcv+TuKXV9zB8G5nHQEsIfVbs/dCPTE150/14/DcEvx/irJxwgKGpDO H0Gg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=iup+TlErnUMz8/zCk5KZIbXCt17/trDeFwtrg+sdols=; b=xOh81IqUI2NmDjGAryjWswLfyaKkUVg2tmei//FY5JZT037V98/9fMoZ4naPVnHsvy ZnTTA8E7wBoq17f0FLBx+POnFKR7qvKYA6fhnmvE6vq9mR3xXXLKwEjOzcXcXqOrgDfd 1wKO78JU999wxWwCh0bLBv2kS5xFem4BN4mFiQW/fJGkwycB1X0jpy24mLr9vsvvfdWU ANeW/mAz/2rLbOSgl2mVaCu+xvqPJlH+AN5e2JCqzqxXsIaT6P6q4pWUZlAXgCZDI8+z BY1HXbaD7feejGJT/5M2giQcef8Mt2AqBZl1Th5pgsKDLq1mGfC4wh7OsgUx8IlVue5M 1iiA== 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 b1-v6si3062075plc.168.2018.09.25.12.10.10; Tue, 25 Sep 2018 12:10:25 -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; 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 S1727630AbeIZBR1 (ORCPT + 99 others); Tue, 25 Sep 2018 21:17:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:45252 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727151AbeIZBR1 (ORCPT ); Tue, 25 Sep 2018 21:17:27 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A21E2AD12; Tue, 25 Sep 2018 19:08:27 +0000 (UTC) Date: Tue, 25 Sep 2018 21:08:29 +0200 From: Borislav Petkov To: Nick Desaulniers Cc: Thomas Gleixner , mingo@redhat.com, hpa@zytor.com, x86@kernel.org, "Kirill A . Shutemov" , Masahiro Yamada , Matthias Kaehlcke , Kees Cook , Cao jin , LKML Subject: Re: [PATCH] x86/boot: define CC_HAVE_ASM_GOTO Message-ID: <20180925190829.GC15464@zn.tnic> References: <20180907202618.258569-1-ndesaulniers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 25, 2018 at 11:41:19AM -0700, Nick Desaulniers wrote: > bumping for review. > > On Fri, Sep 7, 2018 at 1:26 PM Nick Desaulniers wrote: > > > > Since this file steamrolls KBUILD_CFLAGS, we have to redefine these > > symbols. Why do we have to redefine these symbols? I don't see arch/x86/boot/ using asm_volatile_goto() and CC_HAVE_ASM_GOTO anywhere. > > This will prevent warnings in source files in this directory > > when Clang supports asm goto. This statement I can't grok either. Maybe I'm slow or maybe I need more background info... Thx. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --