From: Arnd Bergmann <arnd@arndb.de>
To: "Weil, Oren jer" <oren.jer.weil@intel.com>
Cc: Greg KH <gregkh@suse.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"alan@linux.intel.com" <alan@linux.intel.com>,
"david@woodhou.se" <david@woodhou.se>
Subject: Re: [PATCH 0/7] char/mei: Intel MEI Driver
Date: Thu, 24 Mar 2011 14:10:53 +0100 [thread overview]
Message-ID: <201103241410.53871.arnd@arndb.de> (raw)
In-Reply-To: <F28B59AD52D84B479DCA469824475335065A9EF74E@hasmsx503.ger.corp.intel.com>
On Thursday 24 March 2011, Weil, Oren jer wrote:
> >For a simple example, look at drivers/watchdog/riowd.c (most other files in
> >that directory do as well), just replace the riowd_writereg() function in
> there
> >with one that calls an exported function from your hardware. This should
> >really be trivial to do.
>
> our Watchdog is a FW Client (FW Feature) so in order to communicate with it
> we need
> use the MEI Driver functions. (Send Connect Message, Send and Recv Data).
> AFAIK, I can't use sys_open/sys_write to communicate with the MEI Driver, I
> need to expose
> functions that handles all of that communication, right?
Yes. Use EXPORT_SYMBOL_GPL().
> >> So you need to add support to the watchdog infrastructure for this?
> >> For some reason I thought you could kick the watchdog from within
> >> kernel code, did I get this wrong?
>
> >A watchdog must be triggered from user space, in Linux we do this by
> writing
> >to /dev/watchdog. If you did it from kernel space, the watchdog would not
> >detect the case where the system is half-broken and still able to trigger
> the
> >watchdog, but not do much beyond that.
>
> The Intel AMT Watchdog is not like a regular Watchdog, our interface is
> like regular watchdog (set timeout API, ping API and etc..)
> But when the watchdog expired the system will not be reboot, the AMT
> Watchdog is sending a OOB Message/Event
> to remote management console and the console software can decide what to do.
> (it can notify the operator to check why
> the system hangs, it can send a OOB reboot command to reboot the hang system
> and etc...)
Close enough, I guess.
Arnd
next prev parent reply other threads:[~2011-03-24 13:11 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-22 10:51 [PATCH 0/7] char/mei: Intel MEI Driver Oren Weil
2011-03-22 10:51 ` [PATCH 1/7] char/mei: PCI device and char driver support Oren Weil
2011-03-22 17:22 ` Arnd Bergmann
2011-03-22 21:57 ` Alan Cox
2011-03-22 22:22 ` Greg KH
2011-03-22 23:04 ` Alan Cox
2011-03-23 7:59 ` Arnd Bergmann
2011-03-22 10:51 ` [PATCH 2/7] char/mei: Interrupt handling Oren Weil
2011-03-22 10:51 ` [PATCH 3/7] char/mei: MEI "Link" layer code - MEI Hardware communications Oren Weil
2011-03-22 10:51 ` [PATCH 4/7] char/mei: MEI driver init flow Oren Weil
2011-03-22 10:51 ` [PATCH 5/7] char/mei: Hardware and MEI driver internal struct definition Oren Weil
2011-03-22 10:51 ` [PATCH 6/7] char/mei: Header file contain the Userland API, (IOCTL and its struct) Oren Weil
2011-03-22 16:26 ` Greg KH
2011-03-22 16:41 ` Arnd Bergmann
2011-03-22 10:51 ` [PATCH 7/7] char/mei: Updates to char/Kconfig ane char/Makefile Oren Weil
2011-03-23 21:43 ` Valdis.Kletnieks
2011-03-22 16:23 ` [PATCH 0/7] char/mei: Intel MEI Driver Greg KH
2011-03-23 12:25 ` Weil, Oren jer
2011-03-23 13:50 ` Greg KH
2011-03-22 16:50 ` Arnd Bergmann
2011-03-23 7:20 ` Weil, Oren jer
2011-03-23 13:51 ` Greg KH
2011-03-23 15:55 ` Weil, Oren jer
2011-03-23 16:06 ` Greg KH
2011-03-23 16:20 ` Arnd Bergmann
2011-03-24 12:54 ` Weil, Oren jer
2011-03-24 13:10 ` Arnd Bergmann [this message]
2011-04-04 15:54 ` Pavel Machek
2011-04-05 6:01 ` Weil, Oren jer
2011-04-18 13:53 ` Pavel Machek
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=201103241410.53871.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=alan@linux.intel.com \
--cc=david@woodhou.se \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=oren.jer.weil@intel.com \
/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