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 D2705C76196 for ; Mon, 10 Apr 2023 18:22:25 +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=Zu3meHEzzIZ3ZKMP4DoLeHwjW/FmgU8xNALVmwIzGMw=; b=iXGitaIUkiw0kN MiBXba9LkOWI853+T2iqtkndlxDeq2shoCWtEhKwLxfX4EgmYwwmPBd8t/mgkcOY7tUBIlCRFvqW/ ssOZZ7EDgoNBz+xCxl0TwdcDfRW90nmdT6+sW7XSO4UE/6/aS63eBRxykI2Z50CKW7KaPP97eigKq 9RF0l0xjVzONm7xgtUrNvE7TApvRCUylQm5BZz/sdrBOfoaeKEsZS6jNN9BanYnh808jSDb1utHNu UAAOHc8EQzeNupbincPr97ALLYBhWFxAHe0eAyhOYv9rlLMpkYsxbbMCIRos83kRg2azcLWdEekTv zZwKlsqIrlt+NaWEbmpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1plw93-00FiXj-33; Mon, 10 Apr 2023 18:21:37 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1plw90-00FiX9-2t for linux-arm-kernel@lists.infradead.org; Mon, 10 Apr 2023 18:21:36 +0000 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33AFxBE8010960; Mon, 10 Apr 2023 18:21:21 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=am50PlryRRfYXJ4hjNZEKIeFgwMZ+ijTi/TRPQme2VA=; b=FC0JUOHaNzmz9vWK8giQ2W7+P9QDZ8g/SMHx4aMSAqdmeww9NNGYC6RFAS7XrXub5bwf BgqRBN8DjrIkZ1bPqTjfXIDlnldneiPUJqKiy75CTrue+kprz21+J0hIQB6r6RLwZir4 VmtSZh7Hx0nlHoI8GMLGflOTLfwdDi5g6JIHvFBLmYcW5YmzmnqusDKVYuTIIzZIDh2W RpXco1SbjXY7/yzGF21wNPyu2JPUKlYzpt3IIXDSqfqV6GJ/YdJYfWw6F47CgmSSYhvd FxqNOs1WdXzDeoaPzpjC79fFrqaPPttPhy3uZ2uTooah9Wl0t0wvp/vMmTnAfZy2pRYO +Q== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pvgkgh1mj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Apr 2023 18:21:21 +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 33AILJvp017053 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Apr 2023 18:21:19 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; Mon, 10 Apr 2023 11:21:19 -0700 From: Nikunj Kela To: CC: , , , , , , , Nikunj Kela Subject: [PATCH v2 0/2] Allow parameter in smc/hvc calls Date: Mon, 10 Apr 2023 11:20:56 -0700 Message-ID: <20230410182058.8949-1-quic_nkela@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230409181918.29270-1-quic_nkela@quicinc.com> References: <20230409181918.29270-1-quic_nkela@quicinc.com> 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-GUID: 3T-b2-G6oYniM6opK5TLZbO8q-KhfSVV X-Proofpoint-ORIG-GUID: 3T-b2-G6oYniM6opK5TLZbO8q-KhfSVV 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-10_13,2023-04-06_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 impostorscore=0 mlxscore=0 suspectscore=0 spamscore=0 priorityscore=1501 malwarescore=0 adultscore=0 bulkscore=0 mlxlogscore=449 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304100158 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230410_112134_949741_4C6F3800 X-CRM114-Status: GOOD ( 14.14 ) 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 hvc 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. --- v2 -> fix the compilation erros on 32bit platform(see below) Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202304100606.kUjhsRYf-lkp@intel.com/ v1 -> original patches 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 | 17 +++++ drivers/firmware/arm_scmi/smc.c | 72 ++++++++++++++++++- 2 files changed, 88 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