linux-mips
[Top] [All Lists]

Re: [PATCH v3] MIPS: Alchemy: fix wait function

To: Manuel Lauss <manuel.lauss@gmail.com>
Subject: Re: [PATCH v3] MIPS: Alchemy: fix wait function
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 10 Jun 2013 17:53:59 +0200
Cc: Linux-MIPS <linux-mips@linux-mips.org>, "Maciej W. Rozycki" <macro@linux-mips.org>
In-reply-to: <1370722541-25407-1-git-send-email-manuel.lauss@gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1370722541-25407-1-git-send-email-manuel.lauss@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Sat, Jun 08, 2013 at 10:15:41PM +0200, Manuel Lauss wrote:

> Only an interrupt can wake the core from 'wait', enable interrupts
> locally before executing 'wait'.
> 
> Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
> ---
> v3: add constraint for additional register used, as per Maciej's feedback
> v2: enable interrupts immediately before executing 'wait', to minimize chance
>     of interrupts occurring.

Applied, primarily because time is running away and it's more important to
get Alchemy back to at least limping along happily ...

  Ralf

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