From: Randy Dunlap <randy.dunlap@oracle.com>
To: Keith Mannthey <kmannth@us.ibm.com>
Cc: lkml <linux-kernel@vger.kernel.org>, John Stultz <johnstul@us.ibm.com>
Subject: Re: [RFC][Patch] IBM Real-Time "SMI Free" mode drive -v2
Date: Tue, 15 Dec 2009 15:12:13 -0800 [thread overview]
Message-ID: <20091215151213.8b357858.randy.dunlap@oracle.com> (raw)
In-Reply-To: <1260907788.6521.10.camel@keith-laptop>
On Tue, 15 Dec 2009 12:09:48 -0800 Keith Mannthey wrote:
> diff -urN linux-2.6.32/drivers/misc/ibmrtl/rtl.h linux-2.6.32-rtl/drivers/misc/ibmrtl/rtl.h
> --- linux-2.6.32/drivers/misc/ibmrtl/rtl.h 1969-12-31 16:00:00.000000000 -0800
> +++ linux-2.6.32-rtl/drivers/misc/ibmrtl/rtl.h 2009-12-11 10:24:23.000000000 -0800
> @@ -0,0 +1,27 @@
> +#include <linux/io.h>
> +
> +/* The RTL table looks something like
Is this documented somewhere? (besides here ;)
> + u8 signature[5];
> + u8 version;
> + u8 RT_Status;
> + u8 Command;
> + u8 CommandStatus;
> + u8 CMDAddressType;
> + u8 CmdGranularity;
> + u8 CmdOffset;
> + u16 Reserve1;
> + u8 CmdPortAddress[4];
> + u8 CmdPortValue[4];
> +*/
> +#define RTL_TABLE_SIZE 0x16
> +#define RTL_MAGIC_IDENT (('L'<<24)|('T'<<16)|('R'<<8)|'_')
> +#define RTL_VERSION 0x5
> +#define RTL_STATE 0x6
> +#define RTL_CMD 0x7
> +#define RTL_CMD_STATUS 0x8
> +#define RTL_CMD_PORT_ADDR 0xE
> +#define RTL_CMD_PORT_VALUE 0x12
> +
> +#define EDBA_ADDR 0x40E
> +#define RTL_ENABLE 1
> +#define RTL_DISABLE 2
> diff -urN linux-2.6.32/drivers/misc/Kconfig linux-2.6.32-rtl/drivers/misc/Kconfig
> --- linux-2.6.32/drivers/misc/Kconfig 2009-12-02 19:51:21.000000000 -0800
> +++ linux-2.6.32-rtl/drivers/misc/Kconfig 2009-12-11 10:24:23.000000000 -0800
> @@ -76,6 +76,22 @@
> information on the specific driver level and support statement
> for your IBM server.
>
> +config IBM_RTL
> + tristate "Device driver to enable IBM PRTL support"
> + depends on X86_MPPARSE && PCI && EXPERIMENTAL
> + ---help---
> + Enable support for IBM Premium Real Time Mode (PRTM).
> + This module will allow you the enter and exit PRTM in the BIOS via
> + sysfs on platforms that support this feature. System in PRTM will
> + not receive cpu generated SMIs for recoverable errors. Use of this
CPU-generated
> + feature without proper support may void your hardware warranty.
> +
> + If the proper bios support is found the driver will load and create
BIOS
> + /sys/devices/system/ibm_rtl/. The "state" variable will indicate
> + weather or not the BIOS is in PRTM.
> + state = 0 (BIOS SMI's on)
> + state = 1 (BIOS SMI's off)
> +
> config PHANTOM
> tristate "Sensable PHANToM (PCI)"
> depends on PCI
---
~Randy
next prev parent reply other threads:[~2009-12-15 23:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-15 20:09 Keith Mannthey
2009-12-15 23:12 ` Randy Dunlap [this message]
2009-12-15 23:58 ` Keith Mannthey
2009-12-15 23:49 ` Jonathan Corbet
2009-12-16 0:09 ` Thomas Gleixner
2009-12-16 0:38 ` Keith Mannthey
2009-12-16 0:50 ` Jonathan Corbet
2009-12-16 0:02 ` Alan Cox
2009-12-17 2:09 ` Keith Mannthey
2009-12-16 23:09 ` Peter Zijlstra
2009-12-17 1:37 ` john stultz
2009-12-17 2:06 ` Keith Mannthey
2009-12-17 1:50 ` Keith Mannthey
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=20091215151213.8b357858.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=johnstul@us.ibm.com \
--cc=kmannth@us.ibm.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
all inboxes | Powered by JetHome®