linux-mips
[Top] [All Lists]

Re: start_kernel(): bug: interrupts were enabled early

To: mlachwani <mlachwani@mvista.com>
Subject: Re: start_kernel(): bug: interrupts were enabled early
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 18 Oct 2006 19:14:16 +0100
Cc: Martin Michlmayr <tbm@cyrius.com>, linux-mips@linux-mips.org
In-reply-to: <45365B8E.8040704@mvista.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20061018155009.GA22031@deprecation.cyrius.com> <45365B8E.8040704@mvista.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
On Wed, Oct 18, 2006 at 09:51:26AM -0700, mlachwani wrote:

> The issue is the on_each_cpu() calls made in arch/mips/mm/c-sb1.c. This 
> function enables the interrupts on exit. As a result, you will get this 
> error
> on bootup. The fix is  similar to arch/mips/mm/c-r4k.c, i.e. to have 
> something like r4k_on_each_cpu().

Also cosider using the local_* variant of a cache or tlb flush operation
wherever possible.

  Ralf

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