2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# IPMI device configuration
|
|
|
|
#
|
|
|
|
|
2007-07-16 06:39:28 +00:00
|
|
|
menuconfig IPMI_HANDLER
|
2019-11-21 13:28:41 +00:00
|
|
|
tristate 'IPMI top-level message handler'
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
select IPMI_DMI_DECODE if DMI
|
|
|
|
help
|
|
|
|
This enables the central IPMI message handler, required for IPMI
|
|
|
|
to work.
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2019-11-21 13:28:41 +00:00
|
|
|
IPMI is a standard for managing sensors (temperature,
|
|
|
|
voltage, etc.) in a system.
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2020-05-01 15:37:49 +00:00
|
|
|
See <file:Documentation/driver-api/ipmi.rst> for more details on the driver.
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2019-11-21 13:28:41 +00:00
|
|
|
If unsure, say N.
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2017-06-10 02:19:52 +00:00
|
|
|
config IPMI_DMI_DECODE
|
2019-11-21 13:28:41 +00:00
|
|
|
select IPMI_PLAT_DATA
|
|
|
|
bool
|
2019-02-21 20:21:17 +00:00
|
|
|
|
|
|
|
config IPMI_PLAT_DATA
|
2019-11-21 13:28:41 +00:00
|
|
|
bool
|
2017-06-10 02:19:52 +00:00
|
|
|
|
2007-07-16 06:39:28 +00:00
|
|
|
if IPMI_HANDLER
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
config IPMI_PANIC_EVENT
|
2019-11-21 13:28:41 +00:00
|
|
|
bool 'Generate a panic event to all BMCs on a panic'
|
|
|
|
help
|
|
|
|
When a panic occurs, this will cause the IPMI message handler to,
|
|
|
|
by default, generate an IPMI event describing the panic to each
|
|
|
|
interface registered with the message handler. This is always
|
|
|
|
available, the module parameter for ipmi_msghandler named
|
|
|
|
panic_op can be set to "event" to chose this value, this config
|
|
|
|
simply causes the default value to be set to "event".
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
config IPMI_PANIC_STRING
|
|
|
|
bool 'Generate OEM events containing the panic string'
|
|
|
|
depends on IPMI_PANIC_EVENT
|
|
|
|
help
|
2017-08-18 22:32:03 +00:00
|
|
|
When a panic occurs, this will cause the IPMI message handler to,
|
|
|
|
by default, generate IPMI OEM type f0 events holding the IPMB
|
|
|
|
address of the panic generator (byte 4 of the event), a sequence
|
|
|
|
number for the string (byte 5 of the event) and part of the
|
|
|
|
string (the rest of the event). Bytes 1, 2, and 3 are the normal
|
|
|
|
usage for an OEM event. You can fetch these events and use the
|
|
|
|
sequence numbers to piece the string together. This config
|
|
|
|
parameter sets the default value to generate these events,
|
|
|
|
the module parameter for ipmi_msghandler named panic_op can
|
|
|
|
be set to "string" to chose this value, this config simply
|
|
|
|
causes the default value to be set to "string".
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
config IPMI_DEVICE_INTERFACE
|
2019-11-21 13:28:41 +00:00
|
|
|
tristate 'Device interface for IPMI'
|
|
|
|
help
|
|
|
|
This provides an IOCTL interface to the IPMI message handler so
|
|
|
|
userland processes may use IPMI. It supports poll() and select().
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
config IPMI_SI
|
2019-11-21 13:28:41 +00:00
|
|
|
tristate 'IPMI System Interface handler'
|
|
|
|
select IPMI_PLAT_DATA
|
|
|
|
help
|
|
|
|
Provides a driver for System Interfaces (KCS, SMIC, BT).
|
|
|
|
Currently, only KCS and SMIC are supported. If
|
|
|
|
you are using IPMI, you should probably say "y" here.
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2012-03-19 21:00:55 +00:00
|
|
|
config IPMI_SSIF
|
2019-11-21 13:28:41 +00:00
|
|
|
tristate 'IPMI SMBus handler (SSIF)'
|
|
|
|
select I2C
|
|
|
|
help
|
|
|
|
Provides a driver for a SMBus interface to a BMC, meaning that you
|
|
|
|
have a driver that must be accessed over an I2C bus instead of a
|
|
|
|
standard interface. This module requires I2C support.
|
2012-03-19 21:00:55 +00:00
|
|
|
|
2014-11-12 07:41:05 +00:00
|
|
|
config IPMI_POWERNV
|
2019-11-21 13:28:41 +00:00
|
|
|
depends on PPC_POWERNV
|
|
|
|
tristate 'POWERNV (OPAL firmware) IPMI interface'
|
|
|
|
help
|
|
|
|
Provides a driver for OPAL firmware-based IPMI interfaces.
|
2014-11-12 07:41:05 +00:00
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
config IPMI_WATCHDOG
|
2019-11-21 13:28:41 +00:00
|
|
|
tristate 'IPMI Watchdog Timer'
|
|
|
|
help
|
|
|
|
This enables the IPMI watchdog timer.
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
config IPMI_POWEROFF
|
2019-11-21 13:28:41 +00:00
|
|
|
tristate 'IPMI Poweroff'
|
|
|
|
help
|
|
|
|
This enables a function to power off the system with IPMI if
|
|
|
|
the IPMI management controller is capable of this.
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2007-07-16 06:39:28 +00:00
|
|
|
endif # IPMI_HANDLER
|
2016-09-20 07:01:38 +00:00
|
|
|
|
2018-02-02 02:16:10 +00:00
|
|
|
config IPMI_KCS_BMC
|
|
|
|
tristate
|
|
|
|
|
2018-02-02 02:16:11 +00:00
|
|
|
config ASPEED_KCS_IPMI_BMC
|
|
|
|
depends on ARCH_ASPEED || COMPILE_TEST
|
|
|
|
select IPMI_KCS_BMC
|
|
|
|
select REGMAP_MMIO
|
|
|
|
tristate "Aspeed KCS IPMI BMC driver"
|
|
|
|
help
|
|
|
|
Provides a driver for the KCS (Keyboard Controller Style) IPMI
|
|
|
|
interface found on Aspeed SOCs (AST2400 and AST2500).
|
|
|
|
|
|
|
|
The driver implements the BMC side of the KCS contorller, it
|
|
|
|
provides the access of KCS IO space for BMC side.
|
|
|
|
|
2018-03-22 12:50:15 +00:00
|
|
|
config NPCM7XX_KCS_IPMI_BMC
|
|
|
|
depends on ARCH_NPCM7XX || COMPILE_TEST
|
|
|
|
select IPMI_KCS_BMC
|
|
|
|
select REGMAP_MMIO
|
|
|
|
tristate "NPCM7xx KCS IPMI BMC driver"
|
|
|
|
help
|
|
|
|
Provides a driver for the KCS (Keyboard Controller Style) IPMI
|
|
|
|
interface found on Nuvoton NPCM7xx SOCs.
|
|
|
|
|
|
|
|
The driver implements the BMC side of the KCS contorller, it
|
|
|
|
provides the access of KCS IO space for BMC side.
|
|
|
|
|
|
|
|
This support is also available as a module. If so, the module
|
|
|
|
will be called kcs_bmc_npcm7xx.
|
|
|
|
|
2021-06-08 10:47:49 +00:00
|
|
|
config IPMI_KCS_BMC_CDEV_IPMI
|
|
|
|
depends on IPMI_KCS_BMC
|
|
|
|
tristate "IPMI character device interface for BMC KCS devices"
|
|
|
|
help
|
|
|
|
Provides a BMC-side character device implementing IPMI
|
|
|
|
semantics for KCS IPMI devices.
|
|
|
|
|
|
|
|
Say YES if you wish to expose KCS devices on the BMC for IPMI
|
|
|
|
purposes.
|
|
|
|
|
|
|
|
This support is also available as a module. The module will be
|
|
|
|
called kcs_bmc_cdev_ipmi.
|
|
|
|
|
2021-06-08 10:47:52 +00:00
|
|
|
config IPMI_KCS_BMC_SERIO
|
|
|
|
depends on IPMI_KCS_BMC && SERIO
|
|
|
|
tristate "SerIO adaptor for BMC KCS devices"
|
|
|
|
help
|
|
|
|
Adapts the BMC KCS device for the SerIO subsystem. This allows users
|
|
|
|
to take advantage of userspace interfaces provided by SerIO where
|
|
|
|
appropriate.
|
|
|
|
|
|
|
|
Say YES if you wish to expose KCS devices on the BMC via SerIO
|
|
|
|
interfaces.
|
|
|
|
|
|
|
|
This support is also available as a module. The module will be
|
|
|
|
called kcs_bmc_serio.
|
|
|
|
|
2016-09-20 07:01:38 +00:00
|
|
|
config ASPEED_BT_IPMI_BMC
|
2017-02-20 15:23:00 +00:00
|
|
|
depends on ARCH_ASPEED || COMPILE_TEST
|
2019-11-21 13:28:41 +00:00
|
|
|
depends on REGMAP && REGMAP_MMIO && MFD_SYSCON
|
2016-09-20 07:01:38 +00:00
|
|
|
tristate "BT IPMI bmc driver"
|
|
|
|
help
|
|
|
|
Provides a driver for the BT (Block Transfer) IPMI interface
|
|
|
|
found on Aspeed SOCs (AST2400 and AST2500). The driver
|
|
|
|
implements the BMC side of the BT interface.
|
2019-06-10 18:57:02 +00:00
|
|
|
|
|
|
|
config IPMB_DEVICE_INTERFACE
|
|
|
|
tristate 'IPMB Interface handler'
|
2019-06-12 03:18:25 +00:00
|
|
|
depends on I2C
|
2019-06-10 18:57:02 +00:00
|
|
|
depends on I2C_SLAVE
|
|
|
|
help
|
|
|
|
Provides a driver for a device (Satellite MC) to
|
|
|
|
receive requests and send responses back to the BMC via
|
|
|
|
the IPMB interface. This module requires I2C support.
|