From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752560Ab3KKCXl (ORCPT ); Sun, 10 Nov 2013 21:23:41 -0500 Received: from ozlabs.org ([203.10.76.45]:40219 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752467Ab3KKCXX (ORCPT ); Sun, 10 Nov 2013 21:23:23 -0500 From: Rusty Russell To: Ming Lei , Axel Lin Cc: Russell King , Michal Marek , Linux Kernel Mailing List , linux-arm-kernel Subject: Re: kernel BUG at kernel/kallsyms.c:222! In-Reply-To: References: <1383789208.5970.1.camel@phoenix> <87zjpf4w0j.fsf@rustcorp.com.au> User-Agent: Notmuch/0.15.2 (http://notmuchmail.org) Emacs/23.4.1 (i686-pc-linux-gnu) Date: Mon, 11 Nov 2013 10:53:23 +1030 Message-ID: <87y54vzszo.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ming Lei writes: > Hi Axel, > > On Fri, Nov 8, 2013 at 12:20 PM, Axel Lin wrote: >> >> >> Hi Ming, >> >> I have patches on top of 3.12 to support gpl32700 SoC. >> So you cannot find this platform on mainline kernel. > > OK, I see. > >> I havn't tried perf, below is my config for your reference: >> (to make the config smaller, I grep out disabled config entries.) > > I doubt CONFIG_VMSPLIT_3G/CONFIG_PAGE_OFFSET isn't > used at all in your unmerged patchset, also your link script should > be different with in-tree arch/arm/kernel/vmlinux.lds.S, otherwise > you may put all your kernel symbols after 0xC00000000. > > Maybe you need to not define PAGE_OFFSET and let it be > PHYS_OFFSET at default, also VMSPLIT_3G shouldn't have > been there on non-MMU linux. OK, unless there are other platforms which have this issue, I'll leave it with you to hold this patch for merge with your SoC. Cheers, Rusty.