From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Corey Minyard <cminyard@mvista.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ipmi: Run a dummy command before submitting a new command
Date: Tue, 26 Oct 2010 18:45:40 +0100 [thread overview]
Message-ID: <20101026174540.GA15395@srcf.ucam.org> (raw)
In-Reply-To: <20100727172100.GC7324@srcf.ucam.org>
I've finally had time to look at this more closely. The following patch
seems to make things happy, but I still don't have a full understanding
of what's going on.
(Background: Some HP ilo firmware versions are unhappy due to
3326f4f2276791561af1fd5f2020be0186459813 . Running a dummy command in
schedule() works around this but clearly isn't the right answer. Turns
out that this also breaks IPMI on some Suns, and Oracle reverted this in
their kernel but never told me. Thoracle)
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index e537610..763af8f 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -901,6 +901,8 @@ static void sender(void *send_info,
mod_timer(&smi_info->si_timer, jiffies + SI_TIMEOUT_JIFFIES);
+ smi_info->last_timeout_jiffies = jiffies;
+
if (smi_info->thread)
wake_up_process(smi_info->thread);
--
Matthew Garrett | mjg59@srcf.ucam.org
prev parent reply other threads:[~2010-10-26 17:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-27 16:01 [PATCH] ipmi: Run a dummy command before submitting a new command Matthew Garrett
2010-07-27 17:07 ` Corey Minyard
2010-07-27 17:21 ` Matthew Garrett
2010-10-26 17:45 ` Matthew Garrett [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=20101026174540.GA15395@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=cminyard@mvista.com \
--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