Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1313312imi; Fri, 1 Jul 2022 07:17:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1voTkyp5CpY1WpqEpdXbSsIGxNBKY0Dy+dIyEsckt9vAyzVbPf5KXwxOzra9cSGLZxIdHie X-Received: by 2002:a17:902:e5c6:b0:16a:8395:aa30 with SMTP id u6-20020a170902e5c600b0016a8395aa30mr21528910plf.123.1656685058568; Fri, 01 Jul 2022 07:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656685058; cv=none; d=google.com; s=arc-20160816; b=TNg0UlxZOdkZq5dJ/z6cp61bRhyd5F+PRfhhoKCmp7HQXoFkuZNXhW6aqdzmvczE/1 owIwQNg+VTt3iYHZw/yIdL6JTguOZFv7eNgcm1W3AphbRWRxHqiRktPhu2iJP0OoQl7H 6k8+Tx//ntP2GTiDFxgIFW7VL3a4/yW9CwNAxi+YzxCQsOXwnUfyZUkrKjlLU0mfgQIK hHhNaT4p0QgDwic17OZCBBsFCQc3faVe7TnCmTLAx+VtMjLireiG0JzcyOoOClejb08Y 8k4hkE9PDzK8nk1cNx+6BuLfxMNoHrrM9sPzQum0I5oBeiewLyvwXQ7LwrAhuy4M6zIw GrcA== 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; bh=wtIUyc2ZLwd7OQ04v/RAYwXdytWiglCdl+b0PfNaQRE=; b=y5wF3Q+t2UpojdTOmob/OxYjUnUWq63iv5B9oVyEuolI2XVoADO3uAa/NvQ68uTDEu V8x1q73UqnLyagRbfUZ5ucyHSjWv0LTS9IFzBVVaohC7d8/IE9bk9lDRqrAbO8Mjzitq oRXfQPqTJ5sJaQ4Qe8fXBarAFZgItibZ+ydTR29tIy1LiEWEK5WqMqmJ7aPSpwvyXjnS 60/3x9LP8r0KKJg9DIfFePvrunG662yaduCF71ARu8lNbn6EgP4I4x3ASlyO3A+4gYjP TxX3cH61Saj4BdVf29HDRgYo7WpFDzSLmk84NgyWXYwuPORcHSVn2ZHPnmZq5JGt3J0f +3og== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a13-20020aa7970d000000b0052571551c57si2592441pfg.296.2022.07.01.07.17.27; Fri, 01 Jul 2022 07:17:38 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231726AbiGAODO (ORCPT + 99 others); Fri, 1 Jul 2022 10:03:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231411AbiGAODM (ORCPT ); Fri, 1 Jul 2022 10:03:12 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 86E3AE8B for ; Fri, 1 Jul 2022 07:03:11 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 938B6113E; Fri, 1 Jul 2022 07:03:11 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8BC693F792; Fri, 1 Jul 2022 07:03:09 -0700 (PDT) Date: Fri, 1 Jul 2022 15:03:07 +0100 From: Sudeep Holla To: Cristian Marussi Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, james.quinlan@broadcom.com, Jonathan.Cameron@Huawei.com, f.fainelli@gmail.com, etienne.carriere@linaro.org, vincent.guittot@linaro.org, daniel.lezcano@linaro.org, tarek.el-sherbiny@arm.com, adrian.slatineanu@arm.com, souvik.chakravarty@arm.com, wleavitt@marvell.com, wbartczak@marvell.com Subject: Re: [PATCH v3 5/9] firmware: arm_scmi: Make use of FastChannels configurable Message-ID: <20220701140307.upgfn4qpxhl63syg@bogus> References: <20220627123038.1427067-1-cristian.marussi@arm.com> <20220627123038.1427067-6-cristian.marussi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220627123038.1427067-6-cristian.marussi@arm.com> X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, 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 On Mon, Jun 27, 2022 at 01:30:34PM +0100, Cristian Marussi wrote: > Add a Kernel configuration entry used to optionally disable, globally, the > usage of SCMI FastChannels even on platforms where they are available. > > Make such option default-no to preserve the original SCMI system behaviour > of using any available FC. > > Signed-off-by: Cristian Marussi > --- > v2 --> v3 > - fixed wording in Kconfig > - reverted Kconfig logic _USE_ -> _AVOID_ > --- > drivers/firmware/arm_scmi/Kconfig | 13 +++++++++++++ > drivers/firmware/arm_scmi/driver.c | 6 ++++++ > 2 files changed, 19 insertions(+) > > diff --git a/drivers/firmware/arm_scmi/Kconfig b/drivers/firmware/arm_scmi/Kconfig > index 1e7b7fec97d9..3fb34db01014 100644 > --- a/drivers/firmware/arm_scmi/Kconfig > +++ b/drivers/firmware/arm_scmi/Kconfig > @@ -42,6 +42,19 @@ config ARM_SCMI_HAVE_MSG > This declares whether a message passing based transport for SCMI is > available. > > +config ARM_SCMI_AVOID_FASTCHANNELS > + bool "Avoid using SCMI FastChannels even when available" Without default, won't this prompt user now ? I would have explicit default n if we are adding this. But why do we need this is my question ? This would be a quirk IMO on systems where FC is broken. I don't want people to enable this during testing and ship f/w with FC broken(or not developed yet). We can add this if some platforms really need this as a quirk in the future. Thoughts ? -- Regards, Sudeep