Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1158632pxb; Wed, 6 Apr 2022 10:06:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyEmH2FPCkpjLCNTRr7Ygpr7vEzPa4Ae25p5+WHXjm6vRchIArGm7D6fnjCiXsevvOoaVE X-Received: by 2002:a17:90a:39c3:b0:1ca:88b9:eb4a with SMTP id k3-20020a17090a39c300b001ca88b9eb4amr11150260pjf.96.1649264761196; Wed, 06 Apr 2022 10:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649264761; cv=none; d=google.com; s=arc-20160816; b=eJTaI+SSEBlCHJVEZ89gURDJ41uxW5axL1L/lQVDUTs/3ZVCGnas1F/IsVESqcO5Iu RLRopEIMEAYzLT5EOEM/q+k167gbO4RXBJNufV3fzDnt1OM7qddqEyNaGWR+5JdB6Kxt 75nHibW1g1rrb2l81geMhUphhFcCBQaLO8gC4DjN5FIBh1c9KBEXvOAOVkuHMuYtTNwt hC2r8lssvDrFATS4bDEP+4MCBQLQvgxtBinj86VtWSqEWVdIHnarwxkquj7rd9xB+rlm jCsQy0y0UYNGh0A37rp7IX3CBKa6Q2R/XzMLfA/gFW72LapE3SMwajx1F5fGB4RLZjyB FvUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=zCxwQfqAGZX1zSZawFwhx3x9AzwuPIjQEkqEZRE7JLU=; b=bJ/7BstQWWS0/inAfMQmib8IZL3vN7YPmiQwbd+7Vh7w0kL2VJ8fwRyz9SKsEQ7qOv Y6QMXQL7T2YhyXjw1RlFlI/c3Kg1QoIPae/F8Pnz+dGDlVYmpCiFNsR4+Udi8Pcz6Qmp Qb+7zPlYvnqlTT7/WoMuxp0nNFcLkJg81TZ6f4ht+X3hIpR7ybbW+XIfEdoek9CpOZnR 2gUOu2I2QWZTSALUB9u9RWf+Z3Kg2MZHgZr7cJNCKfTZUPLZZewQvDKDmVbcTuW75k0C AEqzcG6Q2EWKC5D7lSEKVR3h9GpBg0467MJYAnYEnJJzvmScjk5ihpNruyjWGd3B0ueJ qhRA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a2-20020a634d02000000b003992df07a71si8974453pgb.662.2022.04.06.10.06.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 10:06:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 30879220EC; Wed, 6 Apr 2022 09:49:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238282AbiDFQvR (ORCPT + 99 others); Wed, 6 Apr 2022 12:51:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238222AbiDFQvJ (ORCPT ); Wed, 6 Apr 2022 12:51:09 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A0841F3A5E for ; Wed, 6 Apr 2022 07:14:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D4291B82150 for ; Wed, 6 Apr 2022 14:14:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AB58C385A1; Wed, 6 Apr 2022 14:14:23 +0000 (UTC) Date: Wed, 6 Apr 2022 10:14:21 -0400 From: Steven Rostedt To: Josh Poimboeuf Cc: Thomas Gleixner , Peter Zijlstra , kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, mbenes@suse.cz, x86@kernel.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 Message-ID: <20220406101421.3f67cf46@gandalf.local.home> In-Reply-To: <20220406053251.6dyfxrjmmgdwocfc@treble> References: <202204041241.Hw855BWm-lkp@intel.com> <20220406000500.5hlaqy5zrdqsg5mg@treble> <87czhv11k1.ffs@tglx> <20220406053251.6dyfxrjmmgdwocfc@treble> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, 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, 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