From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2199CEEB57E for ; Mon, 11 Sep 2023 19:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2EoG1r+HRFeOFxtqE1+9aW5lF2Kp4dLtbb2me02N02k=; b=OdPW/JJ71Duybq 7w+rXacAnuahv6KFVJ4Tjl921BAV0vUmdVlWfKDP6smKmkkuILakgxwUiwU0G0PssuMkdJHyVuxlF 2FCcKbCc3BRIn1rM7rDbBVi1Iwiaa1QuOVL5nj50qV25afz79u54pxzqBTWbQggH/IKVjZZYHggXv nKxcRWDoudNpn9v8wUlI8W7SSUJxiY2dW4mkiGRzIWzOXBKg/FDYN9mwE05ydeuSZneKq4wyLQI/+ cfC/MRdC4fEZ2fIP3PJRwz07ByjNj+z1oW2WzxbE/X0b/WIEuOa6YdZ3SSJ/el4nlgkvGj4lYrIQ9 3S9mIU7fbmMHyKWS+0WA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qfmph-001DtS-2a; Mon, 11 Sep 2023 19:44:29 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qfmpd-001DsR-2U for linux-arm-kernel@lists.infradead.org; Mon, 11 Sep 2023 19:44:28 +0000 Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38BDgOw5006536; Mon, 11 Sep 2023 19:44:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=zMmdeVBXvRLbOHJSIxUrgE4tO67oN2RuTYbnjxfjIvw=; b=K7nafr6b5GQkkij0aVTgU5vTyvHl3Y7PyOGvaoq58J4EKkmZaV5ASCGj6wFbC6IHVhcQ 2pLJbwCPfIXJNAxJIPVZrXGB41u2Icj1d5u9pFJThvnTRO58ua5suaknKNhXR7XgCBLH fVGQ3FAG+X7gqnzP6z8nDx2wB1mhXjfkVBXl5jGh265EIM49rav8NnMmEP/7uJT3ifyU D/JkXVZrB4wR00ahXZFkZvpb386xbxHIh/6MsXXF9xvjgXy6JWOZw9JPw9IUEnh5lvcF gh/M5yQU1ag+jDCHhNdg9/WkPUoY+bPa7+99qt6ZBnqrlQN3tOymtB9zHAZnxC9Ekjtz rg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t1xjmsmp7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Sep 2023 19:44:18 +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 38BJiHUs017286 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Sep 2023 19:44:17 GMT Received: from car-linux11.qualcomm.com (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, 11 Sep 2023 12:44:16 -0700 From: Nikunj Kela To: CC: , , , , , , , , , , Nikunj Kela Subject: [PATCH v4 0/4] Add qcom hvc/shmem transport support Date: Mon, 11 Sep 2023 12:43:55 -0700 Message-ID: <20230911194359.27547-1-quic_nkela@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230718160833.36397-1-quic_nkela@quicinc.com> References: <20230718160833.36397-1-quic_nkela@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-ORIG-GUID: c8mjb6HkEqF1SGkD-7uei4nZYu3H1Q4u X-Proofpoint-GUID: c8mjb6HkEqF1SGkD-7uei4nZYu3H1Q4u X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-11_15,2023-09-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 phishscore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=936 malwarescore=0 adultscore=0 priorityscore=1501 clxscore=1015 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309110181 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230911_124426_200866_CA302FFC X-CRM114-Status: GOOD ( 16.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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(-) -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel