[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yyizm6pzuxo.wl@toshiba.co.jp>
Date: Wed, 07 Mar 2007 10:47:15 +0900
From: Tsutomu OWA <tsutomu.owa@...hiba.co.jp>
To: mingo@...e.hu
Cc: linuxppc-dev@...abs.org, linux-kernel@...r.kernel.org,
tsutomu.owa@...hiba.co.jp
Subject: [patch 6/6 -rt] powerpc 2.6.20-rt8: fix boot/runtime errors/warnings
To fix the following boot time warnings by setting soft_enabled and
hard_enabled.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Freeing unused kernel memory: 248k freed
BUG: scheduling with irqs disabled: rc.sysinit/0x00000000/373
caller is user_work+0x14/0x2c
Call Trace:
[C00000001FEC3D10] [C00000000000FAA0] .show_stack+0x68/0x1b0 (unreliable)
[C00000001FEC3DB0] [C0000000003E78DC] .schedule+0x78/0x128
[C00000001FEC3E30] [C000000000008C40] user_work+0x14/0x2c
BUG: scheduling with irqs disabled: sed/0x00000000/378
caller is user_work+0x14/0x2c
Call Trace:
[C00000000FA33D10] [C00000000000FAA0] .show_stack+0x68/0x1b0 (unreliable)
[C00000000FA33DB0] [C0000000003E78DC] .schedule+0x78/0x128
[C00000000FA33E30] [C000000000008C40] user_work+0x14/0x2c
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Signed-off-by: Tsutomu Owa <tsutomu.owa@...hiba.co.jp>
-- owa
--- rt/arch/powerpc/kernel/entry_64.S 2007-03-05 18:21:39.000000000 +0900
+++ rt.new/arch/powerpc/kernel/entry_64.S 2007-03-05 18:23:18.000000000 +0900
@@ -572,6 +572,11 @@ do_work:
user_work:
#endif
+ /* here we are preempting the current task */
+ li r0,1
+ stb r0,PACASOFTIRQEN(r13)
+ stb r0,PACAHARDIRQEN(r13)
+
/* Enable interrupts */
ori r10,r10,MSR_EE
mtmsrd r10,1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists