From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail7.hitachi.co.jp (mail7.hitachi.co.jp [133.145.228.42]) by lists.ozlabs.org (Postfix) with ESMTP id 8C19C1A0010 for ; Wed, 2 Jul 2014 16:39:34 +1000 (EST) Message-ID: <53B3A91D.2040107@hitachi.com> Date: Wed, 02 Jul 2014 15:39:25 +0900 From: Masami Hiramatsu MIME-Version: 1.0 To: Michael Ellerman Subject: Re: Re: Re: [PATCH v4] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64 References: <20140620022307.23075.55858.stgit@kbuild-fedora.novalocal> <53B0D61B.9010104@hitachi.com> <1404128176.7888.1.camel@concordia> <53B21B0E.8010707@hitachi.com> <1404276081.7254.1.camel@concordia> In-Reply-To: <1404276081.7254.1.camel@concordia> Content-Type: text/plain; charset=UTF-8 Cc: Jeremy Fitzhardinge , linux-ia64@vger.kernel.org, sparse@chrisli.org, Linux Kernel Mailing List , Paul Mackerras , "H. Peter Anvin" , akataria@vmware.com, linux-tip-commits@vger.kernel.org, anil.s.keshavamurthy@intel.com, Ingo Molnar , "Suzuki K. Poulose" , Fenghua Yu , Arnd Bergmann , Rusty Russell , Chris Wright , yrl.pp-manager.tt@hitachi.com, Thomas Gleixner , Tony Luck , Kevin Hao , Linus Torvalds , rdunlap@infradead.org, Tony Luck , dl9pf@gmx.de, Andrew Morton , linuxppc-dev@lists.ozlabs.org, "David S. Miller" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , (2014/07/02 13:41), Michael Ellerman wrote: > On Tue, 2014-07-01 at 11:21 +0900, Masami Hiramatsu wrote: >> (2014/06/30 20:36), Michael Ellerman wrote: >>> On Mon, 2014-06-30 at 12:14 +0900, Masami Hiramatsu wrote: >>>> Ping? :) >>> >>> Yeah sorry. I started looking at this and got dragged into another mess. >>> >>> You seem to have duplicated the functionality of arch_deref_entry_point(), >>> which was also added for kprobes, and for the same reason - ie. because some >>> arches have strange function pointers. Is there some reason you can't use it? >> >> Ah, right! Hmm, it seems some more work to update it. but basically, we can do. >> BTW, is there any other users who need to access the actual function entry (for >> kallsyms case)? > > Not that I'm aware of. We have had function descriptors on 64-bit powerpc for > ever, so in theory by now we should have already found any cases where we need > that sort of wrapper. OK, then I'll update this patch to use arch_deref_entry_point(), and add additional patch which update to support PPC64 ABIv2. Thank you! -- Masami HIRAMATSU Software Platform Research Dept. Linux Technology Research Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: masami.hiramatsu.pt@hitachi.com