lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 15 Dec 2009 15:12:13 -0800
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	Keith Mannthey <kmannth@...ibm.com>
Cc:	lkml <linux-kernel@...r.kernel.org>,
	John Stultz <johnstul@...ibm.com>
Subject: Re: [RFC][Patch] IBM Real-Time "SMI Free" mode drive -v2

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ