linux-mips
[Top] [All Lists]

Re: wrong SP restored after DBE exception

To: Ralf Baechle <ralf@linux-mips.org>, "Maciej W. Rozycki" <macro@linux-mips.org>, linux-mips@linux-mips.org
Subject: Re: wrong SP restored after DBE exception
From: Dave Johnson <djohnson@sw.starentnetworks.com>
Date: Thu, 28 Sep 2006 13:55:53 -0400
In-reply-to: <17691.56721.616378.698325@zeus.sw.starentnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <17690.54995.407882.581783@zeus.sw.starentnetworks.com> <20060928130925.GA3394@linux-mips.org> <Pine.LNX.4.64N.0609281448310.3949@blysk.ds.pg.gda.pl> <20060928142840.GB3394@linux-mips.org> <17691.56721.616378.698325@zeus.sw.starentnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
Dave Johnson <djohnson+linux-mips@sw.starentnetworks.com>, writes:
> Ralf Baechle writes:
> > I would suggest to disable interrupts around accesses that potencially
> > could result in DB exceptions and just to make sure he is not getting
> > trapped by a non-blocking load by making some use of any value read
> > from the device.  Writes could be posted depending on bus type.  So
> > having a read from the same device would force the write to complete.

Disabling interrupts around the accesses works ok.  My test program
has caused about 400000 DBEs so far with no problem.

Thanks.

-- 
Dave Johnson
Starent Networks


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