Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1403089pxb; Wed, 30 Mar 2022 02:42:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmnIrDcwbIN9j3y/+Cowbgk4DP2Z42iCnpuz2cKM6c5vvCWIkD9QUdwrvky5xk9eOhIzWq X-Received: by 2002:a05:6402:5106:b0:419:45cd:7ab0 with SMTP id m6-20020a056402510600b0041945cd7ab0mr9628080edd.116.1648633355547; Wed, 30 Mar 2022 02:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648633355; cv=none; d=google.com; s=arc-20160816; b=pH9jhSO/NXcJQ80GxEDDnKweOet2i8B+NwxxH+247z8IEZbkMr2+UiJDntDV96rhGv ffXbt02pvfL1iGgPVc8nB3Y2xw69qsfvIQai/XOmsFS6nrp0Nnmzx4wdzZIr7mV/XNVE zfQvLddzVZkcPgDgIjgkk7ZzsD043eNgUp/21zD5DtJE/I5b+JOmmfXx4Rxm8lAWh6Ph dTKfI+8WtzgHNJdUUTFPd5JLef4dH42Gh4f5V68L30+EGklEaOIN3gQfUtIn8CZzJnWw PbcLRaR6bSuCD6MwNvNEFLCjVVLejEmWRZOl22WIZhD+Zg+sKoQf1KU49NS6lawpwS0f q7tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6rz+aaHvCPCNzP5OfFap86E2MV1Hem82NNFRsdUP36o=; b=R2NKzjejrMvTYQHf5AZhbJLEVE0fcmMDshi05XW0hwCwTBusxo+hx9LDsRSDeVn2jV o5y5nBjRCznbllSnTnjuaQMhtstjXmdChWCeuYZyZ2OZENPoi+6i+4ezHi4uda4JKX6F cAOGA6QpozUK7ANwn1qWT6ipKIGekmWCsPQn4P4ocLTmpnOI403MJCMAAptphvVznmMi NG4LktkTgswc/VefBv+7BR8BApv4kqYCddAOVKbc6q9ATPqfPgzinuiS6NMO0mAbUvzR b+53OyX+ml8CRZfy5VJsbNXKc8UwTY4SqloEc8xOa3An2AK8wGtuGex6tH0acOhp2OC9 SQhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=voCtLj+B; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a1-20020a056402168100b00418c2b5bf0dsi17246022edv.495.2022.03.30.02.42.09; Wed, 30 Mar 2022 02:42:35 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=voCtLj+B; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235156AbiC2KfD (ORCPT + 99 others); Tue, 29 Mar 2022 06:35:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229928AbiC2KfB (ORCPT ); Tue, 29 Mar 2022 06:35:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA8332C65A for ; Tue, 29 Mar 2022 03:33:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 54FF16122C for ; Tue, 29 Mar 2022 10:33:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55664C340ED; Tue, 29 Mar 2022 10:33:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1648549997; bh=5FgUcZbB4cY37HO0BUEW/2PUtsj7QGFtqc1d2v0/2BM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=voCtLj+BHaw6L6o43Gjn26OkZsTfiSI7kCCitCS4IjDywBTq6asy4eBWSoguNCfem MyPuyiJ0QIrOlTiLjURiqcURF5Tw8ulbJhpwXKTWoC+72uysp2F7oYadIdX2B580c4 dZ8V0bnrTotXMNwbocLb6b3sQicpw69kamBvxKgc= Date: Tue, 29 Mar 2022 12:33:14 +0200 From: Greg Kroah-Hartman To: Geert Uytterhoeven Cc: Iwona Winiarska , Jason M Bills , Pierre-Louis Bossart , Joel Stanley , Jae Hyun Yoo , openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] peci: PECI should depend on ARCH_ASPEED Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 On Tue, Mar 29, 2022 at 11:21:37AM +0200, Geert Uytterhoeven wrote: > 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 I hate ARCH_ dependencies as there is nothing specific with that one platform that means that this driver subsystem will only work on that one. I'm all for fixing build dependancies, but it should be fine to build all drivers for all arches. So sorry, I don't like this change. greg k-h