Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1029291pxb; Fri, 15 Apr 2022 18:54:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxhcm+rTDk+k0onJzpeFB4BKd2DBfNXJHjEgAhMQN1HFRhX4kLBGJcMKHcDOhSZUnnbz4s X-Received: by 2002:a17:902:c403:b0:158:5831:4e0e with SMTP id k3-20020a170902c40300b0015858314e0emr1662819plk.134.1650074077635; Fri, 15 Apr 2022 18:54:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650074077; cv=none; d=google.com; s=arc-20160816; b=VfVgzkpQ6dSg30IEsdRHTnXQ03K9sIARhfAdqJOvexoCxdsxl3Ptyscy18GIP9rGfm G0Z3H6AJp9dDzXpsYQFlqfx9k7BmQNTiNbfUqtK/eKj6OA6MobG2qy1YNUUo5GU0CAt0 sTlCeTjCLbUBzZrctpZ3fNejrESfXkoxLJGb55Comyg1RZjRe2XoBUimW1IbUIOVOQIW 2osLuV8R0NYp+G0sqTwL0OKk4aMpwzRuOFs8adf4xugmS/dio58OpiX/v2juBsWji5+k aYUByMPZhkaFvMNU52HAadjLpbOq3BfCJ65pxek/syQpO2uX36noWQ2vps8wxAcOg7Kx AhcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HWXZ58+8O5O/ylVY7YzomUsMCZdShld5WOXMeuFvBMY=; b=n0L1hm2nP5r6sfPcU1xJeEqUDe3OMEBQdFt2taZCNGcpJy6AdbnBwjsM9rie1gOmVq Ezjif3+uS1mNWmTLCUfMHMAEZUHD6K1bCHUwv+/1pWRHigF24USENyHEpy/DHpQXdwFX 6h5Akvq+YkeDH1sjHvilPz2/ovUiUOIPeA6R0zBf+lzr1vsJXra0vcw+aw6in2JD0PKk kPitDtBlUt3lPz5qee4TjELV7S2Ap+lfUD+CKQWeFW8Xr6QfrgbOzqTd3YuRv8sFsdSJ xk47hOl1deCVr28eu6mDmzdKYLC/UcrO98bTWs/gifxCLqQ21ZHKSYbTS3q0pkrrqTw8 1CAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=JsF+Z5H2; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id cm18-20020a056a00339200b0050a4eddd8acsi914179pfb.68.2022.04.15.18.54.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 18:54:37 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=JsF+Z5H2; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A154B198ED0; Fri, 15 Apr 2022 18:15:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240541AbiDNRD2 (ORCPT + 99 others); Thu, 14 Apr 2022 13:03:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244732AbiDNRCp (ORCPT ); Thu, 14 Apr 2022 13:02:45 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C439225 for ; Thu, 14 Apr 2022 09:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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; bh=HWXZ58+8O5O/ylVY7YzomUsMCZdShld5WOXMeuFvBMY=; b=JsF+Z5H2Ap4dxkmRnE+gG3ospE 4Jv3VCbCOeEHoCJIKVula935XbldnDG7QH2idSuV+8wr9oJoPFre6m19PdajrRcXrLrDDQmc3WD7k WpRkOAuYygBkACYqCzE25tu5aZT+M9es3WejLp0um6LCKKfSPnCfRR7gsXq/wHpgw8xY7WeSVD+RN 2z6qSMpMGE+QEDat4v3TobGl/WGi98uNuE9azuMeOLVt5wdG94OcT1ku9Inbf1jqvynww6R7nzDla lFUgfFlRPI4MuwtJ0iQcdD7qc6OnnpZ7ZTmLoCXweNxtvUNlq1CMx+C7eMQscEg1VSv4xWoga/U3H EQJuW1Jw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nf2U4-00547R-PK; Thu, 14 Apr 2022 16:38:17 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 6B01B30031E; Thu, 14 Apr 2022 18:38:16 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 57D713232154A; Thu, 14 Apr 2022 18:38:16 +0200 (CEST) Date: Thu, 14 Apr 2022 18:38:16 +0200 From: Peter Zijlstra To: Josh Poimboeuf Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Miroslav Benes Subject: Re: [PATCH 10/18] objtool: Extricate ibt from stack validation Message-ID: References: <44a73f724b51c4a994edc43536b7a7ee5e972b40.1649891421.git.jpoimboe@redhat.com> <20220414154449.5moa7xsczwybbqhd@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220414154449.5moa7xsczwybbqhd@treble> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 14, 2022 at 08:44:49AM -0700, Josh Poimboeuf wrote: > Ok. That was subtle, it needs a comment or two. I had the distinct > feeling I was introducing a bug, then I got distracted ;-) Right, lemme try and not forget to write one ;-) > Doesn't the compiler give those special cases ENDBR anyway? Just > wondering why we avoid the warning for those. Sure, but this is about not scribbling that ENDBR with a NOP.