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 CB20EC77B61 for ; Tue, 25 Apr 2023 14:03:12 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QS/bDx2Ms0b1KQ9iR8JT1ZAO+54FvEnQXXEw5L6hUas=; b=V92MDNQTJn9FNT fGg7ZCJcjXOhLy4K9S9Xn4gd6/0cPBPmeC/oaThv6MQieyfBx0cDWE6BrFUvZqBeHSs3j9wDNJw1N OH1mrjmeUySMHv+zR+03YhgExxNaTS6wVn5Rn/d6acUtdhxvcuXBDGYxl1a59U8CP7cCqwWsKwFRN mVoZB+g7Zvc7PFa1mrIIziyHkJirBoGUs2iJtS+IH0lyKizP2iDO5NG//Kc2CmS9FCFmypY1z/Qlg UDbn9uFI4PIhXIdGPxtNGkEftt8s/t/fhAbggxO6olPi+ZqHeecW4bH7qm3m/d+7IDATAZQdm+4k+ 7Q+GFd+MhDgZF0iQS0Pw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1prJF1-001KjL-2u; Tue, 25 Apr 2023 14:01:59 +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 1prJEy-001KiU-1q for linux-arm-kernel@lists.infradead.org; Tue, 25 Apr 2023 14:01:58 +0000 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33P7ddLL010956; Tue, 25 Apr 2023 14:01:45 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=5sDebuCS3ZY67b7mDVj0PQsBdF0GrchmOu0ms0J8w1o=; b=ZaenPkSbN452uWmhDMtuFXccPDgXFmPH/Hn69jzr+wGoNw9tcrJpKtr56t/MWcMe/TJL 2jFvUZoCA8r5HpF8dG7vA0ULihEY2fAsGL6RdlWi6mGsPwQGhcNnVtBTHwE4b5FHbP3Q 4DOoW3Xlbu1NK8jkDkRdxplMkNy+BofDI8Cm+BPehsVqYV3S4wR7qYdz7wpCXg4pChFk v4MfaMrdd0MoO0pNL0BT+tbG7g/31EqQ6xON4hSWh8ZltYhhaeEETmeUENssV6po5YZe /r1MJ13ODJBM4nZc53kfnpLyjO+gr8/Ziqz0SeMGpAxYtDriCjRVZiVuTL35pXJAMhW9 Qg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3q6an20yut-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Apr 2023 14:01:45 +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 33PE1ibB025297 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Apr 2023 14:01:44 GMT Received: from [10.110.33.34] (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; Tue, 25 Apr 2023 07:01:44 -0700 Message-ID: Date: Tue, 25 Apr 2023 07:01:43 -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/2] Allow parameter in smc/hvc calls To: CC: , , , , , References: <20230409181918.29270-1-quic_nkela@quicinc.com> <20230418185659.29745-1-quic_nkela@quicinc.com> Content-Language: en-US From: Nikunj Kela In-Reply-To: <20230418185659.29745-1-quic_nkela@quicinc.com> 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-GUID: 8bEMc0AuzzmYFdmo7xf8W5XaWumZOJie X-Proofpoint-ORIG-GUID: 8bEMc0AuzzmYFdmo7xf8W5XaWumZOJie 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-25_06,2023-04-25_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 clxscore=1015 lowpriorityscore=0 mlxlogscore=778 bulkscore=0 priorityscore=1501 impostorscore=0 phishscore=0 spamscore=0 malwarescore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304250126 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230425_070156_654936_ECB7B9DC X-CRM114-Status: GOOD ( 16.72 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Sudeep, could you please review v4 patches. Thanks! On 4/18/2023 11:56 AM, Nikunj Kela wrote: > Currently, smc/hvc calls are made with parameters set > to zeros. We are using multiple scmi instances within > a VM. We are sharing the same smc-id(func_id) with all > scmi instance. The hypervisor needs a way to distinguish > among hvc calls made from different instances. > > This patch series introduces new compatible string which > can be used to pass shmem channel address as parameters > to smc/hvc calls. > > --- > v4 -> split shmem address into 4KB-pages and offset > > v3 -> pass shmem channel address as parameter > > 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 for parameter in smc/hvc call > firmware: arm_scmi: Augment SMC/HVC to allow optional parameters > > .../devicetree/bindings/firmware/arm,scmi.yaml | 8 +++++++- > drivers/firmware/arm_scmi/driver.c | 1 + > drivers/firmware/arm_scmi/smc.c | 14 +++++++++++++- > 3 files changed, 21 insertions(+), 2 deletions(-) > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel