| To: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
|---|---|
| Subject: | Re: [MIPS] Use conditional traps for BUG_ON on MIPS II and better. |
| From: | Thiemo Seufer <ths@networkno.de> |
| Date: | Sat, 16 Dec 2006 17:11:43 +0000 |
| Cc: | ralf@linux-mips.org, linux-mips@linux-mips.org, qemu-devel@nongnu.org |
| In-reply-to: | <20061216.012645.07642903.anemo@mba.ocn.ne.jp> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <S20037651AbWK3BXW/20061130012322Z+10503@ftp.linux-mips.org> <20061204.015327.36921579.anemo@mba.ocn.ne.jp> <20061203213518.GA22225@linux-mips.org> <20061216.012645.07642903.anemo@mba.ocn.ne.jp> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.13 (2006-08-11) |
Atsushi Nemoto wrote: > On Sun, 3 Dec 2006 21:35:18 +0000, Ralf Baechle <ralf@linux-mips.org> wrote: > > > It seems this commit break QEMU kernel ... or QEMU can not interpret > > > the TNE instruction correctly? > > > > Thiemo says that's indeed a possibility. Probably that feature has not > > been well tested in qemu. > > I found the bug. "Trap If XXX" instructions are translated as it was > "Trap If XXX Immediate". > > Index: target-mips/translate.c > =================================================================== > RCS file: /sources/qemu/qemu/target-mips/translate.c,v > retrieving revision 1.27 > diff -u -r1.27 translate.c > --- target-mips/translate.c 10 Dec 2006 22:08:10 -0000 1.27 > +++ target-mips/translate.c 15 Dec 2006 16:16:07 -0000 > @@ -1276,6 +1276,7 @@ > GEN_LOAD_REG_TN(T1, rt); > cond = 1; > } > + break; > case OPC_TEQI: > case OPC_TGEI: > case OPC_TGEIU: Thanks, committed. Thiemo |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [RFC] FLATMEM: allow memory to start at pfn != 0, Franck Bui-Huu |
|---|---|
| Next by Date: | [PATCH] Unify memset.S, Atsushi Nemoto |
| Previous by Thread: | Re: [MIPS] Use conditional traps for BUG_ON on MIPS II and better., Atsushi Nemoto |
| Next by Thread: | [2.4 PATCH] mips/mips64 mv64340 parenthesis fixes, Mariusz Kozlowski |
| Indexes: | [Date] [Thread] [Top] [All Lists] |