Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751863AbZFOCFw (ORCPT ); Sun, 14 Jun 2009 22:05:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751000AbZFOCFp (ORCPT ); Sun, 14 Jun 2009 22:05:45 -0400 Received: from yw-out-2324.google.com ([74.125.46.29]:17931 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750935AbZFOCFo convert rfc822-to-8bit (ORCPT ); Sun, 14 Jun 2009 22:05:44 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=BAo/BHJ+hHiSHf+5fD4n86x2AXg1H4F2quZmM0/6OIwtcv6Bhtg7ATy5rAvzB/QZrv e6cMl8u9x8ldpY/Ak2/SfmO6j5H1ra90cv+XwTieuvpN+15819ucGoNWhFE0PjAUvsPA 3x8wFi3P3RA4Cxhas+K8ocFy7VGDtOGxlUyWQ= MIME-Version: 1.0 In-Reply-To: <200906142159.42280.rgetz@blackfin.uclinux.org> References: <8bd0f97a0906081623h4dc26492kd70c2e07091730d@mail.gmail.com> <20090614204437.GC3187@uranus.ravnborg.org> <200906142159.42280.rgetz@blackfin.uclinux.org> From: Mike Frysinger Date: Sun, 14 Jun 2009 22:05:26 -0400 Message-ID: <8bd0f97a0906141905m54958c02l3cae598d0136980b@mail.gmail.com> Subject: Re: scripts/kallsyms: extending region checking for Blackfin memory regions To: Robin Getz Cc: Sam Ravnborg , kbuild-devel@lists.sourceforge.net, Linux kernel mailing list , uclinux-dist-devel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2151 Lines: 47 On Sun, Jun 14, 2009 at 21:59, Robin Getz wrote: > On Sun 14 Jun 2009 16:44, Sam Ravnborg pondered: >> On Mon, Jun 08, 2009 at 07:23:16PM -0400, Mike Frysinger wrote: >> > intro: the current Blackfin memory architecture is (1) no virtualized >> > memory and (2) distinctly harvard.  that means we cannot create a >> > linear map of start/end text sections.  we end up with distinct >> > regions like so: >> > 00001000 T __stext >> > 000dc4c0 T __etext >> > feb00000 A __etext_l2 >> > feb00010 A __stext_l2 >> > ffa00000 T __stext_l1 >> > ffa0160c T __etext_l1 >> > this is because external memory starts at address 0 while on-chip >> > regions have different discontiguous hardcoded addresses (L1 >> > instruction in this case starts at 0xffa00000 while L2 starts at >> > 0xfeb00000). >> > >> > the current kallsyms is written to search for the special stext/etext >> > symbols only which means the resulting kallsyms output knows nothing >> > of the Blackfin symbols living in these on-chip regions.  we've >> > written two patches to fix this: the first one is straight forward and >> > simply copies & pastes the existing hardcoded regions.  the second >> > creates an array of text regions which makes it much easier to extend >> > in the future for other people (and can be squashed into the first >> > one). >> > >> > doesnt matter to me which method is picked :) >> >> I added both as I liked the generalization. >> I had to rearrange the "Signed-off-by" in the first patch >> as this patch came in vai you and not Robin. > > I think Mike pulled this from some work I did awhile ago, (and sent to you) > that obviously never got added (since I didn't send it in the proper patch > format). > > http://lkml.indiana.edu/hypermail/linux/kernel/0607.1/0558.html yeah, the first patch was by Robin ... the "From:" line in the patch should have shown that (and git-am would have respected) ... -mike -- 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/