Skip to contentSkip to conversation

ACPI / IPMI: allow ACPI_IPMI with IPMI_SSIF

PATCH Superseded Sinan Kaya 3 participants 4 messages Mar 23, 2017 – Mar 25, 2017

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Sinan Kaya

author
#0 lore raw

PATCH 1/1 ACPI / IPMI: allow ACPI_IPMI with IPMI_SSIF

ACPI_IPMI driver currently depends on IPMI System Interface (IPMI_SI) driver to be enabled. IPMI_SI driver only handles KCS, SMIC and BT BMC interfaces.

IPMI_SSIF is an alternative BMC communication method. It allows BMC to be accessed over an I2C bus instead of a standard interface.

Enabling ACPI_IPMI over IPMI_SSIF with this change.

---
 drivers/acpi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/Kconfig +1 -1
index 83e5f7e..8767062 100644
@@ -256,7 +256,7 @@ config ACPI_PROCESSOR
 
 config ACPI_IPMI
 	tristate "IPMI"
-	depends on IPMI_SI
+	depends on IPMI_SI||IPMI_SSIF
 	default n
 	help
 	  This driver enables the ACPI to access the BMC controller. And it
Signature · 1 line
1.9.1
#1 lore raw

drivers/acpi/Kconfig config ACPI_PROCESSOR · line 259

Quoted 1 line · Sinan Kaya
drivers/acpi/Kconfig +1 -0
+	depends on IPMI_SI||IPMI_SSIF

Blank spaces around ||.

Signature · 3 lines
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc.  Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
#2 lore raw
In reply to Sinan Kaya

Oops, yes, this is an issue.

However, it should probably depend on IPMI_HANDLER, not the individual interface types.

-corey

Quoted 26 lines · Sinan Kaya

ACPI_IPMI driver currently depends on IPMI System Interface (IPMI_SI) driver to be enabled. IPMI_SI driver only handles KCS, SMIC and BT BMC interfaces.

IPMI_SSIF is an alternative BMC communication method. It allows BMC to be accessed over an I2C bus instead of a standard interface.

Enabling ACPI_IPMI over IPMI_SSIF with this change.

---
  drivers/acpi/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/Kconfig +1 -1
index 83e5f7e..8767062 100644
@@ -256,7 +256,7 @@ config ACPI_PROCESSOR
 
  config ACPI_IPMI
  	tristate "IPMI"
-	depends on IPMI_SI
+	depends on IPMI_SI||IPMI_SSIF
  	default n
  	help
  	  This driver enables the ACPI to access the BMC controller. And it
author
#3 lore raw
Quoted 4 lines · Corey Minyard

Oops, yes, this is an issue.

However, it should probably depend on IPMI_HANDLER, not the individual interface types.

Thanks for the review. I posted V3 with your recommendation.

Quoted 1 line

-corey

Signature · 3 lines
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.