public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Corey Minyard <minyard@acm.org>
To: Arkadiusz Miskiewicz <arekm@pld-linux.org>
Cc: Holger Kiehl <Holger.Kiehl@dwd.de>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: IPMI watchdog question
Date: Mon, 02 Aug 2004 11:51:26 -0500	[thread overview]
Message-ID: <410E710E.20004@acm.org> (raw)
In-Reply-To: <200408021829.18228.arekm@pld-linux.org>

Arkadiusz Miskiewicz wrote:

>On Monday 02 of August 2004 17:35, Corey Minyard wrote:
>  
>
>>The IPMI watchdog has never supported writing "V" to disable it.  It's a
>>mixed bag with the other watchdogs, some do and some don't, but I can
>>certainly add that function.  Or even better, I'd be happy to take a
>>patch :).
>>    
>>
>
>Like this one (untested beside compilation) below?
>
>btw. other watchdog drivers use:
>
>	if(test_and_set_bit(0, &wdt_is_open))
>                return -EBUSY;
>
>while ipmi does just:
>	ipmi_wdog_open = 0;
>
>should it also use bit operations or setting =0 is just fine?
>
You are correct, a test and set operation is really needed.

>
>Patch:
>
>- support disabling watchdog by writting ,,V'' to device.
>- unify printk()
>
>Signed-off-by: Arkadiusz Miskiewicz <arekm@pld-linux.org>
>  
>
Your patch looks very good.  Could you add the test and set change, 
too?  Then I think it is ready to go in.

-Corey


  reply	other threads:[~2004-08-02 16:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-28  9:08 IPMI watchdog question Holger Kiehl
2004-07-28  9:29 ` Arkadiusz Miskiewicz
2004-07-28 10:33   ` Holger Kiehl
2004-07-28 10:46     ` Arkadiusz Miskiewicz
2004-08-02 12:02       ` Holger Kiehl
2004-08-02 15:35         ` Corey Minyard
2004-08-02 16:29           ` Arkadiusz Miskiewicz
2004-08-02 16:51             ` Corey Minyard [this message]
2004-08-02 17:05               ` Arkadiusz Miskiewicz
2004-08-03  8:46                 ` Holger Kiehl

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=410E710E.20004@acm.org \
    --to=minyard@acm.org \
    --cc=Holger.Kiehl@dwd.de \
    --cc=arekm@pld-linux.org \
    --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