Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1037966pxb; Wed, 6 Apr 2022 07:16:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3q2tx8HyOEKJxTc5Me9q0zCH55PuI2AFRagykEaWhV0eBv+nB6C9XDi2s8uqQ5qLF8hVL X-Received: by 2002:a05:6638:d16:b0:323:63cd:c144 with SMTP id q22-20020a0566380d1600b0032363cdc144mr4817738jaj.76.1649254570405; Wed, 06 Apr 2022 07:16:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649254570; cv=none; d=google.com; s=arc-20160816; b=M4zVHVCNf4xj/vDkbcliguSSySIM1CEe5j5ccFFVPuLkRqqvIHri5CA1bYGJO1Cy4M B+C8e2wWJ/bUqno6zha36YmmiQXR1EwkQdnq5flmdts44NT/kZeL7PzYzhmVk04c7Dfu MEWXNDvwQpKMG7m/jnLK4aJ3vGW2yY3NP3mXllv8FchYAJDM/wkoLXR+Fov8o1Ghikmi SH1PvjbdFeHeo7NaRKb/qQWZ+qdD7FzbOa/3HSRHbETytbI9zIHceotbmaZoaC4hh9y7 0TBvtxpP8hZe9+K9K3KuNvSoPZevIxdnmlsJR+G0sLBu09lzhNcnNJE6FlUvC6kvnt56 iy2g== 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=gjSzDmZ8ZEg6oAu+s89H1vKfdedj6enk18MsmjGy26Q=; b=SHBCpUcOzPuvGuV6obyeMy3Ct3G3OytArPfdT4xvgM7yMY/0ol0oEiJLPCK4XfStJ+ f/0EzGH9zlAbqFaqtR4SEG+LQrafnsv4r470jcqDrCLgXGqBhcXHsHdFHfT2VsKN8DFr /w3uiDnXa9H+d/Ipd80kGN9y6KcgXrx8qHBwXDeUk/ZigW6N+OYgBfXVUTCBSY4rLull tksneh5fc2RLxNuOvl9EmuvBBMKXHHsiMwfeSWjGbHsJCoDq6h+9Rt9fYP/dnhUBoyEs 9uq938cV68K9+LSgxGI1IewtNBj2z6FZ6bQyOXtGC23w6gs733dKs6OsmgN5j1nPyLO3 3zyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b="agYQaaN/"; 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 h10-20020a5d9e0a000000b006495808453asi8177683ioh.87.2022.04.06.07.16.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 07:16:10 -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="agYQaaN/"; 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 out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 816C03A5123; Wed, 6 Apr 2022 05:02:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232036AbiDFLWP (ORCPT + 99 others); Wed, 6 Apr 2022 07:22:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232960AbiDFLVa (ORCPT ); Wed, 6 Apr 2022 07:21:30 -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 A15391F9776 for ; Wed, 6 Apr 2022 00:43:51 -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=gjSzDmZ8ZEg6oAu+s89H1vKfdedj6enk18MsmjGy26Q=; b=agYQaaN/zk2oC1MVsKr1tZ2MAM AseKQ0ZZhsNn8lAM3BekArNNGu2ygdCGP4GIljuR9lGgCIjjCNsei4BVw7EWUZ9INnXF7xnq1cdBq o0RVBKJU3YljkJc6VTeSLNpegbHCB3kpkXlxQOspr5BkynUDjo50kwb9KmgNsGkmd/lZO0oMbrezO UW+K3FMNOTKbJ+ViRXHjkh+PRaxd9ICOlepteYeNxPCpYih3yPIPDdyxBocnCYjGAtnY95Wx1AxNc 7d/r6SJxL6JRVRB7CEJH8EAbvEVspBxl3Iu/plH+hP+duLbiSWeer1+HhyrfOhK0fyhPAtCXUN9gh p5B+01zQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nc0KB-0026ZM-Gg; Wed, 06 Apr 2022 07:43:32 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 0DFD79861A5; Wed, 6 Apr 2022 09:43:31 +0200 (CEST) Date: Wed, 6 Apr 2022 09:43:30 +0200 From: Peter Zijlstra To: Josh Poimboeuf Cc: Thomas Gleixner , kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, mbenes@suse.cz, x86@kernel.org, Steven Rostedt Subject: Re: drivers/gpu/drm/i915/i915.prelink.o: warning: objtool: __intel_wait_for_register_fw.cold()+0xce: relocation to !ENDBR: vlv_allow_gt_wake.cold+0x0 Message-ID: <20220406074330.GD34954@worktop.programming.kicks-ass.net> References: <202204041241.Hw855BWm-lkp@intel.com> <20220406000500.5hlaqy5zrdqsg5mg@treble> <87czhv11k1.ffs@tglx> <20220406053251.6dyfxrjmmgdwocfc@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220406053251.6dyfxrjmmgdwocfc@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 Tue, Apr 05, 2022 at 10:32:51PM -0700, Josh Poimboeuf wrote: > More broadly, this issue could theoretically happen in some other places > throughout the kernel tree, since _THIS_IP_ is fundamentally unreliable > as currently written. > > So we could look at making _THIS_IP_ more predictable. > > Inline asm would work better ("lea 0(%rip), %[rip]"), but then you need > an arch-dependent implementation... Well, there's a ton of _THIS_IP_ instances all around, and it would be unfortunate to have them grow into actual code :/