From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72861CA9EB5 for ; Mon, 4 Nov 2019 13:25:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3EE0321D7D for ; Mon, 4 Nov 2019 13:25:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZqTZR40U" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3EE0321D7D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XZTsuvfCukNhVH7VL7nklozFLvS+9eOPbVGGMW0xBbo=; b=ZqTZR40UZIjhqM KOhhPOfW6fPtTBsb7bUCMzI3XRpSf4nCvr0HEnE9i3zjqfKkR9hB5X6AM1qAQJb7N6P/oXFiRikI4 KAv2MCmMlZuXUnzAOxJJ6S0JcRyVc/LIY8TZ9U+yMMofiUL5X1DN5WaU6VAAFjuKvBHaMTJtEZin1 Nby+iQJ7WcHOGultnNDEPZerC16EiIDr4Pz3yMlZoy1rTaEt0X57k6Gyqr5B5Q9W2NY00eaMyVcD4 UEtLBFhOL125bdV8pQA32GjhUuMQr+3VHseuBP0FpPU0ALabKLZozjSzOsghV4XtV4b2F5BQXrH7P R67cQwy8t3UvvCuDr1sA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iRcMg-00046y-FZ; Mon, 04 Nov 2019 13:25:50 +0000 Received: from smtprelay0011.hostedemail.com ([216.40.44.11] helo=smtprelay.hostedemail.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iRcMc-00044o-VS for linux-arm-kernel@lists.infradead.org; Mon, 04 Nov 2019 13:25:48 +0000 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 8F764100E7B4D; Mon, 4 Nov 2019 13:25:45 +0000 (UTC) X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-HE-Tag: crush17_8910377eab214 X-Filterd-Recvd-Size: 2742 Received: from grimm.local.home (unknown [146.247.46.6]) (Authenticated sender: rostedt@goodmis.org) by omf10.hostedemail.com (Postfix) with ESMTPA; Mon, 4 Nov 2019 13:25:41 +0000 (UTC) Date: Mon, 4 Nov 2019 08:25:38 -0500 From: Steven Rostedt To: Mark Rutland Subject: Re: [PATCHv2 2/8] module/ftrace: handle patchable-function-entry Message-ID: <20191104082538.292b501a@grimm.local.home> In-Reply-To: <20191029165832.33606-3-mark.rutland@arm.com> References: <20191029165832.33606-1-mark.rutland@arm.com> <20191029165832.33606-3-mark.rutland@arm.com> X-Mailer: Claws Mail 3.17.4git49 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191104_052547_081838_B32EBD47 X-CRM114-Status: GOOD ( 12.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jthierry@redhat.com, linux-parisc@vger.kernel.org, peterz@infradead.org, catalin.marinas@arm.com, Helge Deller , jpoimboe@redhat.com, linux-kernel@vger.kernel.org, "James E.J. Bottomley" , takahiro.akashi@linaro.org, will@kernel.org, mingo@redhat.com, james.morse@arm.com, Jessica Yu , amit.kachhap@arm.com, svens@stackframe.org, duwe@suse.de, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 29 Oct 2019 16:58:26 +0000 Mark Rutland wrote: > When using patchable-function-entry, the compiler will record the > callsites into a section named "__patchable_function_entries" rather > than "__mcount_loc". Let's abstract this difference behind a new > FTRACE_CALLSITE_SECTION, so that architectures don't have to handle this > explicitly (e.g. with custom module linker scripts). > > As parisc currently handles this explicitly, it is fixed up accordingly, > with its custom linker script removed. Since FTRACE_CALLSITE_SECTION is > only defined when DYNAMIC_FTRACE is selected, the parisc module loading > code is updated to only use the definition in that case. When > DYNAMIC_FTRACE is not selected, modules shouldn't have this section, so > this removes some redundant work in that case. > > I built parisc generic-{32,64}bit_defconfig with DYNAMIC_FTRACE enabled, > and verified that the section made it into the .ko files for modules. > > Signed-off-by: Mark Rutland > Reviewed-by: Ard Biesheuvel > Cc: Helge Deller > Cc: Ingo Molnar > Cc: James E.J. Bottomley > Cc: Jessica Yu > Cc: Steven Rostedt > Cc: Sven Schnelle > Cc: linux-parisc@vger.kernel.org > Acked-by: Steven Rostedt (VMware) -- Steve _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel