* mpc5200 linux 2.4 wakeup interrupt problem
@ 2007-04-20 22:07 RonLee
2007-04-23 6:27 ` Domen Puncer
0 siblings, 1 reply; 2+ messages in thread
From: RonLee @ 2007-04-20 22:07 UTC (permalink / raw)
To: linuxppc-embedded
Hello,
I am running linux on a mpc5200 chip and Im having problems with the
mpc5200's simple and wakeup interrupts. The version of Linux I am starting
with is linuxppc_2_4_devel_1_0_0 from Denx. Modifications have been made to
the kernel, but none for enabling the wakeup register set and/or the wakeup
interrupts.
Does a patch exist to enable this behavior? Can anyone point me in the
right direction if I would like to enable the wakeup interrupts myself?
I noticed the behavior when attempting to write a device driver to interface
with the psc1_4 pin on the mpc5200 chip. I am able to get the chip to
generate interrupts, but when the interrupts occur I get the following error
message in /proc/kmsg "Unhandled interrupt c, disabled". After getting this
error, I installed an interrupt handler on IRQ 12 (hex c). This caused the
kernel to lock up.
Thanks for any help,
-Ron
--
View this message in context: http://www.nabble.com/mpc5200-linux-2.4-wakeup-interrupt-problem-tf3620873.html#a10111122
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mpc5200 linux 2.4 wakeup interrupt problem
2007-04-20 22:07 mpc5200 linux 2.4 wakeup interrupt problem RonLee
@ 2007-04-23 6:27 ` Domen Puncer
0 siblings, 0 replies; 2+ messages in thread
From: Domen Puncer @ 2007-04-23 6:27 UTC (permalink / raw)
To: RonLee; +Cc: linuxppc-embedded
On 20/04/07 15:07 -0700, RonLee wrote:
>
> Hello,
>
> I am running linux on a mpc5200 chip and Im having problems with the
> mpc5200's simple and wakeup interrupts. The version of Linux I am starting
> with is linuxppc_2_4_devel_1_0_0 from Denx. Modifications have been made to
> the kernel, but none for enabling the wakeup register set and/or the wakeup
> interrupts.
>
> Does a patch exist to enable this behavior? Can anyone point me in the
> right direction if I would like to enable the wakeup interrupts myself?
>
> I noticed the behavior when attempting to write a device driver to interface
> with the psc1_4 pin on the mpc5200 chip. I am able to get the chip to
> generate interrupts, but when the interrupts occur I get the following error
> message in /proc/kmsg "Unhandled interrupt c, disabled". After getting this
> error, I installed an interrupt handler on IRQ 12 (hex c). This caused the
> kernel to lock up.
Maybe you forgot to acknowledge the IRQ (and so it always reenters your
handler). For gpio wakeup interrupts see wkup_istat (MBAR+0xc24).
HTH
Domen
>
> Thanks for any help,
> -Ron
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-23 6:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20 22:07 mpc5200 linux 2.4 wakeup interrupt problem RonLee
2007-04-23 6:27 ` Domen Puncer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).