Message ID | 20230330165117.26348-1-quic_gokukris@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8fd2:0:b0:3b7:ab69:e81 with SMTP id r18csp1070342vqt; Thu, 30 Mar 2023 09:53:28 -0700 (PDT) X-Google-Smtp-Source: AKy350aDUwx/b/dfQUvZQdvOBzjeA68vmtVCBQEzKS9hFUjZoS6gXsWeK692jxNM03oJTBU+GaHs X-Received: by 2002:a17:903:244e:b0:1a1:bbcd:917e with SMTP id l14-20020a170903244e00b001a1bbcd917emr27219717pls.10.1680195208250; Thu, 30 Mar 2023 09:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680195208; cv=none; d=google.com; s=arc-20160816; b=wRHJjPoxJfsrnMtiOhR2e5EoeRADmaydpEHWrDSTcRtmhxzsV6ws2Ssz0CeYNhsCIR dRqOUSBDQkp8x1/TGtx8PTTTyNPlnrJJ0W+0hfrXLPUjVJ65NPZZD/WpMuUWZ1xXT1xk jtchB0F5GHzcB249r2GFQsPZt5hs9ncSENXMw1tpDVGoSMolFd2tK7BR7iCuml3ebF9/ Yben+t5YqzNdeHauo50Vp3IAW9U0tXl3ORbDjZOlSP16cj2NY7SvyveaXv9Q1CRdQJng jCMW/ZKeE0QGBZ50ERXWO+9Z1Jw6XNWhRGycjztHDw7AK+hQVFlTTBmkZrhHLqutmmyF 5YzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=AjCj6YxklN3rIrkY0fwU+CfdxLOxUEGlGCK4coYeNmc=; b=Te8wOZp11lx8CU8sK62n8BXVrrRdUqI3wKXeGTqX96ogRDMOZJ9hJgj6ThDFtJ0bV9 ZSHJMycw8NWHQn/44Gr4W7PDHyjIdmFRNouAKAKDUx0R2foYoP+0Ykj2Xk3L2BkdHR2d NRNUkN4Mad0jUjSAQg2ZKw6xC/iYPFbeqqNnXf1qdaKXRmznZ/ANfXZIXytoEnS8ghx4 wx6i40snvigv7hc5yWAdZu/Fjjm++/C8jNNass1zBbHceVBlKeRqFn1yKp8JKyWfUHgR 2HGmc6QCxWm0AwmJ6o8CKTtGn2smMl5kw1OKkVCYHR2B7KmZQ6HMOmin7F8HOVb+8KwU ShzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LOQh6diN; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c13-20020a170902b68d00b001a19248bfcfsi2506000pls.511.2023.03.30.09.53.12; Thu, 30 Mar 2023 09:53:28 -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=LOQh6diN; 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 S231672AbjC3Qwx (ORCPT <rfc822;rua109.linux@gmail.com> + 99 others); Thu, 30 Mar 2023 12:52:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231651AbjC3Qwf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 30 Mar 2023 12:52:35 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 346D2D32F; Thu, 30 Mar 2023 09:51:54 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32UAmwdB026330; Thu, 30 Mar 2023 16:51:33 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-transfer-encoding : content-type; s=qcppdkim1; bh=AjCj6YxklN3rIrkY0fwU+CfdxLOxUEGlGCK4coYeNmc=; b=LOQh6diNSaoHGQvGtzBxa77rAny3oEVYOYQYEO3scyJhFIDfSeIQPE7bjN5o76n6OMak gcsd2Zdd5eZhzo/xQGsGGOHgtTL+NemMa4hE9+o2wetqIhLLgMwXdwpBJU87XsaU8qlv B1xTRwoAUe/7QnpR8/QO2fHXSB08tz+DZ4D2RdGx5+q6aOOxzrADJlkyk5+jiXccGv0s nY74xEEtvPN3MulPlAMCr9HEqAj33Wpb+R1iAu3b/eWNC3dsuxJRP5JTx18b40bi4LR0 6vfxsB+FJnYIXwkz81FySU7o5mzfNLMGpfnyk5XaVoGUhWMBKNAqC2CbpGE1WmrE6Umr +g== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pn7m3h6yq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Mar 2023 16:51:33 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 32UGpUU0013707 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Mar 2023 16:51:30 GMT Received: from hu-gokukris-sd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Thu, 30 Mar 2023 09:51:30 -0700 From: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com> To: <linux-arm-msm@vger.kernel.org> CC: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, Trilok Soni <quic_tsoni@quicinc.com>, "Satya Durga Srinivasu Prabhala" <quic_satyap@quicinc.com>, Rajendra Nayak <quic_rjendra@quicinc.com>, Elliot Berman <quic_eberman@quicinc.com>, "Guru Das Srinagesh" <quic_gurus@quicinc.com>, Sibi Sankar <quic_sibis@quicinc.com>, Melody Olvera <quic_molvera@quicinc.com>, Gokul krishna Krishnakumar <quic_gokukris@quicinc.com> Subject: [PATCH v2 1/1] dt-bindings: firmware: qcom: scm: Updating VMID list Date: Thu, 30 Mar 2023 09:51:17 -0700 Message-ID: <20230330165117.26348-1-quic_gokukris@quicinc.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: Hwr0NfvZ_nh9Alr2Q3HfmXIEP1aZhOrl X-Proofpoint-GUID: Hwr0NfvZ_nh9Alr2Q3HfmXIEP1aZhOrl 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-03-30_10,2023-03-30_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 lowpriorityscore=0 bulkscore=0 mlxscore=0 adultscore=0 malwarescore=0 spamscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=730 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303300133 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761812370938310243?= X-GMAIL-MSGID: =?utf-8?q?1761812370938310243?= |
Series |
[v2,1/1] dt-bindings: firmware: qcom: scm: Updating VMID list
|
|
Commit Message
Gokul krishna Krishnakumar
March 30, 2023, 4:51 p.m. UTC
Adding the full list of VMID's, which are used by different clients to
pass to the secure world.
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
---
V2 Fixed allignment issues in [1]
[1] https://lore.kernel.org/lkml/20230328214703.12093-1-quic_gokukris@quicinc.com/
---
include/dt-bindings/firmware/qcom,scm.h | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Comments
On 30.03.2023 18:51, Gokul krishna Krishnakumar wrote: > Adding the full list of VMID's, which are used by different clients to > pass to the secure world. > > Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com> > --- > V2 Fixed allignment issues in [1] > > [1] https://lore.kernel.org/lkml/20230328214703.12093-1-quic_gokukris@quicinc.com/ > --- They're weirdly ordered now.. I think Dmitry's comment was just about the usage of space/tab such that git would not get confused. With that fixed, you should be able to get a diff like: +#define QCOM_SCM_VMID_LPASS 0x16 #define QCOM_SCM_VMID_WLAN_CE 0x19 +#define QCOM_SCM_VMID_CP_SPSS_SP 0x1A [...] +#define QCOM_SCM_VMID_CP_CDSP 0x2A #define QCOM_SCM_VMID_NAV 0x2B +#define QCOM_SCM_VMID_TVM 0x2D Still, I really appreciate you providing that information to the kernel! Konrad > include/dt-bindings/firmware/qcom,scm.h | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/include/dt-bindings/firmware/qcom,scm.h b/include/dt-bindings/firmware/qcom,scm.h > index 1a4e68fa0744..7ad6cbe623d3 100644 > --- a/include/dt-bindings/firmware/qcom,scm.h > +++ b/include/dt-bindings/firmware/qcom,scm.h > @@ -2,6 +2,7 @@ > /* > * Copyright (c) 2010-2015, 2018-2019 The Linux Foundation. All rights reserved. > * Copyright (C) 2015 Linaro Ltd. > + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. > */ > > #ifndef _DT_BINDINGS_FIRMWARE_QCOM_SCM_H > @@ -13,4 +14,25 @@ > #define QCOM_SCM_VMID_WLAN_CE 0x19 > #define QCOM_SCM_VMID_NAV 0x2B > > +#define QCOM_SCM_VMID_TZ 0x1 > +#define QCOM_SCM_VMID_CP_TOUCH 0x8 > +#define QCOM_SCM_VMID_CP_BITSTREAM 0x9 > +#define QCOM_SCM_VMID_CP_PIXEL 0xA > +#define QCOM_SCM_VMID_CP_NON_PIXEL 0xB > +#define QCOM_SCM_VMID_CP_CAMERA 0xD > +#define QCOM_SCM_VMID_HLOS_FREE 0xE > +#define QCOM_SCM_VMID_MSS_NONMSA 0x10 > +#define QCOM_SCM_VMID_CP_SEC_DISPLAY 0x11 > +#define QCOM_SCM_VMID_CP_APP 0x12 > +#define QCOM_SCM_VMID_LPASS 0x16 > +#define QCOM_SCM_VMID_CP_SPSS_SP 0x1A > +#define QCOM_SCM_VMID_CP_CAMERA_PREVIEW 0x1D > +#define QCOM_SCM_VMID_CDSP 0x1E > +#define QCOM_SCM_VMID_CP_SPSS_SP_SHARED 0x22 > +#define QCOM_SCM_VMID_CP_SPSS_HLOS_SHARED 0x24 > +#define QCOM_SCM_VMID_ADSP_HEAP 0x25 > +#define QCOM_SCM_VMID_CP_CDSP 0x2A > +#define QCOM_SCM_VMID_TVM 0x2D > +#define QCOM_SCM_VMID_OEMVM 0x31 > + > #endif
On Fri, 31 Mar 2023 at 01:57, Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > > > On 30.03.2023 18:51, Gokul krishna Krishnakumar wrote: > > Adding the full list of VMID's, which are used by different clients to > > pass to the secure world. > > > > Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com> > > --- > > V2 Fixed allignment issues in [1] > > > > [1] https://lore.kernel.org/lkml/20230328214703.12093-1-quic_gokukris@quicinc.com/ > > --- > They're weirdly ordered now.. I think Dmitry's comment was > just about the usage of space/tab such that git would not get > confused. With that fixed, you should be able to get a diff like: > > +#define QCOM_SCM_VMID_LPASS 0x16 > #define QCOM_SCM_VMID_WLAN_CE 0x19 > +#define QCOM_SCM_VMID_CP_SPSS_SP 0x1A > [...] > +#define QCOM_SCM_VMID_CP_CDSP 0x2A > #define QCOM_SCM_VMID_NAV 0x2B > +#define QCOM_SCM_VMID_TVM 0x2D Yes. Konrad is correct here. Please keep them sorted. I just asked to keep old lines intact so that we see what was really changed and what was left intact. > > Still, I really appreciate you providing that information to the kernel! > > Konrad > > > include/dt-bindings/firmware/qcom,scm.h | 22 ++++++++++++++++++++++ > > 1 file changed, 22 insertions(+) > > > > diff --git a/include/dt-bindings/firmware/qcom,scm.h b/include/dt-bindings/firmware/qcom,scm.h > > index 1a4e68fa0744..7ad6cbe623d3 100644 > > --- a/include/dt-bindings/firmware/qcom,scm.h > > +++ b/include/dt-bindings/firmware/qcom,scm.h > > @@ -2,6 +2,7 @@ > > /* > > * Copyright (c) 2010-2015, 2018-2019 The Linux Foundation. All rights reserved. > > * Copyright (C) 2015 Linaro Ltd. > > + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. > > */ > > > > #ifndef _DT_BINDINGS_FIRMWARE_QCOM_SCM_H > > @@ -13,4 +14,25 @@ > > #define QCOM_SCM_VMID_WLAN_CE 0x19 > > #define QCOM_SCM_VMID_NAV 0x2B > > > > +#define QCOM_SCM_VMID_TZ 0x1 > > +#define QCOM_SCM_VMID_CP_TOUCH 0x8 > > +#define QCOM_SCM_VMID_CP_BITSTREAM 0x9 > > +#define QCOM_SCM_VMID_CP_PIXEL 0xA > > +#define QCOM_SCM_VMID_CP_NON_PIXEL 0xB > > +#define QCOM_SCM_VMID_CP_CAMERA 0xD > > +#define QCOM_SCM_VMID_HLOS_FREE 0xE > > +#define QCOM_SCM_VMID_MSS_NONMSA 0x10 > > +#define QCOM_SCM_VMID_CP_SEC_DISPLAY 0x11 > > +#define QCOM_SCM_VMID_CP_APP 0x12 > > +#define QCOM_SCM_VMID_LPASS 0x16 > > +#define QCOM_SCM_VMID_CP_SPSS_SP 0x1A > > +#define QCOM_SCM_VMID_CP_CAMERA_PREVIEW 0x1D > > +#define QCOM_SCM_VMID_CDSP 0x1E > > +#define QCOM_SCM_VMID_CP_SPSS_SP_SHARED 0x22 > > +#define QCOM_SCM_VMID_CP_SPSS_HLOS_SHARED 0x24 > > +#define QCOM_SCM_VMID_ADSP_HEAP 0x25 > > +#define QCOM_SCM_VMID_CP_CDSP 0x2A > > +#define QCOM_SCM_VMID_TVM 0x2D > > +#define QCOM_SCM_VMID_OEMVM 0x31 > > + > > #endif
diff --git a/include/dt-bindings/firmware/qcom,scm.h b/include/dt-bindings/firmware/qcom,scm.h index 1a4e68fa0744..7ad6cbe623d3 100644 --- a/include/dt-bindings/firmware/qcom,scm.h +++ b/include/dt-bindings/firmware/qcom,scm.h @@ -2,6 +2,7 @@ /* * Copyright (c) 2010-2015, 2018-2019 The Linux Foundation. All rights reserved. * Copyright (C) 2015 Linaro Ltd. + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. */ #ifndef _DT_BINDINGS_FIRMWARE_QCOM_SCM_H @@ -13,4 +14,25 @@ #define QCOM_SCM_VMID_WLAN_CE 0x19 #define QCOM_SCM_VMID_NAV 0x2B +#define QCOM_SCM_VMID_TZ 0x1 +#define QCOM_SCM_VMID_CP_TOUCH 0x8 +#define QCOM_SCM_VMID_CP_BITSTREAM 0x9 +#define QCOM_SCM_VMID_CP_PIXEL 0xA +#define QCOM_SCM_VMID_CP_NON_PIXEL 0xB +#define QCOM_SCM_VMID_CP_CAMERA 0xD +#define QCOM_SCM_VMID_HLOS_FREE 0xE +#define QCOM_SCM_VMID_MSS_NONMSA 0x10 +#define QCOM_SCM_VMID_CP_SEC_DISPLAY 0x11 +#define QCOM_SCM_VMID_CP_APP 0x12 +#define QCOM_SCM_VMID_LPASS 0x16 +#define QCOM_SCM_VMID_CP_SPSS_SP 0x1A +#define QCOM_SCM_VMID_CP_CAMERA_PREVIEW 0x1D +#define QCOM_SCM_VMID_CDSP 0x1E +#define QCOM_SCM_VMID_CP_SPSS_SP_SHARED 0x22 +#define QCOM_SCM_VMID_CP_SPSS_HLOS_SHARED 0x24 +#define QCOM_SCM_VMID_ADSP_HEAP 0x25 +#define QCOM_SCM_VMID_CP_CDSP 0x2A +#define QCOM_SCM_VMID_TVM 0x2D +#define QCOM_SCM_VMID_OEMVM 0x31 + #endif