From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by ozlabs.org (Postfix) with ESMTP id 56B2ADE0DF for ; Fri, 22 Aug 2008 15:14:17 +1000 (EST) Received: by yx-out-2324.google.com with SMTP id 8so175888yxg.39 for ; Thu, 21 Aug 2008 22:14:16 -0700 (PDT) Message-ID: Date: Thu, 21 Aug 2008 22:14:15 -0700 From: vb Sender: vbendeb@gmail.com To: linuxppc-embedded@ozlabs.org Subject: Re: TLB programming in powerpc tree. Was: Accessing peripheral bus devices on 460GT In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Aug 21, 2008 at 7:29 PM, vb wrote: > > But the main problem is that the kernel never sets up TLBs for neither > the peripheral device, nor the onboard flash. I don't seem to be able > to find the place where this is supposed to happen. I assumed that > ioremap_nocache would take care of that, but this is not the case. > well, in fact the TLB is set up as soon as an attempt to access the peripheral is made. The problem apparently is the fact that the TLB entry uses a wrong value in the nibble specifying the internal 460GT block...