From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from parcelfarce.linux.theplanet.co.uk (parcelfarce.linux.theplanet.co.uk [195.92.249.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 27D10679F5 for ; Tue, 10 May 2005 04:03:08 +1000 (EST) Date: Sat, 7 May 2005 12:47:46 -0300 From: Marcelo Tosatti To: Dan Malek Message-ID: <20050507154746.GE16996@logos.cnet> References: <20050505172035.GB3339@logos.cnet> <1b2c7da800815bcdd76ddf27a2ab9c55@embeddededge.com> <20050506133858.GA6032@logos.cnet> <3ebef94782a6090ac3eb44bd7e78efbf@embeddededge.com> <20050506200338.GC14486@logos.cnet> <84773f72b8bba863c9471c0d121223a8@embeddededge.com> <20050506230523.GA15908@logos.cnet> <6f231f4afce0886929ca99426a86b47a@embeddededge.com> <20050507131609.GA16996@logos.cnet> <42e4582f0d1644c2ece0a2cb86f49003@embeddededge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <42e4582f0d1644c2ece0a2cb86f49003@embeddededge.com> Cc: linux-ppc-embedded Subject: Re: [PATCH] 8xx: fix usage of pinned 8Mbyte TLB entries List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sat, May 07, 2005 at 04:02:34PM -0400, Dan Malek wrote: > > On May 7, 2005, at 9:16 AM, Marcelo Tosatti wrote: > > >Not creating 4kb mappings for the first 8Mbytes of kernel > >virtual addresses fixed the problem for me. > > Fixed what problem? page faults for initial 8Mbytes of kernel virtual map. > In the TLB dump, you replaced the initial 8M entry with > a bunch of 4K page entries, just as I would have expected > to happen. Since it was able to run and load these, the > complete PTE tables must have been created. Right, that was a dump of a "problematic" (ie 4kb pagefaults on 8Mbyte pinned region) kernel. > How did you "not create" the 4K mappings? I told mapin_ram() to start at KERNELBASE + 8Mb. But, as you said, thats not necessary.