Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp3261361rdb; Thu, 7 Sep 2023 09:13:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE2ivI7UgrY7sNqGb7QKqyPGjK49K0dSWK0ZHK/0zgHLFw98ragi78V2mfmG/XPBhLIjqAv X-Received: by 2002:a05:6402:710:b0:52b:c8d9:1d66 with SMTP id w16-20020a056402071000b0052bc8d91d66mr3943462edx.42.1694103233020; Thu, 07 Sep 2023 09:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694103233; cv=none; d=google.com; s=arc-20160816; b=BGrfzfkXcMbiRoYG5GkqkRhMPb4Fnb7/ny2rcwrkI1HAysT4EWWH1wjzFMOJDnrjPP cNFnuBDxBr/s4YCKsvS4dEDuR3kFpymATei5i3ZBxgLNnSmXoXvDMyXMUWrww6HZu8wo pzmb3TNHQctDvfu3pAmQXiHlkRMuwB3Tj2s0I2Or4Y0leQPT/+tpSD8tnmR7d2ArN1yj 6784SnmenzaYYOtGUCbXGdcNoR5suJMuopVfNXKIuH2fn8t3X0gAEDEGqMeHYSRy7r52 /kjvjNYxE2L07NTOalcKi9iaViQZ9kp4gZoiZ1FgFxOxy47ueukjeE1QGRCJX1mTpBwe IoJA== 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=5/XLRPPEljWa/uHfd1GQxl2+XJrwpAWkhmmY866KSxE=; fh=8EeICuM1LiY6o9FIPdZ+f9M3J9vonKPyCjKF3KCk9wU=; b=IRCYJj2gtbfRCvU5A+zxTEEqWEtHHaVQ9HzESHZmmoeiYkC2p24PKig+29kdBi89Vo OB9rnGhSYSsrCaUi5SzMVZowTuMAFln0WGq2p+9Ey0dwDQWXIYRSkhMcdcQq1mDu3TBl detQqRV6F7J64vxYiWOE58IGIul7ejDxZ/YpMbNkyqYVrN9jxGg84s0spYUHMrepCgCy nju6AKA2uN5nLmG2KoJZLD7g3Aq4KkZpI7PkxlQddeVIIPws8IhjQR2EEF7dQSUlLIFV u6+IOpFUkfUsniibNhCjfHonokxJHgf84Xap5+srTBLMnd9PGbDUtAYNo0NO4avC3N0r b5Zg== 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 dy12-20020a05640231ec00b005256455bc64si11225098edb.511.2023.09.07.09.13.22; Thu, 07 Sep 2023 09:13:53 -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 S236288AbjIGPXV (ORCPT + 99 others); Thu, 7 Sep 2023 11:23:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232817AbjIGPWY (ORCPT ); Thu, 7 Sep 2023 11:22:24 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BDFB71BF7; Thu, 7 Sep 2023 08:21:53 -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 B8F381576; Thu, 7 Sep 2023 03:37:01 -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 CBA573F67D; Thu, 7 Sep 2023 03:36:21 -0700 (PDT) Date: Thu, 7 Sep 2023 11:36:19 +0100 From: Sudeep Holla To: Nikunj Kela Cc: Krzysztof Kozlowski , cristian.marussi@arm.com, Sudeep Holla , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v3 0/3] Add qcom hvc/shmem transport Message-ID: <20230907103619.2kqh7tfivwdfm5rd@bogus> References: <20230718160833.36397-1-quic_nkela@quicinc.com> <20230811175719.28378-1-quic_nkela@quicinc.com> <3342d8bf-5281-c082-cb9a-7a027b413237@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE 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, Sep 05, 2023 at 06:37:14PM +0200, Krzysztof Kozlowski wrote: > On 05/09/2023 18:06, Nikunj Kela wrote: > > > > On 8/11/2023 10:57 AM, Nikunj Kela wrote: > >> This change introduce a new transport channel for Qualcomm virtual > >> platforms. The transport is mechanically similar to ARM_SCMI_TRANSPORT_SMC. > >> The difference between the two transports is that a parameter is passed in > >> the hypervisor call to identify which doorbell to assert. This parameter is > >> dynamically generated at runtime on the device and insuitable to pass via > >> the devicetree. > >> > >> The function ID and parameter are stored by firmware in the shmem region. > >> > >> This has been tested on ARM64 virtual Qualcomm platform. > >> > >> --- > >> v3 -> fix the compilation error reported by the test bot, > >> add support for polling based instances > >> > >> v2 -> use allOf construct in dtb schema, > >> remove wrappers from mutexes, > >> use architecture independent channel layout > >> > >> v1 -> original patches > >> > >> Nikunj Kela (3): > >> dt-bindings: arm: convert nested if-else construct to allOf > >> dt-bindings: arm: Add qcom specific hvc transport for SCMI > >> firmware: arm_scmi: Add qcom hvc/shmem transport > >> > >> .../bindings/firmware/arm,scmi.yaml | 67 ++--- > >> drivers/firmware/arm_scmi/Kconfig | 13 + > >> drivers/firmware/arm_scmi/Makefile | 2 + > >> drivers/firmware/arm_scmi/common.h | 3 + > >> drivers/firmware/arm_scmi/driver.c | 4 + > >> drivers/firmware/arm_scmi/qcom_hvc.c | 232 ++++++++++++++++++ > >> 6 files changed, 293 insertions(+), 28 deletions(-) > >> create mode 100644 drivers/firmware/arm_scmi/qcom_hvc.c > > Gentle Ping! Pong ! > > It's third ping these two weeks from Qualcomm. Folks, it is merge > window. What do you think will happen with your ping during this time? > +1 Okay, here is the deal with this patch set. As you are aware that a previous merged solution was abandoned by Qcom in a single kernel release cycle. So I decided to ignore this for one or 2 kernel release cycle to make sure Qcom makes up their mind on the design and then we can see how to proceed. Qcom must understand upstream kernel is not a playground to push their design which they might decided to drop support for in such short period. Please understand the upstream kernel supports platforms that are more than few decades old. It is not like the mobile platforms that are hardly supported for couple of years. And similarly, we push core support if and only if we know for sure it will be used on some platform. I trusted Qcom with the previous extension of SMC/HVC transport but I was proven wrong. Also, I definitely don't like the way you have copied the whole smc.c and changed it to Qcom's need and made it qcom_hvc.c. Just add the required changes in smc.c. -- Regards, Sudeep