linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Kimmo Surakka" <kusti@iki.fi>
To: linuxppc-embedded@ozlabs.org
Subject: Re: TQM5200 problems (kernel 2.4)
Date: Thu, 2 Aug 2007 12:17:30 +0300	[thread overview]
Message-ID: <a44e83440708020217s2875932fo7b2d8a57af311912@mail.gmail.com> (raw)
In-Reply-To: <a44e83440707052325q7114362chb85e6999f1e09da6@mail.gmail.com>

Hi all,

I've continued my tests with the TQM5200. It appears that the
"Warning: kfree_skb on hard IRQ c008ecfc" errors are happening
because ppp_async_encode calls kfree_skb. I think this in itself is
not a problem, but when I googled for "ppp_async_encode hard IRQ", I found this:

http://search.luky.org/linux-kernel.2001/msg37792.html and
http://search.luky.org/linux-kernel.2001/msg41315.html

It seems that the serial driver should be split into top-half and bottom-half
interrupt handlers. If I read the code right, this is not done either in
the 2.4 kernel (arch/ppc/5xxx_io/psc.c) or in the 2.6 tree
(drivers/serial/mpc52xx_uart.c).

It this really correct, i.e. is the problem in the serial driver or should
I just replace the kfree_skb call in ppp_async_encode with
dev_kfree_skb_any()?


-- 
Kimmo Surakka <kusti@iki.fi>
http://www.iki.fi/kusti

      reply	other threads:[~2007-08-02  9:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-04 14:51 TQM5200 problems (kernel 2.4) Kimmo Surakka
2007-07-05  6:54 ` Domen Puncer
2007-07-06  6:21   ` Kimmo Surakka
2007-07-05 22:13 ` Wolfgang Denk
2007-07-06  6:25   ` Kimmo Surakka
2007-08-02  9:17     ` Kimmo Surakka [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=a44e83440708020217s2875932fo7b2d8a57af311912@mail.gmail.com \
    --to=kusti@iki.fi \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).