Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755928AbaGOCZF (ORCPT ); Mon, 14 Jul 2014 22:25:05 -0400 Received: from mail7.hitachi.co.jp ([133.145.228.42]:54905 "EHLO mail7.hitachi.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753241AbaGOCY7 (ORCPT ); Mon, 14 Jul 2014 22:24:59 -0400 Message-ID: <53C490F1.4020402@hitachi.com> Date: Tue, 15 Jul 2014 11:24:49 +0900 From: Masami Hiramatsu Organization: Hitachi, Ltd., Japan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Michael Ellerman Cc: Tony Luck , Benjamin Herrenschmidt , Paul Mackerras , Jeremy Fitzhardinge , "linux-ia64@vger.kernel.org" , sparse@chrisli.org, "H. Peter Anvin" , Ingo Molnar , linux-tip-commits@vger.kernel.org, akataria@vmware.com, anil.s.keshavamurthy@intel.com, "Suzuki K. Poulose" , Fenghua Yu , Arnd Bergmann , Rusty Russell , Chris Wright , yrl.pp-manager.tt@hitachi.com, Thomas Gleixner , Kevin Hao , Ananth N Mavinakayanahalli , linuxppc-dev@lists.ozlabs.org, rdunlap@infradead.org, Linux Kernel Mailing List , dl9pf@gmx.de, Andrew Morton , Linus Torvalds , "David S. Miller" Subject: Re: Re: [PATCH v5 2/2] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64 References: <1404276081.7254.1.camel@concordia> <20140702070029.14689.18485.stgit@kbuild-fedora.novalocal> <53BBDEE6.1080800@hitachi.com> <1405390262.17767.5.camel@concordia> In-Reply-To: <1405390262.17767.5.camel@concordia> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (2014/07/15 11:11), Michael Ellerman wrote: > On Mon, 2014-07-14 at 10:17 -0700, Tony Luck wrote: >> On Tue, Jul 8, 2014 at 5:07 AM, Masami Hiramatsu >> wrote: >>> Ping? >>> >>> This patch can be applied without 1/2, and will fix ia64/ppc64 problem. >> >> Is somebody going to push this upstream? Another week has gone by, >> we are at -rc5, and I'm still seeing the >> >> Failed to find blacklist a00000010133b150 >> >> messages on ia64. > > I don't see those messages on ppc64, I don't know where the original report > that it was broken on ppc64 came from. So I'm a bit lukewarm on the patch. Right, on ppc64(ABIv1) it may be silently failed. Because each function descriptor has another entry on kallsyms, original code can't detect that. On the other hand, ia64's function descriptors have no entries, so it can detect the failure on boot. This patch adds new detection code using kernel_text_address() and translates function descriptor to function entry. Thank you, -- Masami HIRAMATSU Software Platform Research Dept. Linux Technology Research Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: masami.hiramatsu.pt@hitachi.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/