From patchwork Tue Mar 28 21:47:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gokul krishna Krishnakumar X-Patchwork-Id: 76279 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp5013vqo; Tue, 28 Mar 2023 15:18:28 -0700 (PDT) X-Google-Smtp-Source: AKy350aCRhO60sUZLrLuX8ypPosLYfrU/2/fpdYZAvYQg+p6Pw8lFoWtLUQHYEsfWgtVEyzBbLB0 X-Received: by 2002:a17:90b:1d10:b0:23f:2d2c:abd0 with SMTP id on16-20020a17090b1d1000b0023f2d2cabd0mr178715pjb.4.1680041908054; Tue, 28 Mar 2023 15:18:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680041908; cv=none; d=google.com; s=arc-20160816; b=WbwrAp4vxIEBxtg99R/tYLHGoYPqbULH56kQ9iT0Z48UnjLVnpKBKRFIq64SozYLoi BV9jMehrUPfVB8tMir49pd05riIbA4Y+vSvdTONXiHLgQRoFbicdh01HobgN1K6BouDP 66u+x3k38QYr9SVb59o5h9BVxFGKh5ZV8a8tq50JwAkk6Df3/H06+oXosICOJswE0Lx4 1ZiHHzmrv967FE5DLeGuOjg4ooJ8+Sk2l9pA3Pddr4OvNRL86ec72bs6JVnjU9xsrFZe 9VrEYYSeJbPfSsQkxgXzN244mcm6f8diznW+8OxOOElFkPLEDs4EdIpJbB2ZQudBW5kW D5jw== 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=97HkTGkP+49pu84+BG+8H7hINr3Abp4pN8nG7dY6Ur0=; b=LQp79YU8suZqZX2ZS/YuLIG+2xfDmRuEVVUHA5WSVVpVSKKA0RIx/r+EPAeGT7tavC 7vyaAR+EVWE1fjrqXt7VObDv7PU4eOXONQbFF/aGzaHITZ2cSJgK4ebBE7Fiuou2D6/C OR3E2jtxyTcQb/JYzH1QadvvZn5xGthjN/+ql6tQcE6tPs8/7HwztRXFKjKVeC4ug+NP tte/dDWhB60KoSvBU0sIE9BzX9QpoMOO5At4OjRfSEmDiJG8wvgbLVibSxUNQqy22VIN W1K0zyKXRTjYMfnUDtIa57wM/3fzFekAsD7wkDPCjCDcyaYeg+33VPl3y1w04NywS9o2 lQ/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PclG0TZd; 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 v22-20020a17090abb9600b0024041aefbdbsi114163pjr.41.2023.03.28.15.18.15; Tue, 28 Mar 2023 15:18: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=PclG0TZd; 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 S229919AbjC1VrZ (ORCPT + 99 others); Tue, 28 Mar 2023 17:47:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229886AbjC1VrX (ORCPT ); Tue, 28 Mar 2023 17:47:23 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9407E1712; Tue, 28 Mar 2023 14:47:22 -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 32SLk3bA028355; Tue, 28 Mar 2023 21:47:19 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=97HkTGkP+49pu84+BG+8H7hINr3Abp4pN8nG7dY6Ur0=; b=PclG0TZdHGd4JMdCMSevJVZGa8U4n3fIiVp9Heo2gSq8Yd1gihfg0D4uWJ9Yu/yT/kpb x2bjuEp0e0Jf1mQHByJX8faopG6zIeVmVYzIb/quUPN5lHf0EKneFPk1oIUbZCnuTbrS hr718t8akDFLHUvAbO5nZVBGunhCPE7P2G7hkauSNqyDUDXSmdIIqqo/jV2j7jpFmEgu r8Bc7OyEDF5RDPKB66cutRG07vURKoANKk1ZFSN6DEHAr0oMcJLcskHqaQt3aQfVJx0L h5qXUqD30OV4z3MflhYnvwAjcc4U0vN/tQjWoG4gG65g6BQAovwtDEzHWJYy6pgZmbMt ag== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pm7hcg46t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Mar 2023 21:47:19 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 32SLlIUe006482 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Mar 2023 21:47:18 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.41; Tue, 28 Mar 2023 14:47:17 -0700 From: Gokul krishna Krishnakumar To: , , CC: Andy Gross , Bjorn Andersson , Konrad Dybcio , Trilok Soni , Satya Durga Srinivasu Prabhala , Rajendra Nayak , "Elliot Berman" , Guru Das Srinagesh , Sibi Sankar , Melody Olvera , Gokul krishna Krishnakumar Subject: [PATCH v1 1/1] dt-bindings: firmware: qcom: scm: Updating VMID list Date: Tue, 28 Mar 2023 14:47:03 -0700 Message-ID: <20230328214703.12093-1-quic_gokukris@quicinc.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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: vSbroPq3JbgYj7cmvv-mdz_ihCZK6FRz X-Proofpoint-GUID: vSbroPq3JbgYj7cmvv-mdz_ihCZK6FRz 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-24_11,2023-03-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 suspectscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 mlxlogscore=815 spamscore=0 lowpriorityscore=0 adultscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303280168 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761651623538331612?= X-GMAIL-MSGID: =?utf-8?q?1761651623538331612?= 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 --- include/dt-bindings/firmware/qcom,scm.h | 31 +++++++++++++++++++++---- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/include/dt-bindings/firmware/qcom,scm.h b/include/dt-bindings/firmware/qcom,scm.h index 1a4e68fa0744..703b6f1750f4 100644 --- a/include/dt-bindings/firmware/qcom,scm.h +++ b/include/dt-bindings/firmware/qcom,scm.h @@ -2,15 +2,36 @@ /* * 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 #define _DT_BINDINGS_FIRMWARE_QCOM_SCM_H -#define QCOM_SCM_VMID_HLOS 0x3 -#define QCOM_SCM_VMID_MSS_MSA 0xF -#define QCOM_SCM_VMID_WLAN 0x18 -#define QCOM_SCM_VMID_WLAN_CE 0x19 -#define QCOM_SCM_VMID_NAV 0x2B +#define QCOM_SCM_VMID_TZ 0x1 +#define QCOM_SCM_VMID_HLOS 0x3 +#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_MSA 0xF +#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_WLAN 0x18 +#define QCOM_SCM_VMID_WLAN_CE 0x19 +#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_NAV 0x2B +#define QCOM_SCM_VMID_TVM 0x2D +#define QCOM_SCM_VMID_OEMVM 0x31 #endif