GNU Linux-libre 4.14.266-gnu1
[releases.git] / drivers / char / ipmi / Kconfig
1 #
2 # IPMI device configuration
3 #
4
5 menuconfig IPMI_HANDLER
6        tristate 'IPMI top-level message handler'
7        depends on HAS_IOMEM
8        select IPMI_DMI_DECODE if DMI
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
20 config IPMI_DMI_DECODE
21        bool
22
23 if IPMI_HANDLER
24
25 config IPMI_PANIC_EVENT
26        bool 'Generate a panic event to all BMCs on a panic'
27        help
28          When a panic occurs, this will cause the IPMI message handler to
29          generate an IPMI event describing the panic to each interface
30          registered with the message handler.
31
32 config IPMI_PANIC_STRING
33         bool 'Generate OEM events containing the panic string'
34         depends on IPMI_PANIC_EVENT
35         help
36           When a panic occurs, this will cause the IPMI message handler to
37           generate IPMI OEM type f0 events holding the IPMB address of the
38           panic generator (byte 4 of the event), a sequence number for the
39           string (byte 5 of the event) and part of the string (the rest of the
40           event).  Bytes 1, 2, and 3 are the normal usage for an OEM event.
41           You can fetch these events and use the sequence numbers to piece the
42           string together.
43
44 config IPMI_DEVICE_INTERFACE
45        tristate 'Device interface for IPMI'
46        help
47          This provides an IOCTL interface to the IPMI message handler so
48          userland processes may use IPMI.  It supports poll() and select().
49
50 config IPMI_SI
51        tristate 'IPMI System Interface handler'
52        help
53          Provides a driver for System Interfaces (KCS, SMIC, BT).
54          Currently, only KCS and SMIC are supported.  If
55          you are using IPMI, you should probably say "y" here.
56
57 config IPMI_SSIF
58        tristate 'IPMI SMBus handler (SSIF)'
59        select I2C
60        help
61          Provides a driver for a SMBus interface to a BMC, meaning that you
62          have a driver that must be accessed over an I2C bus instead of a
63          standard interface.  This module requires I2C support.
64
65 config IPMI_POWERNV
66        depends on PPC_POWERNV
67        tristate 'POWERNV (OPAL firmware) IPMI interface'
68        help
69          Provides a driver for OPAL firmware-based IPMI interfaces.
70
71 config IPMI_WATCHDOG
72        tristate 'IPMI Watchdog Timer'
73        help
74          This enables the IPMI watchdog timer.
75
76 config IPMI_POWEROFF
77        tristate 'IPMI Poweroff'
78        help
79          This enables a function to power off the system with IPMI if
80          the IPMI management controller is capable of this.
81
82 endif # IPMI_HANDLER
83
84 config ASPEED_BT_IPMI_BMC
85         depends on ARCH_ASPEED || COMPILE_TEST
86        depends on REGMAP && REGMAP_MMIO && MFD_SYSCON
87         tristate "BT IPMI bmc driver"
88         help
89           Provides a driver for the BT (Block Transfer) IPMI interface
90           found on Aspeed SOCs (AST2400 and AST2500). The driver
91           implements the BMC side of the BT interface.