Skip to content

Commit

Permalink
ipmi: ssif_bmc: Add SSIF BMC driver
Browse files Browse the repository at this point in the history
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.

OpenBMC-Staging-Count: 1
Link: https://lore.kernel.org/linux-arm-kernel/20220310114119.13736-4-quan@os.amperecomputing.com/
Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20221004093106.1653317-2-quan@os.amperecomputing.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
  • Loading branch information
qnguyen-ampere authored and shenki committed Nov 15, 2022
1 parent 9cd3cf4 commit 3ae6554
Show file tree
Hide file tree
Showing 4 changed files with 902 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/char/ipmi/Kconfig
Expand Up @@ -186,6 +186,16 @@ config ASPEED_BT_IPMI_BMC
found on Aspeed SOCs (AST2400 and AST2500). The driver
implements the BMC side of the BT interface.

config SSIF_IPMI_BMC
tristate "SSIF IPMI BMC driver"
depends on I2C && I2C_SLAVE
help
This enables the IPMI SMBus system interface (SSIF) at the
management (BMC) side.

The driver implements the BMC side of the SMBus system
interface (SSIF).

config IPMB_DEVICE_INTERFACE
tristate 'IPMB Interface handler'
depends on I2C
Expand Down
1 change: 1 addition & 0 deletions drivers/char/ipmi/Makefile
Expand Up @@ -31,3 +31,4 @@ obj-$(CONFIG_ASPEED_BT_IPMI_BMC) += bt-bmc.o
obj-$(CONFIG_ASPEED_KCS_IPMI_BMC) += kcs_bmc_aspeed.o
obj-$(CONFIG_NPCM7XX_KCS_IPMI_BMC) += kcs_bmc_npcm7xx.o
obj-$(CONFIG_IPMB_DEVICE_INTERFACE) += ipmb_dev_int.o
obj-$(CONFIG_SSIF_IPMI_BMC) += ssif_bmc.o

0 comments on commit 3ae6554

Please sign in to comment.