Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1116714ybt; Wed, 1 Jul 2020 19:38:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEHMm5N9YaDGnYYWjqkgZKluWCE6m5VVmz5gDhoQ2KgWeUgysv2cWjz7dO64ZBh4boKRVq X-Received: by 2002:a17:906:fcc7:: with SMTP id qx7mr26098252ejb.182.1593657500814; Wed, 01 Jul 2020 19:38:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593657500; cv=none; d=google.com; s=arc-20160816; b=JMSPU6a3XuNHJyDXS1zQHHOueCMU9f8OGqxc5aqpIzlVev9bie/vZOGp2lt8ifavAk MpBbUzooVltCeADlpyX65Khnjs7KCAMKToZ9+CyP2x0z+hyyvTagZ1lgyOfwogg18frD kc/jd9TIzndJ0tbxctSbsRer7pKas+JR7/RHq9gKlANB6a+iYqSc1Y28Rd10hV/cJ+E+ GBJrm4Wxh5OxREYS71tXFg+5GEGqASwTkG1rghKCGRfrg9L4KIJt2U3BpCASCz47Lr3V Xi59NNNC0iuKcuItC+Sy+p5YE1yVdHlruPxZiRuUO3ypSD2n6W2RdjgvoRj4CrejGWUw NzkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dO+MYSL5JIFNDDAWCgnk88YYd0Gu8lu4qudIafhsIH8=; b=JaXG18oDVaMdplaCm5JUQ+DUqRmK5D4ttfoMB2F5kDYwuYZG6M0y0WXc76t4oQABtz Ra3M4gd/QAjrnPmljWnfrA7ozLstRlmda40sPJEm4LCe1MJKZsRL5N81HI3tINbRwa2I lD1ATYUXak1VKpU3u5opHxVFC03MoKcP+pvjtxOQhIcmdWAGL94OWxbC5tb51+RDQa0Z fJcZXtv8RTybkwbYdYqbCHhzHB1oaDj7hT+4IVIzwRkrcqdiUVwLNF+wsrlkGFA6ft7m HkeTLL5qPmKDfqH7HhHl3Muz56zUH8Kn0jV103wD9lQkdk7k8N2gDNHejFKO+JeRsfhI 5wwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bTqo5ZsG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id de19si4897819edb.285.2020.07.01.19.37.57; Wed, 01 Jul 2020 19:38:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bTqo5ZsG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726451AbgGBCfi (ORCPT + 99 others); Wed, 1 Jul 2020 22:35:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726187AbgGBCfi (ORCPT ); Wed, 1 Jul 2020 22:35:38 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 841E8C08C5C1 for ; Wed, 1 Jul 2020 19:35:37 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id k17so2181489lfg.3 for ; Wed, 01 Jul 2020 19:35:37 -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; bh=dO+MYSL5JIFNDDAWCgnk88YYd0Gu8lu4qudIafhsIH8=; b=bTqo5ZsG+TwJIPH9BEUoRZxCg6Dlz/Z85DLm7635y496rV2cjz70C5+v96VBOLtiOl Rruu4lhV2PhcHK2DpL7/sbJuOMI+t75nQ4D2yGsRZwFXv0lcTxHOzA5ylZi0GBfPRaph IhzmyMeIhDyj/OUByXBJb+9nWZPrkSBnqcIKY= 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; bh=dO+MYSL5JIFNDDAWCgnk88YYd0Gu8lu4qudIafhsIH8=; b=cPOCofvF02F69GO+ubZvdyDpK2LDcOTTYeRidwNv46CD38Jv3T+bWMC1xy5mxXaaia BPG8r2OazNNFwxafcQHGJelDciX/cilU5ArpuCtmlmxLytTaLIhg6jRmhcoZkZcy16NQ Q0B1hPgdmOfpbT6+OzjUhqfZUv12DrMK//VnVYHEix9yv4mLdei2YLtFDDXUGo6H2z79 yNMtLM4wjZBEDOR43pkr8ic6DGUiExbqU+kGSpcSXYkzCCdywRDe1Tvo0fJq0SQSj2z/ e6GPKt6RJED0iqqs/fKvuquebSo8LTB1en/iIQJa+39yyWa6aE5JcX0uSDklEEtDs3o4 +FKA== X-Gm-Message-State: AOAM530LLIBe5kVVKyJv2rc52DhNsJeb977O4QR4zvKumacTwlClg9ho B9QMXMb2g218IK6BFPT1jsIZtFA37uo= X-Received: by 2002:ac2:4550:: with SMTP id j16mr16955864lfm.37.1593657335729; Wed, 01 Jul 2020 19:35:35 -0700 (PDT) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id j26sm2761399lfm.11.2020.07.01.19.35.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Jul 2020 19:35:34 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id b25so26094385ljp.6 for ; Wed, 01 Jul 2020 19:35:34 -0700 (PDT) X-Received: by 2002:a2e:760b:: with SMTP id r11mr9680ljc.285.1593657334480; Wed, 01 Jul 2020 19:35:34 -0700 (PDT) MIME-Version: 1.0 References: <5F1767D0-416A-4BA4-9DFF-E82D1EA3F5EE@amacapital.net> In-Reply-To: From: Linus Torvalds Date: Wed, 1 Jul 2020 19:35:18 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: objtool clac/stac handling change.. To: Andy Lutomirski Cc: Josh Poimboeuf , Peter Zijlstra , "the arch/x86 maintainers" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 1, 2020 at 7:30 PM Linus Torvalds wrote: > > I guess we could do that. Are there cases where this actually helps? Hmm. Thinking about it., using that approach might make the "CONFIG_CC_HAS_ASM_GOTO_OUTPUT" choices simpler to handle. With ASM_GOTO_OUTPUT it generates the perfect non-jump code. And without it, it generates the (annoying, but inevitable) actual conditionals. Linus