From nobody Fri Jun 19 20:13:07 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53EAAC433EF for ; Tue, 29 Mar 2022 09:21:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234629AbiC2JXc (ORCPT ); Tue, 29 Mar 2022 05:23:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234605AbiC2JXa (ORCPT ); Tue, 29 Mar 2022 05:23:30 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 565C09D0CD for ; Tue, 29 Mar 2022 02:21:46 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:d553:ff0a:6830:6bde]) by baptiste.telenet-ops.be with bizsmtp id C9Mk2700T49QC44019MkcM; Tue, 29 Mar 2022 11:21:45 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1nZ82q-007Ecu-2L; Tue, 29 Mar 2022 11:21:44 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1nZ82p-00CBgc-GL; Tue, 29 Mar 2022 11:21:43 +0200 From: Geert Uytterhoeven To: Iwona Winiarska , Jason M Bills , Greg Kroah-Hartman , Pierre-Louis Bossart , Joel Stanley , Jae Hyun Yoo Cc: openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] peci: PECI should depend on ARCH_ASPEED Date: Tue, 29 Mar 2022 11:21:37 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 --- 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 @@ =20 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 --=20 2.25.1