[Top] [All Lists]

Re: [PATCH] Avoid potential hazard on Context register

To: Chris Dearman <>
Subject: Re: [PATCH] Avoid potential hazard on Context register
From: Ralf Baechle <>
Date: Sun, 11 Oct 2009 15:39:12 +0200
Cc: linux-mips <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.19 (2009-01-05)
On Sat, Oct 10, 2009 at 11:07:21PM -0700, Chris Dearman wrote:

> set_saved_sp reads Context register. Avoid reading stale value from  
> earlier incomplete write

Which is executed fairly frequently.  So it'll be cheaper to fix the issue
in the writers.  Will post patch in a few minutes.

I'm curious, did you actually manage to trigger this one?  The time between
the instructions should be fairly long but then again the 34K has been
good for a few surprises!


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