Content-Type: multipart/mixed; boundary="===============4624449552851019048==" MIME-Version: 1.0 From: Steven Rostedt 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 10:14:21 -0400 Message-ID: <20220406101421.3f67cf46@gandalf.local.home> In-Reply-To: <20220406053251.6dyfxrjmmgdwocfc@treble> List-Id: --===============4624449552851019048== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue, 5 Apr 2022 22:32:51 -0700 Josh Poimboeuf wrote: > > See the comment in the header file you are patching: > > = > > * This is intended as a debugging tool for the developer only. > > * Please refrain from leaving trace_printks scattered around in > > * your code. (Extra memory is used for special buffers that are > > * allocated when trace_printk() is used.) = > = > So what do we do ... send a nastygram? = We already do. When anything with a trace_printk() is loaded, the dmesg will display: ********************************************************** ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** ** ** ** trace_printk() being used. Allocating extra memory. ** ** ** ** This means that this is a DEBUG kernel and it is ** ** unsafe for production use. ** ** ** ** If you see this message and you are not debugging ** ** the kernel, report this immediately to your vendor! ** ** ** ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** ********************************************************** :-) -- Steve --===============4624449552851019048==--