Received: by 2002:a05:6a10:3150:0:0:0:0 with SMTP id m16csp727858pxc; Tue, 29 Mar 2022 10:23:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwn//5/B3/fhulzs8vIcaI4GZkEtlVMw4BTLinvQOp5VdPNCFG2/RibC/gqTrm6qz4lnvIq X-Received: by 2002:a05:622a:19a1:b0:2e2:27d1:acad with SMTP id u33-20020a05622a19a100b002e227d1acadmr28458508qtc.558.1648574588671; Tue, 29 Mar 2022 10:23:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648574588; cv=none; d=google.com; s=arc-20160816; b=qJWBOpjypsduu2Uq5LB9T/cRFTACULUhNP4ji+/IF0ILHXzCd2pM3gBIp9HeqQRti+ RuBh8Dz3vh/zzRnonVkRBJMZcbwbFu8KHB04y2+Ztb8ubZT0+7X+7OWgfRqoO8TGYESt nQaFg4/EHMXEiPxB5RtbRaq5iQ33lAHJvAmmTtkzbw9chcY/73nI3UJLUPNKsZGnOBCj bJZJ9qxt2073dvB1rM799G4Jx+gZDO/PyBuwKGQc56zYyB6GVbRzkEvgbWgtfjmBEeFd U+HA/pnOJfC7nfYhMTWu9u9l3GPz12c1tPEy8+mDBfXWLFPVnXE47Sa+VE0RmteCBpci 0Y+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ut91pjsKoBzkSzvnyWpkvSDI2LtQcqFj/QaCGz/A0sI=; b=l0u8jA3WXA7behc2WeHYQWxYaBVu936jSB6ik6X8qq57F9ugWyMice2km/Y1Y9L/mU jSeAB8XE19dCxl4H6ffQr5SsjSuzKEv3zgcUVMg0WdVKmbZLQuf9GSokJCrxk5NFGFlD sf85W3bdV61g3FUYfQKHSFcgh248vHSFcwJJv4JCh+BadxAwZRaellMCAeEmVBJIH7po HqAxedo4LXZ5iUvryIIFIyN38eENBPfng5fP5cX/eVULW/fgWMZCXraNxmaGYgMzVz2o X9OdUdHyIe4XoFBdKxERd9baIBwbWQvz3LeE4pMh2OUv/M0764uiH7vuODnf87VKVVGI dBLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p27-20020a05620a133b00b0067fd2190c0bsi8031150qkj.202.2022.03.29.10.22.29; Tue, 29 Mar 2022 10:23:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230313AbiC2JXc (ORCPT + 99 others); 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: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 @@ 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