Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Sergei Shtylylov <sshtylyov@ru.mvista.com>
To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Linux MIPS <linux-mips@linux-mips.org>
Subject: Re: [PATCH] TX49 MFC0 bug workaround
Date: Fri, 03 Feb 2006 05:12:47 +0300	[thread overview]
Message-ID: <43E2BC1F.7080505@ru.mvista.com> (raw)
In-Reply-To: <20060203.101705.41198541.nemoto@toshiba-tops.co.jp>

Hello.

Atsushi Nemoto wrote:

>>>>>>On Thu, 02 Feb 2006 21:46:25 +0300, Sergei Shtylylov <sshtylyov@ru.mvista.com> said:
>>>
>>>If mfc0 $12 follows store and the mfc0 is last instruction of a
>>>page and fetching the next instruction causes TLB miss, the result
>>>of the mfc0 might wrongly contain EXL bit.
> 
> 
> sshtylyov>     Hmm, a TLB miss in fetching from KSEG0?!
> 
> We can call these inline functions from modules running on KSEG2.

    Hm, I'm still learning Linux/MIPS, and have overlooked #ifdef MODULE. :-<

    If I don't mistake, the offending code is in local_irq_disable, 
local_irq_save, and local_irq_restore macros. The effect would be a crash on 
any exception taken once interrupts get disabled in a module (*and* that code 
happens to fall on a page boundary)... nasty. :-(

> ---
> Atsushi Nemoto

WBR, Sergei

  reply	other threads:[~2006-02-03  2:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-02 16:34 [PATCH] TX49 MFC0 bug workaround Atsushi Nemoto
2006-02-02 16:38 ` Maciej W. Rozycki
2006-02-02 16:56   ` Ralf Baechle
2006-02-02 17:04     ` Atsushi Nemoto
2006-02-02 17:21       ` Atsushi Nemoto
2006-02-02 17:24       ` Ralf Baechle
2006-02-03  2:10         ` Atsushi Nemoto
2006-02-03 10:17           ` Maciej W. Rozycki
2006-02-03 14:44           ` Ralf Baechle
2006-02-06  9:36             ` Atsushi Nemoto
2006-02-06 23:22               ` Ralf Baechle
2006-02-03  2:26     ` Sergei Shtylylov
2006-02-03  2:50       ` Atsushi Nemoto
2006-02-02 16:46 ` Ralf Baechle
2006-02-02 18:46 ` Sergei Shtylylov
2006-02-02 22:11   ` Ralf Baechle
2006-02-03  1:17   ` Atsushi Nemoto
2006-02-03  2:12     ` Sergei Shtylylov [this message]
2006-02-03  2:22       ` Atsushi Nemoto
2006-02-07 15:32         ` Sergei Shtylylov
2006-02-07 15:32           ` Sergei Shtylylov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43E2BC1F.7080505@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=anemo@mba.ocn.ne.jp \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox