Hi! (removed akpm from CC, as he's probably no longer interested) On 28/05/06 11:50 +0100, Ralf Baechle wrote: > On Sun, May 28, 2006 at 12:20:30AM -0400, Kumba wrote: > > It also seems this was affecting AMD Alchemy-based systems too. Other SGI > > machines are known to work fine, except Indy and Indigo2, as I haven't > > tested those yet. > > IP27 is fine but it's SMP but I've already cleaned out all the early > calls to smp_call_function there were shown by the WARN() ages ago. > > You can do it the same way, use this debugging version of on_each_cpu: > > #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 [4294667.296000] [<803f3630>] trap_init+0x3c/0x440 [4294667.296000] [<8025f3dc>] sort_extable+0x24/0x30 [4294667.296000] [<803ed6d4>] start_kernel+0xc8/0x20c [4294667.296000] [<803ed6c4>] start_kernel+0xb8/0x20c [4294667.296000] [<803ed12c>] unknown_bootoption+0x0/0x310 [4294667.296000] [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] [<8010b16c>] dump_stack+0x14/0x20 [4294667.296000] [<80113434>] r4k_flush_icache_range+0x144/0x150 [4294667.296000] [<803f0000>] inflate_dynamic+0x634/0x70c [4294667.296000] [<8010cb78>] set_except_vector+0x88/0xa0 [4294667.296000] [<803f0000>] inflate_dynamic+0x634/0x70c [4294667.296000] [<803f3648>] trap_init+0x54/0x440 [4294667.296000] [<8025f3dc>] sort_extable+0x24/0x30 [4294667.296000] [<803ed6d4>] start_kernel+0xc8/0x20c [4294667.296000] [<803ed6c4>] start_kernel+0xb8/0x20c [4294667.296000] [<803ed12c>] unknown_bootoption+0x0/0x310 [4294667.296000] [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] [<803f395c>] trap_init+0x368/0x440 [4294667.296000] [<803f395c>] trap_init+0x368/0x440 [4294667.296000] [<8025f3dc>] sort_extable+0x24/0x30 [4294667.296000] [<803ed6d4>] start_kernel+0xc8/0x20c [4294667.296000] [<803ed6c4>] start_kernel+0xb8/0x20c [4294667.296000] [<803ed12c>] unknown_bootoption+0x0/0x310 [4294667.296000] [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] [<803f38c8>] trap_init+0x2d4/0x440 [4294667.296000] [<803f39dc>] trap_init+0x3e8/0x440 [4294667.296000] [<8025f3dc>] sort_extable+0x24/0x30 [4294667.296000] [<803ed6d4>] start_kernel+0xc8/0x20c [4294667.296000] [<803ed6c4>] start_kernel+0xb8/0x20c [4294667.296000] [<803ed12c>] unknown_bootoption+0x0/0x310 [4294667.296000] [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] [<803f5edc>] flush_tlb_handlers+0x28/0x64 [4294667.296000] [<803ed6d4>] start_kernel+0xc8/0x20c [4294667.296000] [<803ed12c>] unknown_bootoption+0x0/0x310 [4294667.296000] [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] [<803f5ef4>] flush_tlb_handlers+0x40/0x64 [4294667.296000] [<803ed6d4>] start_kernel+0xc8/0x20c [4294667.296000] [<803ed12c>] unknown_bootoption+0x0/0x310 [4294667.296000] [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] [<803ed6d4>] start_kernel+0xc8/0x20c [4294667.296000] [<803ed6d4>] start_kernel+0xc8/0x20c [4294667.296000] [<803ed12c>] unknown_bootoption+0x0/0x310 [4294667.296000] [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] [<80105580>] handle_reserved+0x0/0xc8 [4294667.296000] [<8010cb78>] set_except_vector+0x88/0xa0 [4294667.296000] [<8010b0f4>] show_trace+0x98/0xfc [4294667.296000] [<803f0c18>] arch_init_irq+0x44/0x1e0 [4294667.296000] [<8010b16c>] dump_stack+0x14/0x20 [4294667.296000] [<803f2620>] init_IRQ+0x90/0x9c [4294667.296000] [<803ed6e4>] start_kernel+0xd8/0x20c [4294667.296000] [<803ed6d4>] start_kernel+0xc8/0x20c [4294667.296000] [<803ed12c>] unknown_bootoption+0x0/0x310 [4294667.296000] [4294667.296000] PID hash table entries: 2048 (order: 11, 32768 bytes) Domen