Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1121422rwe; Thu, 1 Sep 2022 12:55:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR5andCol4ykpmojx2tOFhpEDfn+pfQRSJg5UL9rcnVuDYrMvTLrp59MyRFgRabMrnC3qSjp X-Received: by 2002:a17:902:f606:b0:172:6522:4bfc with SMTP id n6-20020a170902f60600b0017265224bfcmr31583243plg.133.1662062135567; Thu, 01 Sep 2022 12:55:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662062135; cv=none; d=google.com; s=arc-20160816; b=zKNZP+FX4ZmmsuEAGIB9O36FU2BIrwa6T0KxzqQjTtINYObZWzMg2diCDBA9PMfQA5 Aqei0Jrc7HBConHwOKCY3DOidsXq3/94eRMX2gKGzeXcxiJQjU4VKAD48WiiQo0sceo/ NxYCQOZHjHTTMOQDiqo12nSDMmVDFh7lfzU3saEM3ifhdROwZJWWj9kZY7h5BFoe//vm XsDV51fraWwDdI1PuWFJ2Z5vrw+z14vAMuHKnWffgd5k9ieFjsL83NZD9AE0t5FG8dI3 whvXx1Pr3v62CWPKs4GWNB646vZJUxUN5LF1j/3ZgSj6cOZMY6JAWwWcxkj7arrvWsnt NJwg== 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=bOMIr6g0AdsIjeMY/p/MhqGzXLprGWVwMTwh9NVS/a8=; b=bQAZdyoZNZl7py1KknlBZrqIDhTeyGP/6IxvdSxmrRr/GfmYs7A1fxNxiO2NLTENs4 DwPubsmSA3JC9+wzszBUxgJOC3BfuOYy8gu8FVgOZY3PwU0ZWIjUAfu0zBoUCYh3kVNb aEMhHXqe7dZHojSbX+A8mflYJuF/91XZOJfq4znt0imerlz8jG1/fTcsbuOKm1clB24m DV75mcu8yR1RCqar15GuDzixRaz0adhzeyT4PDMRxRj+Z0f01JKwU5iGS2k4D64oPCKo znimohd6Di+mM+Ng4jKlpmZpcs7Ox5K/Xv5/BS2iJASl4NZWvkM5XwvFc7GMCcGIhWoC xefw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=TfFSurf2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f3-20020a17090aa78300b001fdb4973e60si5042193pjq.21.2022.09.01.12.55.23; Thu, 01 Sep 2022 12:55:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=TfFSurf2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234138AbiIAT0T (ORCPT + 99 others); Thu, 1 Sep 2022 15:26:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233329AbiIAT0P (ORCPT ); Thu, 1 Sep 2022 15:26:15 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F07F428716 for ; Thu, 1 Sep 2022 12:25:56 -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=bOMIr6g0AdsIjeMY/p/MhqGzXLprGWVwMTwh9NVS/a8=; b=TfFSurf2JxBz34xirgQRXpYcaI f6AWqYBFavVSO43blQn6NSrHVRe0qWCAI1vVAiv3sOK/woi0N/gxsPJFEPFQ1Zwzp5tzX6Ld1ONHW Djt3YDYZzFDPlMRNK+oS1z0ra2bhPmFGxrQYRAt9icAZQk56sjO75Zr3WMyNl1F3qE4vfx5n0Xf/M hBzaUVJS2JCmXXcbiPgP8oNkriP9Q4E686vRiNtMg786UFZAtxF/m8PYeh5t+OEgii0q3Ln4SL+BN vUUISkTuqm6b+cTOCUuOs14/3Y4vSCG6+HzSHiozpOSOkes1Mficfj7hHPZLne6nJ7ecJ1u1mKxWv 5atPp+8g==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTpor-006Iaw-6k; Thu, 01 Sep 2022 19:25:41 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 9931F300230; Thu, 1 Sep 2022 21:25:39 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 819872B8D5A28; Thu, 1 Sep 2022 21:25:39 +0200 (CEST) Date: Thu, 1 Sep 2022 21:25:39 +0200 From: Peter Zijlstra To: Sathvika Vasireddy Cc: linuxppc-dev@lists.ozlabs.org, jpoimboe@redhat.com, linux-kernel@vger.kernel.org, aik@ozlabs.ru, mpe@ellerman.id.au, mingo@redhat.com, christophe.leroy@csgroup.eu, rostedt@goodmis.org, mbenes@suse.cz, npiggin@gmail.com, chenzhongjin@huawei.com, naveen.n.rao@linux.vnet.ibm.com Subject: Re: [PATCH v2 11/16] objtool: Add --mnop as an option to --mcount Message-ID: References: <20220829055223.24767-1-sv@linux.ibm.com> <20220829055223.24767-12-sv@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220829055223.24767-12-sv@linux.ibm.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Mon, Aug 29, 2022 at 11:22:18AM +0530, Sathvika Vasireddy wrote: > Architectures can select HAVE_NOP_MCOUNT if they choose > to nop out mcount call sites. If that config option is > selected, then --mnop is passed as an option to objtool, > along with --mcount. > > Also, make sure that --mnop can be passed as an option > to objtool only when --mcount is passed. > > Signed-off-by: Sathvika Vasireddy IIRC you want to nop the things yourself because PLT entries or something? Anyway, patch looks fine, even though the Changelog doesn't relaly justify the change. Acked-by: Peter Zijlstra (Intel)