linux-mips
[Top] [All Lists]

Re: another 4kc machine check.

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: another 4kc machine check.
From: Greg Weeks <greg.weeks@timesys.com>
Date: Mon, 11 Apr 2005 15:47:12 -0400
Cc: linux-mips@linux-mips.org
In-reply-to: <4256B524.2080509@timesys.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <42553E49.7080004@timesys.com> <4256991C.4020601@timesys.com> <20050408161357.GB19166@linux-mips.org> <4256B524.2080509@timesys.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
This patch appears to fix my machine check problem on the 4kc. The 4kc shouldn't need an ssnop here, but this appears to fix it.

Greg Weeks
--- mips-malta4kcle-basic/arch/mips/mm/tlbex.c-orig
+++ mips-malta4kcle-basic/arch/mips/mm/tlbex.c
@@ -847,7 +847,6 @@
 
        case CPU_R10000:
        case CPU_R12000:
-       case CPU_4KC:
        case CPU_SB1:
        case CPU_4KSC:
        case CPU_20KC:
@@ -874,6 +873,7 @@
                tlbw(p);
                break;
 
+       case CPU_4KC:
        case CPU_4KEC:
        case CPU_24K:
                i_ehb(p);
<Prev in Thread] Current Thread [Next in Thread>