Date: Thu, 29 Sep 2011 15:21:43 +0800 From: Adrian Chadd <adrian@freebsd.org> To: Juli Mallett <jmallett@freebsd.org> Cc: freebsd-mips@freebsd.org Subject: Re: eventtimer issue on mips: temporary workaround Message-ID: <CAJ-VmomXNkTxXwHGkX%2B5J3_8YYG66Rk64S56hc9=s8Z6wzOQOA@mail.gmail.com> In-Reply-To: <CACVs6=8pb_bf0QHhciGjUD30dp1rg3ft77NDtHqeQHJk57CvBg@mail.gmail.com> References: <CAJ-Vmo=qONOffCTgusWtbwuo43zKYyXDqqu5YEaL-MDQSbt-mQ@mail.gmail.com> <CAJ-Vmo=i6-3PNTPbP5xCftNU0w1OmMhZSysgaSRzDqgwLU6prQ@mail.gmail.com> <CA%2B7sy7DpEEhZ7WGoT-p9FCgvGBAeBHnyGVXmcUtHs%2BTt6tsTng@mail.gmail.com> <CACVs6=8pb_bf0QHhciGjUD30dp1rg3ft77NDtHqeQHJk57CvBg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29 September 2011 14:49, Juli Mallett <jmallett@freebsd.org> wrote: > If I'm understanding right, that's much of the thrust of the problem. > I mean, we can check whether a non-masked interrupt was asserted > before doing the wait, but there's still a window between that and the > wait. =A0It sounds like we need a conditional wait instruction, which is Yes. That's absolutely right. > to say it sounds like the code does need a rethink for MIPS (although > why "wait" wouldn't return immediately if there's a non-masked > interrupt asserted is beyond me.) =A0But I'm still somewhat confused by > the original post, so may be missing the mark on that. No, I think you have it. Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomXNkTxXwHGkX%2B5J3_8YYG66Rk64S56hc9=s8Z6wzOQOA>