Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3279135rwl; Sun, 9 Apr 2023 11:55:12 -0700 (PDT) X-Google-Smtp-Source: AKy350YaVJkr8FM6FwNgwtlxHwPaIFLQioBxjev0t55M904du8SrEoY9JQnS43C+hpBM3o3grL8I X-Received: by 2002:aa7:9831:0:b0:625:ce95:f2ba with SMTP id q17-20020aa79831000000b00625ce95f2bamr5634239pfl.22.1681066512345; Sun, 09 Apr 2023 11:55:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681066512; cv=none; d=google.com; s=arc-20160816; b=vLprbS7saKiY02rnkKUBhXOCi62IYdopMMEIMVFCzpl4zVe0euOyUWqAagPdQP5MNm a0124iU3PjYN5z9PHyJHqhv+62ZTlgbOTFrWdLGL0cv2mTmSjkgYwDBgAm0jznI+EGy3 kLsjesLiP2lS59/npKOzPSPKOvvZTQQ+0LFX35P/z5ERsbtb6zPvz3Zdr3ArG7VnnPty T1nxu7HrMWGlnUE//2coK6grJH6cuOgTj/DS4CT31wz77WqNjoaQLDaJH1OiDkqq4vS7 AcgX9utmzTuovCvuWGHuZ5UK3dGab/OtyeWKnw/upIzDFgxsOosawS9kXmuZjXJMsfbw iqrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=HFWt632w13eu7crNuaAZJaG0Z2AsJR73zPVwExvaiDI=; b=Mj+jLcPDFRNAF/ELpNaFlKZe0p4kA2ecPx6EmCmblx0h1Vra/8fx4tJ0Azn5KgfzWf CN7omHb+gOd6kfcHVxuiWCSd/v9/+90F4OX2JYphdaVrzm80nJCC+D6kBgYqK2rg+H/F RR8ZmobRd5uRanVmZtpfutsnVC1RSjcInC0FPP12MOiSBB40wzuFmFfP6Yq83HFtmmgT cyLGdcdOJ/cnNakGuJDwXeaWuIsbl4XqesAcXDj8gmC1MCt2G6niq2n362qYZOStYcfk sIkR72rPZy35s3HnOC4Uk0xBwDnNORMa6F/GfDTdVIhlDpeQ2uCAAnl9K+tE5yiwOg1L wgug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="f/DG79ah"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i13-20020a056a00004d00b0063845f77138si430091pfk.164.2023.04.09.11.54.58; Sun, 09 Apr 2023 11:55:12 -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; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="f/DG79ah"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229595AbjDISUA (ORCPT + 99 others); Sun, 9 Apr 2023 14:20:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbjDIST7 (ORCPT ); Sun, 9 Apr 2023 14:19:59 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AFFA2D6B; Sun, 9 Apr 2023 11:19:58 -0700 (PDT) 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 Content-Type: text/plain 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-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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