Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp339504rdb; Mon, 18 Sep 2023 17:42:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFwQ+td6of9eg53j+ISREQJqhFFD3Z63t3T2cYKfsu3BPxi69OQ+/nQWy6qJs5mgsDckXCw X-Received: by 2002:a17:90a:688b:b0:271:dc39:3629 with SMTP id a11-20020a17090a688b00b00271dc393629mr7464356pjd.3.1695084147761; Mon, 18 Sep 2023 17:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695084147; cv=none; d=google.com; s=arc-20160816; b=eLa0wmpCsfnOfEKeEFpnIGquFZ4umwsE5MwWG05bUUK/n0g2oE1RKYrU10mSffA9Kr oZ+EPD5wPVjtgtgRkufsyJBzGJZOJD12kBWi+kufL0HuY6bkltTxgdYdlh39iwuiRrXA 6BLiam6lpPNdGBpZTb1aOPEtxz+f3emKyHn9pKRFPRtp2AobJ+oU0dLblQBJrIn1c9iO 2w9ZK0IC2eJNdUv0wyNJsPiZaPqAUY2fWBsbbCobNLcO81vzy4zXBoDEwKIg3r2f18IT 3KLel9szt0cUyxbSWbd+SFCeGK9NcOhJt30EZ6jJGZyE1IrgVpBjkpcK0oVUYTa4K3+i bTqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=pzDWu196/vVfc5Cy6n7DSpFd3OI9eHlBm42sWI2Kw8M=; fh=GF1Qxp8DhUCfseJ/gRMb3evtE2RC37HAu4VJwnqdL8Q=; b=e68dgQUofSxHPqrcjoU2/w1WZPEBi3HSJHloayST85rYZ+KlXMTb47XzwI9+NwUbzM 0Bqe2jBTEwiCDlJml+A+eCzn3ngLx6Ge63TBqm/vOWPvO5xN5b3o8Sh/ePeWaZVqcCcA XmYDBxYmb7GmAfSK2HhFMcffPKhTSmzT6cSCPs1AytThCR0V63QDS1ysYeRM5DOycl8r jyHrxZWdkUW9ourVqkrjeoRwnua2uLnKbbN4OYJpiF811Bg+btTKA6SN5FkPRgclVGLi TP5HjI1Eo3F61hbXcSAfwjxK1EIhmP1a6ltpC4jfH1Rxu87VHX2jABy3wdXS4i0uADnb VWEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aK1ofPuG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id y22-20020a17090abd1600b00250331e6044si8590414pjr.25.2023.09.18.17.42.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 17:42:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aK1ofPuG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 5218E8043004; Mon, 18 Sep 2023 08:42:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229537AbjIRPm2 (ORCPT + 99 others); Mon, 18 Sep 2023 11:42:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbjIRPmT (ORCPT ); Mon, 18 Sep 2023 11:42:19 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B99C910F6; Mon, 18 Sep 2023 08:42:06 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38ICv8BG009815; Mon, 18 Sep 2023 15:01:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=pzDWu196/vVfc5Cy6n7DSpFd3OI9eHlBm42sWI2Kw8M=; b=aK1ofPuG0f4SWui9IY+VrjnI4JYMXo0kSfP/e4UurKxMAQ/j9IulNuUqJjTFR04WHsMS 15B95CktnNiK1i8qiYgoCR5CgeE7AqVWrIAmkpf9bze8F5+95/5GutaeY9Z/LqUUgBi9 cgatOwp796YcRJvYZPa+5Uyg/PLlokOL8wF4pndIFwEDXQYmf8WIe992MnNija5NtSe4 uP0g2n7dMIO5rW4nx9n2q3OX1cMsBX6LQc8vVkwY46sA7R537i+Y2UxRYlI0rbsWKm5l CToC5Yt14DzClitjvpiUmgpyPLe/uZwvDMt7N3LED7WGIzkThSwG/M9/F5uXr427Q8Go sQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t6pmq08sm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Sep 2023 15:01:27 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38IF1RXC011944 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Sep 2023 15:01:27 GMT Received: from [10.110.81.225] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Mon, 18 Sep 2023 08:01:26 -0700 Message-ID: <0efe305e-031b-bdf5-0268-ca1c6d562653@quicinc.com> Date: Mon, 18 Sep 2023 08:01:26 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v4 0/4] Add qcom hvc/shmem transport support To: CC: , , , , , , , , , References: <20230718160833.36397-1-quic_nkela@quicinc.com> <20230911194359.27547-1-quic_nkela@quicinc.com> Content-Language: en-US From: Nikunj Kela In-Reply-To: <20230911194359.27547-1-quic_nkela@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: M4f-170Wm_3aMa5RAadGq8DqTd9dsuf9 X-Proofpoint-ORIG-GUID: M4f-170Wm_3aMa5RAadGq8DqTd9dsuf9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-18_08,2023-09-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 malwarescore=0 mlxlogscore=999 mlxscore=0 phishscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309180131 X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Mon, 18 Sep 2023 08:42:29 -0700 (PDT) Gentle Ping! On 9/11/2023 12:43 PM, Nikunj Kela wrote: > This change augments smc transport to include support for Qualcomm virtual > platforms by passing a parameter(capability-id) 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. > > --- > v4 -> port the changes into smc.c > > 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 (4): > firmware: arm_scmi: Add polling support for completion in smc > dt-bindings: arm: convert nested if-else construct to allOf > dt-bindings: arm: Add new compatible for smc/hvc transport for SCMI > firmware: arm_scmi: Add qcom hvc/shmem transport support > > .../bindings/firmware/arm,scmi.yaml | 67 +++++++++++-------- > drivers/firmware/arm_scmi/Kconfig | 14 ++++ > drivers/firmware/arm_scmi/driver.c | 1 + > drivers/firmware/arm_scmi/smc.c | 62 +++++++++++++++-- > 4 files changed, 110 insertions(+), 34 deletions(-) >