Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4833997imm; Fri, 18 May 2018 11:26:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZreEdBOlNq2eSoyH5R7Qj3KivXaZrYK9bJZvltBfmpqwaTPupS+jC97AYQDpmMBvg6HhsKh X-Received: by 2002:a62:8ac1:: with SMTP id o62-v6mr10499917pfk.141.1526667983370; Fri, 18 May 2018 11:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526667983; cv=none; d=google.com; s=arc-20160816; b=0plLXkBY5FHfmmQu8QnWiA46H9azxewl9QFa3KGqDSVmDPFcRrDbeonUJGurZJ8YE+ sYgAW84pE5fpKzQamdc8jbRaGEnODKBE06QfbL+c1T3NmqGcjozBxGpO5tBALNEVz4Xy l1LbipvTcgKDbJsesbgBWOvnRiLipdgDcfhTr1iRhJIHJitNOzM9L0edz1JZr7mLg0/8 UFWck5XY+dRQ5jOO2HsUohq2GDo0JSv2paQ2GQae/KhdZjZUqisuFDttg6iGTCoxnrBo 9+GCdyHxQFVQwfTJlcTVrSuqPi4cPFiwfvQRxafZfQwXDg+Ef2LLrZRaYbBOoeCU4nQN hUMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:arc-authentication-results; bh=kQvPua/9ESYy9yHaFPb8rFuGEtUnnRikwwnZdIKKy0E=; b=bXNmFxPZFSveGkN/aa0spybzvFrOV5dfB53tHiRHXE4XkilSNrOJ8rNSgH/1zZGRqs tG1SliQ96qQcbzKqoc/1CSMa/LsTZEviVmanTU/KwpbABmosPUL7oBjemo1EmP8TphkV h4tdTCCToYskiMd9n5v4khfgSgcMdhAceIFzlL4q9YEYruydivxrE1uT9M6mBWti/PuE AxmtdSDNP7b1tiCzR2cppr600I2lHLVm0IM6Yc2+88JE6sh+Qo3xCjNLBp49DdHSksIf S5fWoVvdXulfA+osmOz1Lt6AuMqUyUNm3CVEQiG//OIRMft04FPY05Ph05+xLn/akvtW bhVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bI3SY+EE; 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 4-v6si6528807pga.13.2018.05.18.11.26.07; Fri, 18 May 2018 11:26:23 -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=pass header.i=@linux-foundation.org header.s=google header.b=bI3SY+EE; 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 S1751979AbeERSZp (ORCPT + 99 others); Fri, 18 May 2018 14:25:45 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:55876 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751452AbeERSZo (ORCPT ); Fri, 18 May 2018 14:25:44 -0400 Received: by mail-it0-f67.google.com with SMTP id 144-v6so14192076iti.5 for ; Fri, 18 May 2018 11:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=kQvPua/9ESYy9yHaFPb8rFuGEtUnnRikwwnZdIKKy0E=; b=bI3SY+EE17kHEPtCzLzTTmgGIYp5svLrkAbW0RXIDvjuPS0ehrejwYdUlRQYdBHx4T B/LobEZ0ni8iWFrMyENzQB66xIaXoqzG1Dt3fSMkRFDvlRKXbN2tvszQKx7zno2KPby+ 4UE2mvhIVgs/FahBSaR3ySMEh4leyFhPhKUlA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=kQvPua/9ESYy9yHaFPb8rFuGEtUnnRikwwnZdIKKy0E=; b=FmcPAYJAt2WyTw+ShEydJXQvU4tNujcFP9EJS430dkhj6UymiB8p92/XptKVPIUvtA cmSOEEre0Jwx4a7xt3CTXuiIuAGbRGYgiXt9INXsiqtEhKX95DDnJGWIGLJI3stS9Ssb 3OHs0cdu5uzkI9V5Vqc+fZOTsSdltSW8gm7Zvb9k4lyXDIsnX+S3buTOk9VFZK6Slgks 8RECKKUPOcbcPUoNX8JhZ29iLy7se7EYnGoUu9F84gnea1RcrJVplViyzL/VZNDDuaZt V33CRbZ3OWjMOH7qw38/QpaWSCDdqgGQPndlh/T42/SV56CSbaocrlAOR6pdKFJdkjf6 KDeg== X-Gm-Message-State: ALKqPwcUf9Dtp+e7ZAXXwFckLgzkz05I4uSC0KhecM+jAxtLhP0/oBMB CEaRaFkld6kdu+A4bd+E11KXjDG39a1uWwhlJiF7bQ== X-Received: by 2002:a24:2213:: with SMTP id o19-v6mr8101139ito.16.1526667944037; Fri, 18 May 2018 11:25:44 -0700 (PDT) MIME-Version: 1.0 References: <20180517161402.78089-1-namit@vmware.com> <20180517161402.78089-3-namit@vmware.com> <20180518075853.GD12217@hirez.programming.kicks-ass.net> <6DB0E0C2-CCD2-4FCE-BD8B-5E340E308FF7@vmware.com> In-Reply-To: <6DB0E0C2-CCD2-4FCE-BD8B-5E340E308FF7@vmware.com> From: Linus Torvalds Date: Fri, 18 May 2018 11:25:32 -0700 Message-ID: Subject: Re: [PATCH 2/6] x86: bug: prevent gcc distortions To: namit@vmware.com Cc: Peter Zijlstra , Linux Kernel Mailing List , "the arch/x86 maintainers" , Thomas Gleixner , Ingo Molnar , Peter Anvin , Josh Poimboeuf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 18, 2018 at 10:24 AM Nadav Amit wrote: > Will it be ok just to use a global inline asm to set an =E2=80=9C.include= =E2=80=9D directive > that gas would later process? (I can probably wrap it in a C macro so it > won=E2=80=99t be too disgusting) Maybe. I'd almost prefer it to be the automatic kind of thing that we already do for C files using "-include". Linus