Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp969500pxb; Thu, 9 Sep 2021 16:42:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwstO1TdV5x9cxjoN8jbuqoa38kT53qzZFE1PkRjMi1Pm2Fsvek2RQ5AqiMn7ohbcLndEK1 X-Received: by 2002:a05:6638:c4d:: with SMTP id g13mr2003498jal.43.1631230952049; Thu, 09 Sep 2021 16:42:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631230952; cv=none; d=google.com; s=arc-20160816; b=qp89IFzUL2xHZlAkSEHf1aQWdauF0lnez6HXlKtiT5hsjELbh5BC9plri02B/ffOc2 n6shxNimLTApkE92rifgMuG1rCsGsRU5vHrTEbpTQhJHc43uxbvDf5b/KRZhK5HmqT+A ovPVbk1YemBbvfitplgCG2WdJAI+KFffDgfkzJkUbm3xq/4iduwPPHX/d+vTUGaLkU+E O8UjLWv9DOYxwgABPJAPkUzUg6uAv0fzxkVITjz87ZGIN5aerwbxVahQbV1hXwr3l/NB LgNZOsWNjLLbJFxtazWhUdGt+ORFcB96/rPP3sSVEvSWGsqZ/WGu/HcvR7yT7yJl/Psh E9iA== 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=c5u6OE/de2/7EQas9CwzuPfa89N6a824dYQOPQIUGTI=; b=ewE2uDQbnbbLwRX4u2IWhKTvxlkSHmG1cT+anw/9j57diCbzdqhKgs0Jitb2KCU0sK 7E+qoAL86T215CEYlopx64ffdZNj5LHbDu0ccHMVjfLhRxdmYkdXW6kM9ezTB+yGuyrl wmcYFyefYnl7BmitjH7YD4r8FHXcU+mWCN0zbq2HM8bx2rbcbtGaGqqtrph3EsruAfhS AxCgalhbUtn5ZR0DS2/LJEGtxcSDpCveDECUhwXjcmkHHcFNpEilNLB8WjVIpsxThptt DAm2JCu1jlbTaDWe55MQ0z2DmgJ74gpOa1xH6H47+A/NQptzdQJJq1IXx/G60AoLtK8e IwZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b8si3471893ios.12.2021.09.09.16.42.20; Thu, 09 Sep 2021 16:42:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230145AbhIIXkY (ORCPT + 99 others); Thu, 9 Sep 2021 19:40:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:54360 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232591AbhIIXiK (ORCPT ); Thu, 9 Sep 2021 19:38:10 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2AF536108D; Thu, 9 Sep 2021 23:36:57 +0000 (UTC) Date: Thu, 9 Sep 2021 19:36:55 -0400 From: Steven Rostedt To: Weizhao Ouyang Cc: Ingo Molnar , Russell King , Catalin Marinas , Will Deacon , Guo Ren , Michal Simek , Thomas Bogendoerfer , Nick Hu , Greentime Hu , Vincent Chen , "James E.J. Bottomley" , Helge Deller , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Yoshinori Sato , Rich Felker , "David S. Miller" , Thomas Gleixner , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-csky@vger.kernel.org, linux-ia64@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org Subject: Re: [PATCH v4] ftrace: Cleanup ftrace_dyn_arch_init() Message-ID: <20210909193655.7bc715af@gandalf.local.home> In-Reply-To: <20210909090216.1955240-1-o451686892@gmail.com> References: <20210909090216.1955240-1-o451686892@gmail.com> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 9 Sep 2021 17:02:16 +0800 Weizhao Ouyang wrote: > Most of ARCHs use empty ftrace_dyn_arch_init(), introduce a weak common > ftrace_dyn_arch_init() to cleanup them. FYI, I'm not ignoring this patch. I just wont be able to look at it until the merge window is over. -- Steve > > Signed-off-by: Weizhao Ouyang > Acked-by: Heiko Carstens (s390) > Acked-by: Helge Deller (parisc) > > --- > Changes in v4: > -- revert the generic declaration > > Changes in v3: > -- fix unrecognized opcode on PowerPC > > Changes in v2: > -- correct CONFIG_DYNAMIC_FTRACE on PowerPC > -- add Acked-by tag > > --- > arch/arm/kernel/ftrace.c | 5 ----- > arch/arm64/kernel/ftrace.c | 5 ----- > arch/csky/kernel/ftrace.c | 5 ----- > arch/ia64/kernel/ftrace.c | 6 ------ > arch/microblaze/kernel/ftrace.c | 5 ----- > arch/nds32/kernel/ftrace.c | 5 ----- > arch/parisc/kernel/ftrace.c | 5 ----- > arch/riscv/kernel/ftrace.c | 5 ----- > arch/s390/kernel/ftrace.c | 5 ----- > arch/sh/kernel/ftrace.c | 5 ----- > arch/sparc/kernel/ftrace.c | 5 ----- > arch/x86/kernel/ftrace.c | 5 ----- > kernel/trace/ftrace.c | 5 +++++ > 13 files changed, 5 insertions(+), 61 deletions(-) > >