Skip to content

Commit dd2bc5c

Browse files
qnguyen-amperecminyard
authored andcommitted
ipmi: ssif_bmc: Add SSIF BMC driver
The SMBus system interface (SSIF) IPMI BMC driver can be used to perform in-band IPMI communication with their host in management (BMC) side. Thanks Dan for the copy_from_user() fix in the link below. Link: https://lore.kernel.org/linux-arm-kernel/20220310114119.13736-4-quan@os.amperecomputing.com/ Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com> Message-Id: <20221004093106.1653317-2-quan@os.amperecomputing.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
1 parent 9abf231 commit dd2bc5c

File tree

4 files changed

+902
-0
lines changed

4 files changed

+902
-0
lines changed

drivers/char/ipmi/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,16 @@ config ASPEED_BT_IPMI_BMC
169169
found on Aspeed SOCs (AST2400 and AST2500). The driver
170170
implements the BMC side of the BT interface.
171171

172+
config SSIF_IPMI_BMC
173+
tristate "SSIF IPMI BMC driver"
174+
depends on I2C && I2C_SLAVE
175+
help
176+
This enables the IPMI SMBus system interface (SSIF) at the
177+
management (BMC) side.
178+
179+
The driver implements the BMC side of the SMBus system
180+
interface (SSIF).
181+
172182
config IPMB_DEVICE_INTERFACE
173183
tristate 'IPMB Interface handler'
174184
depends on I2C

drivers/char/ipmi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ obj-$(CONFIG_ASPEED_BT_IPMI_BMC) += bt-bmc.o
3030
obj-$(CONFIG_ASPEED_KCS_IPMI_BMC) += kcs_bmc_aspeed.o
3131
obj-$(CONFIG_NPCM7XX_KCS_IPMI_BMC) += kcs_bmc_npcm7xx.o
3232
obj-$(CONFIG_IPMB_DEVICE_INTERFACE) += ipmb_dev_int.o
33+
obj-$(CONFIG_SSIF_IPMI_BMC) += ssif_bmc.o

0 commit comments

Comments
 (0)