linux-mips
[Top] [All Lists]

Re: Commit 78eef01b0fae087c5fadbd85dd4fe2918c3a015f (on_each_cpu(): disa

To: Domen Puncer <domen.puncer@ultra.si>
Subject: Re: Commit 78eef01b0fae087c5fadbd85dd4fe2918c3a015f (on_each_cpu(): disable local interrupts) Breaks SGI IP32
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 21 Jun 2006 13:11:10 +0100
Cc: Kumba <kumba@gentoo.org>, linux-mips@linux-mips.org
In-reply-to: <20060621095150.GO5568@domen.ultra.si>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4478C0F1.8000006@gentoo.org> <20060528010603.GA24997@linux-mips.org> <20060527194243.a8157338.akpm@osdl.org> <4479250E.3080604@gentoo.org> <20060528105014.GA28621@linux-mips.org> <20060621095150.GO5568@domen.ultra.si>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
On Wed, Jun 21, 2006 at 11:51:50AM +0200, Domen Puncer wrote:

> > #define on_each_cpu(func,info,retry,wait)       \
> >         ({                                      \
> >             WARN_ON(irqs_disabled());       \
> >                 func(info);                     \
> >                 0;                              \
> >         })
> 
> On Alchemy au1200 this produces:
> [4294667.296000] Synthesized TLB modify handler fastpath (33 instructions).
> [4294667.296000] Badness in r4k_flush_icache_range at 
> /home/domen/tmp/linux-2.6.bisecting/linux-mips.git/arch/mips/mm/c-r4k.c:516
> [4294667.296000] Call Trace:
> [4294667.296000]  [<80113434>] r4k_flush_icache_range+0x144/0x150
> [4294667.296000]  [<803f0000>] inflate_dynamic+0x634/0x70c
> [4294667.296000]  [<803f3630>] trap_init+0x3c/0x440

Pretty much as expected, thanks!

  Ralf

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