Content-Type: multipart/mixed; boundary="===============3922418258624034825==" MIME-Version: 1.0 From: Peter Zijlstra To: kbuild-all@lists.01.org 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 Date: Wed, 06 Apr 2022 09:43:30 +0200 Message-ID: <20220406074330.GD34954@worktop.programming.kicks-ass.net> In-Reply-To: <20220406053251.6dyfxrjmmgdwocfc@treble> List-Id: --===============3922418258624034825== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 :/ --===============3922418258624034825==--