All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Jan Beulich <JBeulich@suse.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>, Tim Deegan <tim@xen.org>
Subject: Re: [RFC] x86/watchdog: Always disable watchdog before console_force_unlock()
Date: Mon, 12 Aug 2013 12:31:05 +0100	[thread overview]
Message-ID: <CE2E8609.3092E%keir.xen@gmail.com> (raw)
In-Reply-To: <5208CA7502000078000EB1B1@nat28.tlf.novell.com>

On 12/08/2013 10:43, "Jan Beulich" <JBeulich@suse.com> wrote:

>>>> On 12.08.13 at 11:35, Andrew Cooper <andrew.cooper3@citrix.com> wrote:
>> On 12/08/13 09:50, Jan Beulich wrote:
>>>>>> On 09.08.13 at 23:17, Andrew Cooper <andrew.cooper3@citrix.com> wrote:
>>>> console_force_unlock() is only on emergency paths, so one way or another
>>>> the
>>>> host is going down.  Disable the watchdog before forcing the console lock
>>>> to
>>>> help prevent having pcpus completing with each other to bring the host
>>>> down.
>>> So perhaps rather than calling watchdog_disable() before calling
>>> console_force_unlock(), would we not better call the former first
>>> thing from the latter?
>> 
>> That was indeed my first attempt, but console_force_unlock() is common
>> while watchdog_* is x86.
>> 
>> I could convert the watchdog to arch specific.  I suppose it is
>> possible/likely that the Arm folk might want to implement and use
>> watchdogs ?
> 
> So would I think. Just have ARM have an empty function for the
> moment.

Yes, watchdog is not an x86-specific concept so making some general-purpose
watchdog functions common and stubbed out on some architectures makes total
sense.

 -- Keir

> Jan
> 

      reply	other threads:[~2013-08-12 11:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09 21:17 [RFC] x86/watchdog: Always disable watchdog before console_force_unlock() Andrew Cooper
2013-08-12  8:50 ` Jan Beulich
2013-08-12  9:35   ` Andrew Cooper
2013-08-12  9:43     ` Jan Beulich
2013-08-12 11:31       ` Keir Fraser [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=CE2E8609.3092E%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.