[Top] [All Lists]

Re: [PATCH] MIPS: SMTC: Correct saving of CP0_STATUS

To: "Kevin D. Kissell" <>
Subject: Re: [PATCH] MIPS: SMTC: Correct saving of CP0_STATUS
From: "Edgar E. Iglesias" <>
Date: Tue, 30 Aug 2011 13:16:03 +0200
Cc: David Daney <>, Ralf Baechle <>,
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=99yo5/NJfa6ErovIDmskEFwD5au20Hji+EehAKiz8dU=; b=T2yb087E6g8Z4TbLWoc/EEAmkMQceVaBYyo7XXR95IRUBN1vM4+H9Fhj9k7hioCW1J gNmJIp5oRngXXnrHAspnxc52KC5WoQO+J9fTXFMDoLOf600Ar8qc9rW2A/p010xSzOIV PDH8QXZYzJ01Bn1ZyAknRRKVPm+O8sBcjDDJA=
In-reply-to: <>
References: <20110829232029.GA15763@zapo> <> <> <> <>
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Aug 29, 2011 at 05:35:44PM -0700, Kevin D. Kissell wrote:
> On 08/29/11 17:14, David Daney wrote:
> > On 08/29/2011 04:55 PM, Kevin D. Kissell wrote:
> >> I submitted that exact patch (David's more minimal version) in December
> >> 2010 (and I did test it).  Did it not take?
> >
> > Evidently not.  Perhaps Ralf will see fit to commit it this time.
> Looking back over the exchange and thinking about the date,
> in all fairness to Ralf, when I submitted it, it was a diff -u and
> not a git diff, because I was at my brother-in-law's house for
> the holidays and had no access to my MIPS Linux git machine.
> It got picked up by ( patch/1896 ),
> but was only actually tested by Anoop a couple of days
> later.  He confirmed that it solved the problem, but also that
> there were other problems with SMTC in the then-current
> head, apparently relating to timekeeping_notify().  Those
> problems weren't resolved in the context of that email thread,
> so the patch - something along the lines of which really and
> truly is necessary - may have been ignored as a partial fix,
> even though it is a self-contained solution to a self-contained bug.

Interesting. Coincidentally, after getting pass the CP0_Status issue, I ran
into some issues related to time-keeping, but I got the impression I was
seeing a mix of problems with QEMU and possibly the kernel. I never hunted
these issues down though. Maybe I'll give it a go some other time..

It makes me wonder, what is the state of SMTC kernels? Are they widely
used and considered stable?
Or is the SMP mode (1 TC per VPE) the common choice?


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