From patchwork Fri Jan 30 15:32:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell King - ARM Linux X-Patchwork-Id: 5751861 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4AED0BF440 for ; Fri, 30 Jan 2015 15:35:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 76CB42024C for ; Fri, 30 Jan 2015 15:35:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7990620160 for ; Fri, 30 Jan 2015 15:35:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YHDZh-0007fB-D1; Fri, 30 Jan 2015 15:33:37 +0000 Received: from pandora.arm.linux.org.uk ([2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YHDZc-0007Zx-LT for linux-arm-kernel@lists.infradead.org; Fri, 30 Jan 2015 15:33:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=arm.linux.org.uk; s=pandora-2014; h=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=W41HqBkBKki6R6w+YFVLkAJmEO5HsMDfciezvp6nneE=; b=bheki6DZD6fVgZCNF4LkZldfX6gRNtM24Q5oLnjSrX7Jgm9Q+YkWVWaAY0fIOS32PQIOTheDhvJpMH13TUzR9Uhr6VjLUMwiAJzRRLefNgm8SFZGSJz1FTB699b8UAXgzZkyWUFAqUCOhuodRPRajE5QCwHIiRqBqR10EiTpQ1E=; Received: from n2100.arm.linux.org.uk ([2001:4d48:ad52:3201:214:fdff:fe10:4f86]:51655) by pandora.arm.linux.org.uk with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1YHDZ6-0003bj-5g; Fri, 30 Jan 2015 15:33:00 +0000 Received: from linux by n2100.arm.linux.org.uk with local (Exim 4.76) (envelope-from ) id 1YHDZ1-0004Jv-AI; Fri, 30 Jan 2015 15:32:55 +0000 Date: Fri, 30 Jan 2015 15:32:54 +0000 From: Russell King - ARM Linux To: Arnd Bergmann , Nicolas Pitre , Ming Lei , Rusty Russell Subject: Re: Continuing kallsyms failures - large kernels, XIP kernels, and large XIP kernels Message-ID: <20150130153254.GL26493@n2100.arm.linux.org.uk> References: <20150130145642.GK26493@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20150130145642.GK26493@n2100.arm.linux.org.uk> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150130_073333_063293_FF6AC9BB X-CRM114-Status: GOOD ( 13.80 ) X-Spam-Score: -0.1 (/) Cc: linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is the hack I'm using to avoid the veneers appearing in the kallsyms data. This solves my randconfig failure I saw last night - but obviously is not bullet proof as it'll find _veneer anywhere in the symbol name. scripts/kallsyms.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index c6d33bd15b04..eea599c701f5 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -158,6 +158,8 @@ static int read_symbol(FILE *in, struct sym_entry *s) /* exclude debugging symbols */ else if (stype == 'N') return -1; + else if (strstr(sym, "_veneer")) + return -1; /* include the type field in the symbol name, so that it gets * compressed together */