public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] peci: PECI should depend on ARCH_ASPEED
@ 2022-03-29  9:21 Geert Uytterhoeven
  2022-03-29 10:33 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2022-03-29  9:21 UTC (permalink / raw)
  To: Iwona Winiarska, Jason M Bills, Greg Kroah-Hartman,
	Pierre-Louis Bossart, Joel Stanley, Jae Hyun Yoo
  Cc: openbmc, linux-kernel, Geert Uytterhoeven

The Platform Environment Control Interface (PECI) is only available on
Baseboard Management Controllers (BMC) for Intel processors.  Currently
the only supported BMCs are ASpeed BMC SoCs.  Hence add a dependency on
ARCH_ASPEED, to prevent asking the user about the PECI subsystem when
configuring a kernel without ASpeed SoC support.

Fixes: 6523d3b2ffa238ac ("peci: Add core infrastructure")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/peci/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/peci/Kconfig b/drivers/peci/Kconfig
index 89872ad833201510..0d3ef8ba0998d649 100644
--- a/drivers/peci/Kconfig
+++ b/drivers/peci/Kconfig
@@ -2,6 +2,7 @@
 
 menuconfig PECI
 	tristate "PECI support"
+	depends on ARCH_ASPEED || COMPILE_TEST
 	help
 	  The Platform Environment Control Interface (PECI) is an interface
 	  that provides a communication channel to Intel processors and
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-30 12:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-29  9:21 [PATCH] peci: PECI should depend on ARCH_ASPEED Geert Uytterhoeven
2022-03-29 10:33 ` Greg Kroah-Hartman
2022-03-29 17:08   ` Patrick Williams
2022-03-30 10:37     ` Winiarska, Iwona
2022-03-30 11:51       ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox