Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # IPMI device configuration |
| 3 | # |
| 4 | |
Jan Engelhardt | bcf6b4b | 2007-07-15 23:39:28 -0700 | [diff] [blame] | 5 | menuconfig IPMI_HANDLER |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | tristate 'IPMI top-level message handler' |
Jan Engelhardt | bcf6b4b | 2007-07-15 23:39:28 -0700 | [diff] [blame] | 7 | depends on HAS_IOMEM |
Corey Minyard | 9f88145 | 2017-06-09 21:19:52 -0500 | [diff] [blame] | 8 | select IPMI_DMI_DECODE if DMI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | help |
| 10 | This enables the central IPMI message handler, required for IPMI |
| 11 | to work. |
| 12 | |
| 13 | IPMI is a standard for managing sensors (temperature, |
| 14 | voltage, etc.) in a system. |
| 15 | |
| 16 | See <file:Documentation/IPMI.txt> for more details on the driver. |
| 17 | |
| 18 | If unsure, say N. |
| 19 | |
Corey Minyard | 9f88145 | 2017-06-09 21:19:52 -0500 | [diff] [blame] | 20 | config IPMI_DMI_DECODE |
| 21 | bool |
| 22 | |
Jan Engelhardt | bcf6b4b | 2007-07-15 23:39:28 -0700 | [diff] [blame] | 23 | if IPMI_HANDLER |
| 24 | |
Corey Minyard | 55f91cb | 2017-09-16 15:51:25 -0500 | [diff] [blame] | 25 | config IPMI_PROC_INTERFACE |
| 26 | bool 'Provide an interface for IPMI stats in /proc (deprecated)' |
| 27 | depends on PROC_FS |
| 28 | default y |
| 29 | help |
| 30 | Do not use this any more, use sysfs for this info. It will be |
| 31 | removed in future kernel versions. |
| 32 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | config IPMI_PANIC_EVENT |
| 34 | bool 'Generate a panic event to all BMCs on a panic' |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 35 | help |
Corey Minyard | 1c9f98d | 2017-08-18 17:32:03 -0500 | [diff] [blame] | 36 | When a panic occurs, this will cause the IPMI message handler to, |
| 37 | by default, generate an IPMI event describing the panic to each |
| 38 | interface registered with the message handler. This is always |
| 39 | available, the module parameter for ipmi_msghandler named |
| 40 | panic_op can be set to "event" to chose this value, this config |
| 41 | simply causes the default value to be set to "event". |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 42 | |
| 43 | config IPMI_PANIC_STRING |
| 44 | bool 'Generate OEM events containing the panic string' |
| 45 | depends on IPMI_PANIC_EVENT |
| 46 | help |
Corey Minyard | 1c9f98d | 2017-08-18 17:32:03 -0500 | [diff] [blame] | 47 | When a panic occurs, this will cause the IPMI message handler to, |
| 48 | by default, generate IPMI OEM type f0 events holding the IPMB |
| 49 | address of the panic generator (byte 4 of the event), a sequence |
| 50 | number for the string (byte 5 of the event) and part of the |
| 51 | string (the rest of the event). Bytes 1, 2, and 3 are the normal |
| 52 | usage for an OEM event. You can fetch these events and use the |
| 53 | sequence numbers to piece the string together. This config |
| 54 | parameter sets the default value to generate these events, |
| 55 | the module parameter for ipmi_msghandler named panic_op can |
| 56 | be set to "string" to chose this value, this config simply |
| 57 | causes the default value to be set to "string". |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | |
| 59 | config IPMI_DEVICE_INTERFACE |
| 60 | tristate 'Device interface for IPMI' |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 61 | help |
| 62 | This provides an IOCTL interface to the IPMI message handler so |
| 63 | userland processes may use IPMI. It supports poll() and select(). |
| 64 | |
| 65 | config IPMI_SI |
| 66 | tristate 'IPMI System Interface handler' |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 67 | help |
| 68 | Provides a driver for System Interfaces (KCS, SMIC, BT). |
| 69 | Currently, only KCS and SMIC are supported. If |
| 70 | you are using IPMI, you should probably say "y" here. |
| 71 | |
Corey Minyard | 2593070 | 2012-03-19 16:00:55 -0500 | [diff] [blame] | 72 | config IPMI_SSIF |
| 73 | tristate 'IPMI SMBus handler (SSIF)' |
| 74 | select I2C |
| 75 | help |
| 76 | Provides a driver for a SMBus interface to a BMC, meaning that you |
| 77 | have a driver that must be accessed over an I2C bus instead of a |
| 78 | standard interface. This module requires I2C support. |
| 79 | |
Jeremy Kerr | 6a11e5c | 2014-11-12 15:41:05 +0800 | [diff] [blame] | 80 | config IPMI_POWERNV |
| 81 | depends on PPC_POWERNV |
| 82 | tristate 'POWERNV (OPAL firmware) IPMI interface' |
| 83 | help |
| 84 | Provides a driver for OPAL firmware-based IPMI interfaces. |
| 85 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 86 | config IPMI_WATCHDOG |
| 87 | tristate 'IPMI Watchdog Timer' |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 88 | help |
| 89 | This enables the IPMI watchdog timer. |
| 90 | |
| 91 | config IPMI_POWEROFF |
| 92 | tristate 'IPMI Poweroff' |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 93 | help |
| 94 | This enables a function to power off the system with IPMI if |
| 95 | the IPMI management controller is capable of this. |
| 96 | |
Jan Engelhardt | bcf6b4b | 2007-07-15 23:39:28 -0700 | [diff] [blame] | 97 | endif # IPMI_HANDLER |
Alistair Popple | 54f9c4d | 2016-09-20 09:01:38 +0200 | [diff] [blame] | 98 | |
| 99 | config ASPEED_BT_IPMI_BMC |
Andrew Jeffery | eb99459 | 2017-02-21 01:53:00 +1030 | [diff] [blame] | 100 | depends on ARCH_ASPEED || COMPILE_TEST |
| 101 | depends on REGMAP && REGMAP_MMIO && MFD_SYSCON |
Alistair Popple | 54f9c4d | 2016-09-20 09:01:38 +0200 | [diff] [blame] | 102 | tristate "BT IPMI bmc driver" |
| 103 | help |
| 104 | Provides a driver for the BT (Block Transfer) IPMI interface |
| 105 | found on Aspeed SOCs (AST2400 and AST2500). The driver |
| 106 | implements the BMC side of the BT interface. |