linux-mips
[Top] [All Lists]

Re: [PATCH] Synthesize TLB refill handler at runtime

To: "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: Re: [PATCH] Synthesize TLB refill handler at runtime
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Wed, 24 Nov 2004 03:16:44 +0100
Cc: Manish Lachwani <mlachwani@mvista.com>, Ralf Baechle <ralf@linux-mips.org>, Geert Uytterhoeven <geert@linux-m68k.org>, Linux/MIPS Development <linux-mips@linux-mips.org>
In-reply-to: <Pine.LNX.4.58L.0411232018390.19941@blysk.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20041121170242.GR20986@rembrandt.csv.ica.uni-stuttgart.de> <Pine.GSO.4.61.0411212048520.26374@waterleaf.sonytel.be> <20041121203757.GS20986@rembrandt.csv.ica.uni-stuttgart.de> <20041122070117.GB25433@linux-mips.org> <41A283BD.3080300@mvista.com> <Pine.LNX.4.58L.0411230036310.31113@blysk.ds.pg.gda.pl> <41A29DCF.8030308@mvista.com> <Pine.LNX.4.58L.0411232018390.19941@blysk.ds.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.6i
Maciej W. Rozycki wrote:
[snip]
> patch-mips-2.6.10-rc1-20041112-mips-tlb-ehb-0
> diff -up --recursive --new-file 
> linux-mips-2.6.10-rc1-20041112.macro/arch/mips/mm/tlbex.c 
> linux-mips-2.6.10-rc1-20041112/arch/mips/mm/tlbex.c
> --- linux-mips-2.6.10-rc1-20041112.macro/arch/mips/mm/tlbex.c 2004-11-23 
> 19:52:53.000000000 +0000
> +++ linux-mips-2.6.10-rc1-20041112/arch/mips/mm/tlbex.c       2004-11-23 
> 19:58:31.000000000 +0000
> @@ -448,7 +448,8 @@ L_LA(_split)
>  #define i_bnez(buf, rs, off) i_bne(buf, rs, 0, off)
>  #define i_move(buf, a, b) i_ADDU(buf, a, 0, b)
>  #define i_nop(buf) i_sll(buf, 0, 0, 0)
> -#define i_ssnop(buf) i_sll(buf, 0, 2, 1)
> +#define i_ssnop(buf) i_sll(buf, 0, 0, 1)

Just FYI, I took the ssnop definition from _ssnop in
include/asm-mips/hazards.h, which is different from SSNOP in
include/asm-mips/asm.h. I hope the difference is not meant to
mean more than a typo. :-)


Thiemo

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