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 8D85EC77B6E for ; Sun, 9 Apr 2023 18:21:10 +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: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:In-Reply-To:References: List-Owner; bh=cwFFKFXo9DTvECREf0zYRwluIM5WlX4/wdEToF6m8KI=; b=Ri9mj+OmZk07ie zM+3o+N5CHVsolmupGy0hYw/4mI4/xOGhgnwcpvT17ogthfIWaCp9UNRwa5wDG/h0if+/Issv0fDH VLR6+D3dAv1p6VU8qtpptwuKolGmW2Gni7iOhjXUTFFbkORVHcVg2q+S+WlnYxIz8lUsedmsdCkC0 hQXbyJN9PBJJxCviRies4DRBwV1a83SM1RX0/4Fthl4hbDbTqkIU2qdyIMxMEJlBK16uqvc4ibo7L 2tsIbgvNgUPx1nxauXcumF74r3kVbu+6fSVZF41GJw5CucxJIwbyex9mD9VSLC685EQNL77dYv8xQ o5CglTbI7OTR5OwKiKmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1plZdv-00E2aj-0d; Sun, 09 Apr 2023 18:19:59 +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 1plZds-00E2ZO-0p for linux-arm-kernel@lists.infradead.org; Sun, 09 Apr 2023 18:19:57 +0000 Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 339IG9n6030867; Sun, 9 Apr 2023 18:19:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=HFWt632w13eu7crNuaAZJaG0Z2AsJR73zPVwExvaiDI=; b=f/DG79aht04HPWBzwKNpFBAQ6cBEhsFvHSI09x+Q1Dl9ey4zRnkJC2hyQ5GVseZMD9bc eqFhmB3rHHbV6ieGxAAvGlBh9Ct0vv6CYLOLcagxtnK+WiyLTYlR5ByVNAfMlBgIHnT8 OpX/MKjon5Ez86STsLG96N+/nCVKtzci7ruhlsuX2Unl2KmF6Yiq7B1duSQqo0uJBEHd Ee8dx8qNUvgcemhdw+ZsYO/NtbbIxpafxJQyhdKvY/5mrIAivuf1ZpkeP1tk+V0Auk7x wc058Ig/DnwYNbSHc70A5gGTOgnDq6ACLzVqnNbREhQk1j7Kn3g+5FUwoNVFlYWraN3e Kw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ptwmysthc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 09 Apr 2023 18:19:41 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 339IJeLL032714 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 9 Apr 2023 18:19:40 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.986.42; Sun, 9 Apr 2023 11:19:40 -0700 From: Nikunj Kela To: CC: , , , , , , Nikunj Kela Subject: [PATCH 0/2] Allow parameter in smc/hvc calls Date: Sun, 9 Apr 2023 11:19:16 -0700 Message-ID: <20230409181918.29270-1-quic_nkela@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 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-ORIG-GUID: fDnl3jJFTuodqjJR4frDiAxp7U4JmLpI X-Proofpoint-GUID: fDnl3jJFTuodqjJR4frDiAxp7U4JmLpI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-09_13,2023-04-06_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 priorityscore=1501 adultscore=0 spamscore=0 mlxscore=0 clxscore=1011 suspectscore=0 bulkscore=0 lowpriorityscore=0 impostorscore=0 mlxlogscore=561 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304090167 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230409_111956_438672_43199E46 X-CRM114-Status: GOOD ( 14.02 ) 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 Currently, smc/hvc calls are made with parameters set to zeros. We are using multiple scmi instances within a VM and hypervisor associates a tag with each instance and expects the tag in smc calls from that instance, while sharing the same smc-id(func_id) among the instances. This patch series introduces new optional dtb bindings which can be used to pass parameters to smc/hvc calls. Nikunj Kela (2): dt-bindings: firmware: arm,scmi: support parameter passing in smc/hvc firmware: arm_scmi: Augment SMC/HVC to allow optional parameters .../bindings/firmware/arm,scmi.yaml | 16 +++++ drivers/firmware/arm_scmi/smc.c | 66 ++++++++++++++++++- 2 files changed, 81 insertions(+), 1 deletion(-) -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel