linux-mips
[Top] [All Lists]

Re: Linux port failing on MIPS32 24Kc

To: joe seb <joe.seb8@gmail.com>
Subject: Re: Linux port failing on MIPS32 24Kc
From: David VomLehn <dvomlehn@cisco.com>
Date: Wed, 8 Jul 2009 11:29:06 -0700
Authentication-results: syd-dkim-1; header.From=dvomlehn@cisco.com; dkim=pass ( sig from cisco.com/syddkim1002 verified; );
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; l=773; t=1247077747; x=1247941747; c=relaxed/simple; s=syddkim1002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dvomlehn@cisco.com; z=From:=20David=20VomLehn=20<dvomlehn@cisco.com> |Subject:=20Re=3A=20Linux=20port=20failing=20on=20MIPS32=20 24Kc |Sender:=20; bh=rGEMG+z+MiJln2WlfdgF9NNnpi5nVSrAcgUvZ7ov3Yo=; b=gpTIObR9AJ7JIdkqqs5vqFeO7Kzi272/XSmujML9h4/1zZk3zyM46qCh9c pLPYzhswImpHNuTyxTcvwmf1cwdUi3plh00If7mnHx8o+4QQ9jQkPVOiAL5C O2a5cUfYSubRQzzXyVXiX8+xGjlkQ1PrAq/SapJ29S2qta/VxvdL4=;
In-reply-to: <4f9abdc70907080547l501128bg7c920e206e0068c3@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4f9abdc70907080107t28fdac03h86b834a60806fb10@mail.gmail.com> <20090708103756.GB22308@linux-mips.org> <4f9abdc70907080547l501128bg7c920e206e0068c3@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Wed, Jul 08, 2009 at 06:17:42PM +0530, joe seb wrote:
> Hi,
> 
> We made the following changes and tried,
> 
> -> applied the patch given by you.
> -> changed the PHYS_OFFSET to 0x10000000 to match our memory offset.
> -> cache write back mode enabled
> 
> Still we face the same problem. It crashes at different points when it
> enters the user space. I have attached one of the logs.
> 
> But in cache write through mode it works.

Another thought: if it works with write through, but not write back, you
may have a device driver that isn't flushing/invalidating cache appropriately
before doing DMA. This is much more important on MIPS than many other
processors.

Is this a new platform or one that has been working for a while?

David VomLehn

<Prev in Thread] Current Thread [Next in Thread>