From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 16 Nov 2009 14:48:44 +0100 (CET) Received: from localhost.localdomain ([127.0.0.1]:35265 "EHLO h5.dl5rb.org.uk" rhost-flags-OK-OK-OK-FAIL) by ftp.linux-mips.org with ESMTP id S1493383AbZKPNsk (ORCPT ); Mon, 16 Nov 2009 14:48:40 +0100 Received: from h5.dl5rb.org.uk (localhost.localdomain [127.0.0.1]) by h5.dl5rb.org.uk (8.14.3/8.14.3) with ESMTP id nAGDmd3V012289; Mon, 16 Nov 2009 14:48:39 +0100 Received: (from ralf@localhost) by h5.dl5rb.org.uk (8.14.3/8.14.3/Submit) id nAGDmVXR012286; Mon, 16 Nov 2009 14:48:31 +0100 Date: Mon, 16 Nov 2009 14:48:31 +0100 From: Ralf Baechle To: Wu Zhangjin Cc: rostedt@goodmis.org, Frederic Weisbecker , Ingo Molnar , Nicholas Mc Guire , David Daney , Richard Sandiford , Patrik Kluba , Thomas Gleixner , Michal Simek , "Maciej W . Rozycki" , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, zhangfx@lemote.com, zhouqg@gmail.com Subject: Re: [PATCH v8 00/16] ftrace for MIPS Message-ID: <20091116134831.GA10189@linux-mips.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 24909 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk X-list: linux-mips On Sat, Nov 14, 2009 at 02:30:31PM +0800, Wu Zhangjin wrote: Time to talk about how to get the whole thing merged. I'm reasonably happy with the arch part of the patchset. There are two remaining issues in the arch part - cache flushing will not work as is on a SMP system and the whole code patching is going to fail if the kernel text is replicated with CONFIG_REPLICATE_KTEXT which is an IP27-only option. I suggest we should go ahready and just disallow dynamic ftrace on on these problematic configurations for now and deal with them later, so something like select HAVE_DYNAMIC_FTRACE if !SMP && !REPLICATE_KTEXT This leaves the non-arch bits to merge; patches which touch code outside of arch/mips are: [PATCH v8 01/16] tracing: convert trace_clock_local() as weak function [PATCH v8 06/16] tracing: add an endian argument to [PATCH v8 07/16] tracing: add dynamic function tracer support for MIPS [PATCH v8 09/16] tracing: define a new __time_notrace annotation flag [PATCH v8 10/16] tracing: not trace the timecounter_read* in Ralf