linux-mips
[Top] [All Lists]

Re: problems booting sb1250, page fault issue?

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: problems booting sb1250, page fault issue?
From: Dave Johnson <djohnson+linux-mips@sw.starentnetworks.com>
Date: Tue, 13 Feb 2007 14:03:30 -0500
Cc: linux-mips@linux-mips.org
In-reply-to: <20070213.233505.64804701.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <17869.2075.900049.547334@zeus.sw.starentnetworks.com> <20070211.010336.15248113.anemo@mba.ocn.ne.jp> <17872.61204.190437.109367@zeus.sw.starentnetworks.com> <20070213.233505.64804701.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
Atsushi Nemoto writes:
> On Mon, 12 Feb 2007 17:49:56 -0500, Dave Johnson 
> <djohnson+linux-mips@sw.starentnetworks.com> wrote:
> > I added both flush_data_cache_page to c-sb1.c and
> > __flush_icache_page() to flush_icache_page in cacheflush.h.
> > 
> > With those, the page faults work correctly and booting seems to be
> > reliable on 2.6.18.
> 
> I think the problem of c-sb1.c was fixed in lmo 2.6.18-stable branch.
> Could you try it?

I merged in the flush_data_cache_page routine (from linux-2.6.18.6
tag) instead of the ones from the mailing list and it's good as well.

Even though local_flush_data_cache_page is only used in
__ide_flush_dcache_range() (and that is inside a cpu_has_dc_aliases
check) it still might be good to fill it out anyway.

-- 
Dave Johnson
Starent Networks


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