xref: /linux/drivers/char/ipmi/Kconfig (revision 1c9f98d1bfbd0696442f97fa7d43a727e1e16568)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# IPMI device configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5bcf6b4bbSJan Engelhardtmenuconfig IPMI_HANDLER
61da177e4SLinus Torvalds       tristate 'IPMI top-level message handler'
7bcf6b4bbSJan Engelhardt       depends on HAS_IOMEM
89f88145fSCorey Minyard       select IPMI_DMI_DECODE if DMI
91da177e4SLinus Torvalds       help
101da177e4SLinus Torvalds         This enables the central IPMI message handler, required for IPMI
111da177e4SLinus Torvalds	 to work.
121da177e4SLinus Torvalds
131da177e4SLinus Torvalds         IPMI is a standard for managing sensors (temperature,
141da177e4SLinus Torvalds         voltage, etc.) in a system.
151da177e4SLinus Torvalds
161da177e4SLinus Torvalds         See <file:Documentation/IPMI.txt> for more details on the driver.
171da177e4SLinus Torvalds
181da177e4SLinus Torvalds	 If unsure, say N.
191da177e4SLinus Torvalds
209f88145fSCorey Minyardconfig IPMI_DMI_DECODE
219f88145fSCorey Minyard       bool
229f88145fSCorey Minyard
23bcf6b4bbSJan Engelhardtif IPMI_HANDLER
24bcf6b4bbSJan Engelhardt
251da177e4SLinus Torvaldsconfig IPMI_PANIC_EVENT
261da177e4SLinus Torvalds       bool 'Generate a panic event to all BMCs on a panic'
271da177e4SLinus Torvalds       help
28*1c9f98d1SCorey Minyard	 When a panic occurs, this will cause the IPMI message handler to,
29*1c9f98d1SCorey Minyard	 by default, generate an IPMI event describing the panic to each
30*1c9f98d1SCorey Minyard	 interface registered with the message handler.  This is always
31*1c9f98d1SCorey Minyard	 available, the module parameter for ipmi_msghandler named
32*1c9f98d1SCorey Minyard	 panic_op can be set to "event" to chose this value, this config
33*1c9f98d1SCorey Minyard	 simply causes the default value to be set to "event".
341da177e4SLinus Torvalds
351da177e4SLinus Torvaldsconfig IPMI_PANIC_STRING
361da177e4SLinus Torvalds	bool 'Generate OEM events containing the panic string'
371da177e4SLinus Torvalds	depends on IPMI_PANIC_EVENT
381da177e4SLinus Torvalds	help
39*1c9f98d1SCorey Minyard	  When a panic occurs, this will cause the IPMI message handler to,
40*1c9f98d1SCorey Minyard	  by default, generate IPMI OEM type f0 events holding the IPMB
41*1c9f98d1SCorey Minyard	  address of the panic generator (byte 4 of the event), a sequence
42*1c9f98d1SCorey Minyard	  number for the string (byte 5 of the event) and part of the
43*1c9f98d1SCorey Minyard	  string (the rest of the event).  Bytes 1, 2, and 3 are the normal
44*1c9f98d1SCorey Minyard	  usage for an OEM event.  You can fetch these events and use the
45*1c9f98d1SCorey Minyard	  sequence numbers to piece the string together.  This config
46*1c9f98d1SCorey Minyard	  parameter sets the default value to generate these events,
47*1c9f98d1SCorey Minyard	  the module parameter for ipmi_msghandler named panic_op can
48*1c9f98d1SCorey Minyard	  be set to "string" to chose this value, this config simply
49*1c9f98d1SCorey Minyard	  causes the default value to be set to "string".
501da177e4SLinus Torvalds
511da177e4SLinus Torvaldsconfig IPMI_DEVICE_INTERFACE
521da177e4SLinus Torvalds       tristate 'Device interface for IPMI'
531da177e4SLinus Torvalds       help
541da177e4SLinus Torvalds         This provides an IOCTL interface to the IPMI message handler so
551da177e4SLinus Torvalds	 userland processes may use IPMI.  It supports poll() and select().
561da177e4SLinus Torvalds
571da177e4SLinus Torvaldsconfig IPMI_SI
581da177e4SLinus Torvalds       tristate 'IPMI System Interface handler'
591da177e4SLinus Torvalds       help
601da177e4SLinus Torvalds         Provides a driver for System Interfaces (KCS, SMIC, BT).
611da177e4SLinus Torvalds	 Currently, only KCS and SMIC are supported.  If
621da177e4SLinus Torvalds	 you are using IPMI, you should probably say "y" here.
631da177e4SLinus Torvalds
6425930707SCorey Minyardconfig IPMI_SSIF
6525930707SCorey Minyard       tristate 'IPMI SMBus handler (SSIF)'
6625930707SCorey Minyard       select I2C
6725930707SCorey Minyard       help
6825930707SCorey Minyard         Provides a driver for a SMBus interface to a BMC, meaning that you
6925930707SCorey Minyard	 have a driver that must be accessed over an I2C bus instead of a
7025930707SCorey Minyard	 standard interface.  This module requires I2C support.
7125930707SCorey Minyard
726a11e5c6SJeremy Kerrconfig IPMI_POWERNV
736a11e5c6SJeremy Kerr       depends on PPC_POWERNV
746a11e5c6SJeremy Kerr       tristate 'POWERNV (OPAL firmware) IPMI interface'
756a11e5c6SJeremy Kerr       help
766a11e5c6SJeremy Kerr         Provides a driver for OPAL firmware-based IPMI interfaces.
776a11e5c6SJeremy Kerr
781da177e4SLinus Torvaldsconfig IPMI_WATCHDOG
791da177e4SLinus Torvalds       tristate 'IPMI Watchdog Timer'
801da177e4SLinus Torvalds       help
811da177e4SLinus Torvalds         This enables the IPMI watchdog timer.
821da177e4SLinus Torvalds
831da177e4SLinus Torvaldsconfig IPMI_POWEROFF
841da177e4SLinus Torvalds       tristate 'IPMI Poweroff'
851da177e4SLinus Torvalds       help
861da177e4SLinus Torvalds         This enables a function to power off the system with IPMI if
871da177e4SLinus Torvalds	 the IPMI management controller is capable of this.
881da177e4SLinus Torvalds
89bcf6b4bbSJan Engelhardtendif # IPMI_HANDLER
9054f9c4d0SAlistair Popple
9154f9c4d0SAlistair Poppleconfig ASPEED_BT_IPMI_BMC
92eb994594SAndrew Jeffery	depends on ARCH_ASPEED || COMPILE_TEST
93eb994594SAndrew Jeffery       depends on REGMAP && REGMAP_MMIO && MFD_SYSCON
9454f9c4d0SAlistair Popple	tristate "BT IPMI bmc driver"
9554f9c4d0SAlistair Popple	help
9654f9c4d0SAlistair Popple	  Provides a driver for the BT (Block Transfer) IPMI interface
9754f9c4d0SAlistair Popple	  found on Aspeed SOCs (AST2400 and AST2500). The driver
9854f9c4d0SAlistair Popple	  implements the BMC side of the BT interface.
99