Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp590359rdg; Tue, 10 Oct 2023 22:23:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENgU0q5COs7slAaFhpTzaLMWhF3hXufqt2rRJ3j73+Y4K2fWbyGg/Nt5po0iXUaiYhrnzZ X-Received: by 2002:a05:6a00:3a02:b0:68f:ece2:ac2a with SMTP id fj2-20020a056a003a0200b0068fece2ac2amr18852671pfb.27.1697001794734; Tue, 10 Oct 2023 22:23:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697001794; cv=none; d=google.com; s=arc-20160816; b=PT+E7Ms15OEGqywJB7xwE5d+0JEEHQ0iDnrcamWxurtePIpVuYyH6i4E6I+1VNJGCn LBms7sPAhStjtqVa4I+d/2YMFjMPCL57/4WVk9LbzZlWY63ZAKkKjQso7l/oIGSfX/VY PhWr9b/p5SC/zU1UVRGEOzW4mx9EuaY5EsH3a+NO0yuIJjvUXpVW93FPh6XfhLKpoOFZ RO009jqje2VHaL2gWY+AnvRv8tDKhrMmSKg0m3ObNE52Vfl3FXyokjLVO1Pd/OPXHwQr ShBNV9pdv8RB4LuVN8U/TvScGGQ7QrFz5s76vD+1kR/zmVd0g3wemwXKxThamX7jW6sC NgBg== 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=Yd6bY2jeOYPiGoBLqHgpAOXMIaT9UW6PlUc9Ge/NMwY=; fh=Q0FIjR85vxe6ElPsLkRBTDyV1I/ttbSY8ODdIFNHiZs=; b=Wxbn5jhQxqrpEm5LjOH/nnool7UxSXSLq8wAXmrEvlZd0u54CBsLSfDyp16/VT5GGz RnTzMu90LEDw1yGqCqFmWn4MG7k9DTIs/7pJ+S1GQLBQZKEEWDp1y7TD3/HuREeOz9KQ XuCPn9VBEclg8PDaLh0iKk5cO5Nuj1cp8OPhoWbHiJa02sn0B+Uj8Kh3QTyJR5y7skaK LcacH9K2NIK5dZ5MvFNXLKtOTEmXK3XQX8VhkZrAS8qifL+l8E9xrVisrJXoxru1enTF CxDjU64v8JqionjqsRDvHp78HFWKxP7e05Atiq6rAhpUeWPwT/gOw8Azns75fXhY3PIi cZfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QK537KTW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u11-20020a6540cb000000b005440b9f013csi1048821pgp.899.2023.10.10.22.23.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 22:23:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QK537KTW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id D8D4380280C2; Tue, 10 Oct 2023 22:23:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229607AbjJKFXE (ORCPT + 99 others); Wed, 11 Oct 2023 01:23:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbjJKFXD (ORCPT ); Wed, 11 Oct 2023 01:23:03 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE4C98E for ; Tue, 10 Oct 2023 22:23:00 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1c9bca1d96cso10175205ad.3 for ; Tue, 10 Oct 2023 22:23:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697001780; x=1697606580; 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=Yd6bY2jeOYPiGoBLqHgpAOXMIaT9UW6PlUc9Ge/NMwY=; b=QK537KTWAZDpVxT8hVhq/ldQse2qAiHTDZr9cCWmZpC6DHg6ShHFvO/3AdGAXvHglH pF+4qK0mIjElQv5aCYseWRglogJw6bP8f9ZKfNUgd6P6emwoRzuneks1hpOFXwNJt5G2 +ASdCoF5qIcZBVpaJRNLO8qRbDLNxmyUTHkm5yXdbOMa1wT7RbQTISwIvuUSHyyVHRH9 hk6Gx1M254Ikh0bNTpDpMEQjltf3brVj+K7TfyOVpW4p+k/r1X2a7oLzqxiABImsc2jS fUEyhSwkykyaCNfCSS7TFpArR7my1TDGaHIPPXWTAW72udkkmmooiPBiM/h6rkac9U/p 7osg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697001780; x=1697606580; 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=Yd6bY2jeOYPiGoBLqHgpAOXMIaT9UW6PlUc9Ge/NMwY=; b=ps//wuuKhdOyZ+ZTn6UT9+RMAK2FaISfFRiq+QPsNFSZBi5zy1z7DEQxWvYAw3F+bW la04Foec016K1wFCyfQR94zV4AYAmY1QutNxHnHC6EpMPtD/HWI1hHHuNo7d+nzhK1iB fz4Esca1bEyLPV7OerXOyqPTMMBKinHHYXqAk4YjJ7o6rPKUAuMdMntfkpHZsaeGUi7m F6g6uGnmO8tH7cHajVRkzdn05ALJmes/rz99fVFn7zi1ENJDCOO53T4tplQo0luwxpli 0pGgLTfyFjqQeMWDk+MdWKi9lDGbrb82RDetJQ9RyaSkCmafm2PxsLQf6L2jJ1ToB5F5 ODmg== X-Gm-Message-State: AOJu0YwIUZdqbisBwOQkQZYabeJ6vqo1+jizMztQit9eJ282yHMM5Rg9 HO1p5dWLY8EebmnXhk6adHea4CcDNRgPaSsx3Xg= X-Received: by 2002:a17:90b:1e02:b0:27d:775:56d9 with SMTP id pg2-20020a17090b1e0200b0027d077556d9mr327774pjb.15.1697001780213; Tue, 10 Oct 2023 22:23:00 -0700 (PDT) Received: from localhost ([122.172.81.92]) by smtp.gmail.com with ESMTPSA id cf11-20020a17090aebcb00b00276bde3b8cesm12975235pjb.15.2023.10.10.22.22.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 22:22:59 -0700 (PDT) Date: Wed, 11 Oct 2023 10:52:57 +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] cpufreq: ARM_BRCMSTB_AVS_CPUFREQ cannot be used with ARM_SCMI_CPUFREQ Message-ID: <20231011052257.ly5g5zm5quqpcgfb@vireshk-i7> References: <20231010181626.3449090-1-florian.fainelli@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231010181626.3449090-1-florian.fainelli@broadcom.com> X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Tue, 10 Oct 2023 22:23:12 -0700 (PDT) X-Spam-Level: ** On 10-10-23, 11:16, 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 > --- > 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..c287305820b7 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_PROTOCOL && ARM_SCMI_CPUFREQ) || COMPILE_TEST ARM_SCMI_CPUFREQ already implies ARM_SCMI_PROTOCOL, you don't need to add both here. -- viresh