mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "J.J. Green" <j.j.green@sheffield.ac.uk>
To: linux-kernel@vger.kernel.org
Subject: sparc64 / bbc_i2c.c
Date: Tue, 20 Feb 2007 13:27:12 +0000	[thread overview]
Message-ID: <1171978032.18442.11.camel@lax.shef.ac.uk> (raw)

Hi all

I got bitten by this problem on sparc64 (a blade 1000)

  http://ubuntuforums.org/showthread.php?t=297474

summary :

  modprobe bbc

runs kenvctrld which uses 100% of a CPU for 5 seconds,
then 0% for 5 seconds, then 100% .. and so on. The author
cited above suggests removing the line 

  remove_wait_queue(&bp->wq, &wait);

in the function 

  static int wait_for_pin(struct bbc_i2c_bus *bp, u8 *status)

Is there a better way?

I can test patches if that would be helpful.

Cheers

Jim
-- 
J.J. Green, Dept. Applied Mathematics, Hicks Bld.,
University of Sheffield, UK.   +44 (0114) 222 3742
http://pdfb.wiredworkplace.net/pub/jjg         




             reply	other threads:[~2007-02-20 14:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20 13:27 J.J. Green [this message]
2007-02-25 12:47 ` Andrew Morton
2007-02-25 13:33   ` Emanuele Rocca
2007-02-25 23:58   ` J.J.Green
2007-02-26 18:12     ` David Miller
2007-02-27  5:22       ` Joerg Friedrich
2007-02-27  5:29         ` David Miller

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=1171978032.18442.11.camel@lax.shef.ac.uk \
    --to=j.j.green@sheffield.ac.uk \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®