Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5180790pxj; Wed, 9 Jun 2021 11:01:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwd72BTl0B3NQSWK93F1ZrVKJEFsU1Mwtvr7W3cHvl3kkWB2NZoyZxI+QsdQmIdI61z1xS2 X-Received: by 2002:a17:906:240b:: with SMTP id z11mr953495eja.545.1623261673436; Wed, 09 Jun 2021 11:01:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623261673; cv=none; d=google.com; s=arc-20160816; b=KCtMJ0yQxVwww9677WI8TW5KB07uZ4aFGnUFzNdFdpO7h1h5uOjcJkI+rw8QEVxsXG Bx9Ac+O49OWc+mKS/vy2nbB+vFCHXmnsYVsONC04/LCeULZjqWlXoY2Nosi2ap5cS7zC ZmoJEbagR+gRY7Nkse/j9FDjOU/sq8s76B9bd57tZE1yr8SgrwbxnDkxk0PvKx8RMk44 6QXck6PbMdvZVi4X4y/ya/Wtk+UEEDnxQiaVoMdxAeUsjMy/rzMTAMmpZ55DtnqINgl6 8NOHhGjoYRXTDI03tdt0S6cOar7dD9pRxw1KS8PrXQRcjgR2e5WXFEcN42CF4RJ31amR eMzg== 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=o/kyvcpjlRGPMvTdqJ9HOqZDedGFgnLgJbX4oTJFC6k=; b=jIKAdjSYqPgw07P+T3Ze9qzs8AJIYoV90Lj7QNARLyIyClVyed0RNGUmLRoa1xBtss zFzhEOwuS1QWXAV49kG0EHHqwTJXzNDxOUYlxjrFgtOlyFy/sAuyctY/AEtrNYCoHCva q7V+iNXduQv5WBxr3IYvK9MF1jsmkG1XrLghlKiC4njxWxP+xVlIA8YsydNBILBacJLS K5yyQ1lBze6WbQKH56/w1Jx/zI+AzicnzQZBQQVrbVHUmChEjwoO1XShvP4s+IDXBGBs gucgoNkmKBAk4EjB7Rgd8pA9ksTFoTDsKs2ZWHObjPZQ82vWAVl3gnrelAWqoLpBRLOI VBJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=h4emPA3L; 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 j23si434107eje.21.2021.06.09.11.00.19; Wed, 09 Jun 2021 11:01:13 -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=@infradead.org header.s=casper.20170209 header.b=h4emPA3L; 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 S231643AbhFIPOR (ORCPT + 99 others); Wed, 9 Jun 2021 11:14:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230306AbhFIPOR (ORCPT ); Wed, 9 Jun 2021 11:14:17 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56C4BC061574 for ; Wed, 9 Jun 2021 08:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=o/kyvcpjlRGPMvTdqJ9HOqZDedGFgnLgJbX4oTJFC6k=; b=h4emPA3L4SuwKiirWL/7+FXzXB 62eps+bhf+TaI4+huqW8njMdjuGTH7Y31q8Y70aKMy4t2hbX7yXwC1j3gSGm7EBpvaOev8F/Y0B4K 0SYbZXjORPabDCfUoryAYjfIJngqi1yM0ZoWzl401B6BV76hJNQZLYYx3CwMY2nqHDECg7SWFNgOK ghTgnLtIBcNzgIb7enLtHyfVzE4v6POxdOs5jlM8JNEaTUbat9PmvtpWuvDfBKEVWHqDApZcPWsYX xdMFqnXJFho43VwM2+SO7mtlutJAQUMPt3Ao+uFHS9Uc+1G/0phvDAnBQ/s5jc1sPtqaYGH+PT0o0 cymu4wfw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lqzrb-000d8l-8i; Wed, 09 Jun 2021 15:11:39 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 2E4CA9867D0; Wed, 9 Jun 2021 17:11:26 +0200 (CEST) Date: Wed, 9 Jun 2021 17:11:26 +0200 From: Peter Zijlstra To: Lukasz Majczak Cc: Nathan Chancellor , Nick Desaulniers , =?utf-8?B?RsSBbmctcnXDrCBTw7JuZw==?= , Josh Poimboeuf , Guenter Roeck , Juergen Gross , =?utf-8?Q?=C5=81ukasz?= Bartosik , LKML , mbenes@suse.com, =?utf-8?B?UmFkb3PFgmF3?= Biernacki , upstream@semihalf.com, "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , clang-built-linux , Sami Tolvanen Subject: Re: [PATCH v3 16/16] objtool,x86: Rewrite retpoline thunk calls Message-ID: <20210609151126.GD68237@worktop.programming.kicks-ass.net> References: <5dd58dce-c3a7-39e5-8959-b858de95b72c@kernel.org> <20210609150804.GF68208@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210609150804.GF68208@worktop.programming.kicks-ass.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 09, 2021 at 05:08:05PM +0200, Peter Zijlstra wrote: > I wonder if the compiler will also generate conditional tail calls, and > what that does with static_call... now I have to check all that. OK.. static call patching infra will give us a nice WARN before it dies.