Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4841743imm; Fri, 18 May 2018 11:34:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqkg9af92RqM1q7iHU+QDZdPiMLcDwwbsOVzsm5FFR17gtDbTOZ3qEtwjNvy/+28u5Irzxg X-Received: by 2002:a17:902:1004:: with SMTP id b4-v6mr10416567pla.82.1526668490665; Fri, 18 May 2018 11:34:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526668490; cv=none; d=google.com; s=arc-20160816; b=e0Z8UmYQussL86bZojGsCDbVCqvvZMv8tLkHYh78t6bwq8B3Zt9pGM0qVpzHE6k1z+ onLGxXfrmfErsfy3LbQwcnAHgH1Me7hKsU6dosq06p63zZAjkjhZaRtmLeUvIqtxs7Ct lKnG3u3+uAgCwuUM6rWPSXEd0UP8NbrF3Ts0wfE9Dl8yaS/B9oExkc+rkygqApSbA2oK v+2qUrec0/41kDNb0pvntyS4CLJhBvd07ik42Q0sKrAVEX4zZpEcjIsux0XFNhhq2Hok k7z3wWPxtwrMeS/2IpBaldfyt6fddkonzsSFYoCsl5vx0amVyfB9/wQI4MGPnnkpVcZ4 gdYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:arc-authentication-results; bh=A1PePyTuMcD1HJt3ljhLriUBB8v5vxTLXSi93Abh7ew=; b=GwIcTmpVMIIspsKmQsfnVbpCWCuSsswpU8nGTa9ltXuFA1ShQtZe2+ehlQGlIpQGEO swuwkFXmXNE0cmaBvHUvGXzRS0WnPIpKQdweH6qGeL0rAeK4pWSFsqxoVf5V0DXI+/Xd Ptz1LU26Bci73X4a/XoEvGgtUdiyF8EJpS9GdnFirdNOO4oG5BuaJCGLWy5GCUey1Hil SoJRkoGaIREv+WgTw3z9kW9T+zg/Rv3/s5ouKYhrygsj9Bcy14BqlKN2eYfZ5vlArhb9 vJTn0FBuiCc4mInf6rA8oNjKL5Femh7UjNRtyxKGBKjW3B4rJzgelzyLsjuQCHSohUAg 5PQw== 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 64-v6si8044039pfl.309.2018.05.18.11.34.36; Fri, 18 May 2018 11:34:50 -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 S1751999AbeERSeR convert rfc822-to-8bit (ORCPT + 99 others); Fri, 18 May 2018 14:34:17 -0400 Received: from terminus.zytor.com ([198.137.202.136]:34727 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751891AbeERSeO (ORCPT ); Fri, 18 May 2018 14:34:14 -0400 Received: from [10.170.141.84] ([192.55.54.58]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id w4IIXrpo2533681 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 18 May 2018 11:33:53 -0700 Date: Fri, 18 May 2018 11:33:51 -0700 User-Agent: K-9 Mail for Android In-Reply-To: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [PATCH 2/6] x86: bug: prevent gcc distortions To: Linus Torvalds , namit@vmware.com CC: Peter Zijlstra , Linux Kernel Mailing List , the arch/x86 maintainers , Thomas Gleixner , Ingo Molnar , Josh Poimboeuf From: hpa@zytor.com Message-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On May 18, 2018 11:25:32 AM PDT, Linus Torvalds wrote: >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 “.include” >directive >> that gas would later process? (I can probably wrap it in a C macro so >it >> won’t 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 Unfortunately gcc doesn't guarantee that global assembly inlines will appear at the top of the file. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.