[Top] [All Lists]

Re: [MIPS] SB1: Build fix: delete initialization of flush_icache_page po

Subject: Re: [MIPS] SB1: Build fix: delete initialization of flush_icache_page pointer.
From: Atsushi Nemoto <>
Date: Wed, 23 Aug 2006 13:16:27 +0900 (JST)
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
On Mon, 21 Aug 2006 12:27:47 -0700, "Manoj Ekbote" <> wrote:
> The patch doesn't help. The kernel hangs in the same fashion. 

Thank you for testing.

Then I have no idea why the kernel hangs...

Random thoughts:

Does it still hang on init=/bin/sh?

Does enabling second and third "#if 0" blocks in arch/mips/mm/fault.c
show some useful information?

Finally, I think there is no serious reason separating c-sb1.c from
c-r4k.c.  The c-r4k.c support both vtagged-icache and pindexed-dcache,
therefore SB1 can use it too.

        switch (c->cputype) {
        case CPU_20KC:
        case CPU_25KF:
        case CPU_SB1:
        case CPU_SB1A:
                c->dcache.flags |= MIPS_CACHE_PINDEX;
        case CPU_R10000:
        case CPU_R12000:
        case CPU_R14000:

#if 0
        c->options &= ~MIPS_CPU_4K_CACHE;
        c->options |= MIPS_CPU_SB1_CACHE;

Atsushi Nemoto

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