Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp50237rdg; Wed, 11 Oct 2023 20:44:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbAVJ5ZMZqIdSAiLGKOQsxg3Nc7l1ZCcOrDEe6PNi+v19XM3Pzt3uoCwkzdcaUHa4yoHwG X-Received: by 2002:a17:902:ecc8:b0:1c4:4a4d:cda with SMTP id a8-20020a170902ecc800b001c44a4d0cdamr24756716plh.15.1697082279650; Wed, 11 Oct 2023 20:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697082279; cv=none; d=google.com; s=arc-20160816; b=HLyPaW30owfjxLuxRm7NiA4Ib0rLrxK33jdqUwUQxjG4zb14NDc7OJafDV/mS/dm6F KSjeKFQvCAy1S7ahSSHhg+S7YPj3EfXyHuug7IgWmu05/PCHreeNlkzuda5ZufWdomwf QmY/O7E2QOhRLSwSDVo16zx4KnkvtRTjSdXTINyC/U0gVnUAYIqHMdl01eMWN9m9FkuH fVpjVr1HnRXUHPWEGdf+RTEuHwT4HPbzhOTKo1LiUWVRQGpU/7X5lJ50pKEVmt21mrC3 MukOO4lDWx68BLNDigTxdko+/gy3UTnile7zmNbmOLR1jSubqcbEdIbrWn1KbXeHYlfi +kOw== 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=k0BxKHUdCNcLP6r7RcXc4pSH0oFUe83JsYgb7jzHk4Q=; fh=Q0FIjR85vxe6ElPsLkRBTDyV1I/ttbSY8ODdIFNHiZs=; b=0m3zJDB6ADAeSHAosKsOsi8JTniolTKf2TZ8HnNKZ6M9eYZSU7k2l4PleKP+aIQOjc qzlfurwXOjsQUsbN2c8ReF+kfm+8deKYycKYLz9Bw1dLDtLguq6nRchP/1kLBlpCUkLF w5LNh/lvqD2Gy+sNTCkK8Ve3C/VK3uNVPeUsMCYSU2pb7SeYjr+fmBqfRMAEragM19aK 1ZFw6wIJO1HE/9Aog3IboCJJLUvH6sEb15bHByUkQi41Urr8zdeOf7jyRt1Z4wXqaAK7 6/0MfbMxnog1JjhnjmxdJfkK6B8T028tE1Wm6hRbcTYVYSB2kWhgp6uB9ryk9z7NWdEw BXFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pRQQcFoK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z6-20020a1709027e8600b001c72c792794si1182179pla.47.2023.10.11.20.44.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 20:44:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pRQQcFoK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A9DE08025739; Wed, 11 Oct 2023 20:44:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234109AbjJLDo1 (ORCPT + 99 others); Wed, 11 Oct 2023 23:44:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234100AbjJLDoZ (ORCPT ); Wed, 11 Oct 2023 23:44:25 -0400 Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 738BDA9 for ; Wed, 11 Oct 2023 20:44:23 -0700 (PDT) Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-1dd54aca17cso345723fac.3 for ; Wed, 11 Oct 2023 20:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697082263; x=1697687063; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=k0BxKHUdCNcLP6r7RcXc4pSH0oFUe83JsYgb7jzHk4Q=; b=pRQQcFoKOyA3VFFk6Ath5NWduIB7hnct2SqbzSmhl9SC5eaxWmOODHYK8UdO0PbtEq YYbvLeLH+B42oi12bSi2jVg0cDbxuxbZYZcABznPnEP9HZ8T8djU5wI8MgKeMsY0j5HC Mql3PqZZ47EW5bRlP04UsofkTmJ2qOWR6Wudi/wfnss1K3P95xRdJqJn7ffHpcC3DP3K h0uUgdbvyTTh3fMBB5BxFjAOYFb4wP+iBQWkRC4Pj8/CiE3TT8e+bUIWMznxBt4fB9mi FqZ+UTrhaAUh3hL6pgWrkF/JeVINgTnagU8H2h4tp5MhpB4Wv89MfBKsk6eqtH3eH6WF 9nng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697082263; x=1697687063; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=k0BxKHUdCNcLP6r7RcXc4pSH0oFUe83JsYgb7jzHk4Q=; b=t3LE+pOeDLwIfuTt9YBHidqPxuzT5VR6TLmrOB134x38zqiLJ4CJTBhAD3/0rG2hnZ jhwQZWgbbvi+JaP4YvJpIKmvaVqE6o3UfbRQCD4AD2A1dGrSoHn6VWXwTXWF1wVx6Hcv pbumVKAFWvxMvJNEFskos849U2fTE5kQz68yFac/KyU1jaCU9WQHB1j/SHzRBWiXiuol SmY3ASCe94dgBUtYtcbaHlkOqCtV3SHpnF3mGvs9duc09p/lrCME6gKlw0F+XdZEGAw3 pMWCBHVO7scDac8X1OageBcH5abOY9vxnI4TxiYziKjmooaRN9gor9rKungpFiJ+Czgm v8Vw== X-Gm-Message-State: AOJu0YxFUU3FEsBI5U3HnCz1Da7Hd8NgiHr7gR4G1WxDJjnMTSc7T4Jm UvddgbC+bwvlTNJjl8zB6Wnkuw== X-Received: by 2002:a05:6870:b604:b0:1d7:1ad1:3f8c with SMTP id cm4-20020a056870b60400b001d71ad13f8cmr25675866oab.49.1697082262743; Wed, 11 Oct 2023 20:44:22 -0700 (PDT) Received: from localhost ([122.172.80.14]) by smtp.gmail.com with ESMTPSA id o20-20020a639214000000b0059cc2f1b7basm645907pgd.11.2023.10.11.20.44.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 20:44:22 -0700 (PDT) Date: Thu, 12 Oct 2023 09:14:20 +0530 From: Viresh Kumar To: Florian Fainelli Cc: linux-kernel@vger.kernel.org, mmayer@broadcom.com, "Rafael J. Wysocki" , "open list:CPU FREQUENCY SCALING FRAMEWORK" Subject: Re: [PATCH v2] cpufreq: ARM_BRCMSTB_AVS_CPUFREQ cannot be used with ARM_SCMI_CPUFREQ Message-ID: <20231012034420.ik34htzw2wkiwimp@vireshk-i7> References: <20231011164654.3671490-1-florian.fainelli@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231011164654.3671490-1-florian.fainelli@broadcom.com> X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 11 Oct 2023 20:44:38 -0700 (PDT) On 11-10-23, 09:46, Florian Fainelli wrote: > The brcmstb-avs-cpufreq driver is considered a legacy driver and since > 2018, ARCH_BRCMSTB systems have been using scmi-cpufreq. As a matter of > fact, when SCMI is in use, brcmstb-avs-cpufreq is unusable since the > SCMI firmware takes over, this can result in various problems, including > external synchronous aborts. > > Express those constraints such that the driver is not enabled by default > when SCMI CPU frequency scaling is in use. > > Signed-off-by: Florian Fainelli > --- > Changes in v2: > > - address Viresh's feedback and reduce the depdendency to > !ARM_SCMI_CPUFREQ > > drivers/cpufreq/Kconfig.arm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm > index 123b4bbfcfee..207618043ee0 100644 > --- a/drivers/cpufreq/Kconfig.arm > +++ b/drivers/cpufreq/Kconfig.arm > @@ -90,7 +90,7 @@ config ARM_VEXPRESS_SPC_CPUFREQ > > config ARM_BRCMSTB_AVS_CPUFREQ > tristate "Broadcom STB AVS CPUfreq driver" > - depends on ARCH_BRCMSTB || COMPILE_TEST > + depends on (ARCH_BRCMSTB && !ARM_SCMI_CPUFREQ) || COMPILE_TEST > default y > help > Some Broadcom STB SoCs use a co-processor running proprietary firmware Applied. Thanks. -- viresh