All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* watchdog exception on 8548CDS during cpu_idle
@ 2009-11-18 23:53 Ming Lei
  2009-11-19 17:37 ` Scott Wood
  0 siblings, 1 reply; 2+ messages in thread
From: Ming Lei @ 2009-11-18 23:53 UTC (permalink / raw
  To: linuxppc-dev@lists.ozlabs.org


I used the vanilla linux 2.6.30 and compiled with mpc85xx_defconfig(enable =
CONFIG_BOOK_WDT) and then ran on 8548CDS and soon after I saw the prompt I =
hit this watchdog.
=20
bash-2.04# PowerPC Book-E Watchdog Exception
NIP: c000b740 LR: c00088dc CTR: c000b6b0
REGS: cfffbf10 TRAP: 3202   Not tainted  (2.6.30)
MSR: 00029000 <EE,ME,CE>  CR: 28028048  XER: 20000000
TASK =3D c04f4458[0] 'swapper' THREAD: c052c000
GPR00: c000b6b0 c052df90 c04f4458 00800000 80804080 0000001d c053af48 00069=
000=20
GPR08: ffffffff 00000000 08954400 00000000 002167ee 7f652f31 0ffad800 0fff0=
000=20
GPR16: 00000000 00000000 00000000 00000000 00000000 f30a620b 0ff50450 00000=
000=20
GPR24: 00000000 00000000 c053506c c0534fa0 c0534fa0 c052c034 00000008 c052c=
000=20
NIP [c000b740] e500_idle+0x90/0x94
LR [c00088dc] cpu_idle+0x98/0xec
Call Trace:
[c052df90] [c000889c] cpu_idle+0x58/0xec (unreliable)
[c052dfb0] [c00023ec] rest_init+0x5c/0x70
[c052dfc0] [c04c16f4] start_kernel+0x22c/0x290
[c052dff0] [c0000398] skpinv+0x2b0/0x2ec
Instruction dump:
7c90faa6 548402ce 7c841b78 4c00012c 7c90fba6 4c00012c 7ce000a6 64e70004=20
60e78000 7c0004ac 7ce00124 4c00012c <48000000> 812b00a0 912b0090 39600000=20

Have anyone seen this before? Why the EE bit is on in the stack trace? I pu=
t show_regs in watchdog exception handler in traps.c. I verified that EE is=
 off when entering the watchdog exception handler. Can I trust this stack t=
race?

Thanks
Ming

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: watchdog exception on 8548CDS during cpu_idle
  2009-11-18 23:53 watchdog exception on 8548CDS during cpu_idle Ming Lei
@ 2009-11-19 17:37 ` Scott Wood
  0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2009-11-19 17:37 UTC (permalink / raw
  To: Ming Lei; +Cc: linuxppc-dev@lists.ozlabs.org

On Wed, Nov 18, 2009 at 03:53:27PM -0800, Ming Lei wrote:
> 
> I used the vanilla linux 2.6.30 and compiled with mpc85xx_defconfig(enable CONFIG_BOOK_WDT) and then ran on 8548CDS and soon after I saw the prompt I hit this watchdog.
>  
> bash-2.04# PowerPC Book-E Watchdog Exception
> NIP: c000b740 LR: c00088dc CTR: c000b6b0
> REGS: cfffbf10 TRAP: 3202   Not tainted  (2.6.30)
> MSR: 00029000 <EE,ME,CE>  CR: 28028048  XER: 20000000
> TASK = c04f4458[0] 'swapper' THREAD: c052c000
> GPR00: c000b6b0 c052df90 c04f4458 00800000 80804080 0000001d c053af48 00069000 
> GPR08: ffffffff 00000000 08954400 00000000 002167ee 7f652f31 0ffad800 0fff0000 
> GPR16: 00000000 00000000 00000000 00000000 00000000 f30a620b 0ff50450 00000000 
> GPR24: 00000000 00000000 c053506c c0534fa0 c0534fa0 c052c034 00000008 c052c000 
> NIP [c000b740] e500_idle+0x90/0x94
> LR [c00088dc] cpu_idle+0x98/0xec
> Call Trace:
> [c052df90] [c000889c] cpu_idle+0x58/0xec (unreliable)
> [c052dfb0] [c00023ec] rest_init+0x5c/0x70
> [c052dfc0] [c04c16f4] start_kernel+0x22c/0x290
> [c052dff0] [c0000398] skpinv+0x2b0/0x2ec
> Instruction dump:
> 7c90faa6 548402ce 7c841b78 4c00012c 7c90fba6 4c00012c 7ce000a6 64e70004 
> 60e78000 7c0004ac 7ce00124 4c00012c <48000000> 812b00a0 912b0090 39600000 
> 
> Have anyone seen this before? Why the EE bit is on in the stack trace?
> I put show_regs in watchdog exception handler in traps.c. I verified
> that EE is off when entering the watchdog exception handler. Can I
> trust this stack trace?

EE is there because it was set in the context that got interrupted, just
as all the other state is for the interrupted context.

-Scott

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-19 17:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18 23:53 watchdog exception on 8548CDS during cpu_idle Ming Lei
2009-11-19 17:37 ` Scott Wood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.