From: Domen Puncer <domen.puncer@telargo•com>
To: RonLee <rlee@osii•com>
Cc: linuxppc-embedded@ozlabs•org
Subject: Re: mpc5200 linux 2.4 wakeup interrupt problem
Date: Mon, 23 Apr 2007 08:27:06 +0200 [thread overview]
Message-ID: <20070423062706.GW18236@moe.telargo.com> (raw)
In-Reply-To: <10111122.post@talk.nabble.com>
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
prev parent reply other threads:[~2007-04-23 6:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-20 22:07 mpc5200 linux 2.4 wakeup interrupt problem RonLee
2007-04-23 6:27 ` Domen Puncer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070423062706.GW18236@moe.telargo.com \
--to=domen.puncer@telargo$(echo .)com \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
--cc=rlee@osii$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox