diff options
author | Vernon Mauery <vernux@us.ibm.com> | 2010-10-05 18:47:18 -0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-10-21 10:10:46 -0400 |
commit | 35f0ce032b0f2d6974da516b5a113f49b7b70b09 (patch) | |
tree | c988974a4e0cb06e0bff53f29e6541d21631e16a /drivers/platform/x86/Kconfig | |
parent | 260586d2b444909380137de6c6423e5b44edf4db (diff) |
IBM Real-Time "SMI Free" mode driver -v7
After a period of RFC for this driver, I think it is ready
for inclusion in the platform-driver-x86 tree, hopefully to
be staged in the next merge window into Linus's tree.
--Vernon
------------------------------------------------------------
IBM Real-Time "SMI Free" mode driver
This driver supports the Real-Time Linux (RTL) BIOS feature.
The RTL feature allows non-fatal System Management Interrupts
(SMIs) to be disabled on supported IBM platforms and is
intended to be coupled with a user-space daemon to monitor
the hardware in a way that can be prioritized and scheduled
to better suit the requirements for the system.
The Device is presented as a special "_RTL_" table to the OS
in the Extended BIOS Data Area. There is a simple protocol
for entering and exiting the mode at runtime. This driver
creates a simple sysfs interface to allow a simple entry and
exit from RTL mode in the UFI/BIOS.
Since the driver is specific to IBM SystemX hardware (x86-
based servers) it only builds on x86 builds. To reduce the
risk of loading on the wrong hardware, the module uses DMI
information and checks a list of servers that are known to
work.
Signed-off-by: Vernon Mauery <vernux@us.ibm.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/Kconfig')
-rw-r--r-- | drivers/platform/x86/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 91e431b6f20f..faec777b1ed4 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig | |||
@@ -615,6 +615,22 @@ config INTEL_IPS | |||
615 | functionality. If in doubt, say Y here; it will only load on | 615 | functionality. If in doubt, say Y here; it will only load on |
616 | supported platforms. | 616 | supported platforms. |
617 | 617 | ||
618 | config IBM_RTL | ||
619 | tristate "Device driver to enable PRTL support" | ||
620 | depends on X86 && PCI | ||
621 | ---help--- | ||
622 | Enable support for IBM Premium Real Time Mode (PRTM). | ||
623 | This module will allow you the enter and exit PRTM in the BIOS via | ||
624 | sysfs on platforms that support this feature. System in PRTM will | ||
625 | not receive CPU-generated SMIs for recoverable errors. Use of this | ||
626 | feature without proper support may void your hardware warranty. | ||
627 | |||
628 | If the proper BIOS support is found the driver will load and create | ||
629 | /sys/devices/system/ibm_rtl/. The "state" variable will indicate | ||
630 | whether or not the BIOS is in PRTM. | ||
631 | state = 0 (BIOS SMIs on) | ||
632 | state = 1 (BIOS SMIs off) | ||
633 | |||
618 | config XO1_RFKILL | 634 | config XO1_RFKILL |
619 | tristate "OLPC XO-1 software RF kill switch" | 635 | tristate "OLPC XO-1 software RF kill switch" |
620 | depends on OLPC | 636 | depends on OLPC |