From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C43C4C48BCD for ; Wed, 9 Jun 2021 15:12:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A4936613B6 for ; Wed, 9 Jun 2021 15:12:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232565AbhFIPOS (ORCPT ); Wed, 9 Jun 2021 11:14:18 -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.