Skip to contentSkip to conversation

firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface

PATCH In review Govind Singh 2 participants 3 messages Mar 26, 2018 – May 9, 2018 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 6/12 firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface

Add WLAN related VMID's to support wlan driver to set up the remote's permissions call via TrustZone.

---
 include/linux/qcom_scm.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
include/linux/qcom_scm.h +3 -1
index b401b96..da63d84 100644
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2010-2015, 2018, The Linux Foundation. All rights reserved.
  * Copyright (C) 2015 Linaro Ltd.
  *
  * This program is free software; you can redistribute it and/or modify
@@ -33,6 +33,8 @@ struct qcom_scm_vmperm {
 
 #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_PERM_READ       0x4
 #define QCOM_SCM_PERM_WRITE      0x2
 #define QCOM_SCM_PERM_EXEC       0x1
Signature · 1 line
1.9.1
Acked-by on v1 6/12
#1 lore raw
Quoted 4 lines · Govind Singh

Add WLAN related VMID's to support wlan driver to set up the remote's permissions call via TrustZone.

Please use ./scripts/get_maintainer.pl for each patch to get a hint about whom to send your patches to.

While I think it's okay that Kalle picks it through his tree Andy should give his ack first.

Regards,
Bjorn

Quoted 26 lines
---
 include/linux/qcom_scm.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
include/linux/qcom_scm.h +3 -1
index b401b96..da63d84 100644
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2010-2015, 2018, The Linux Foundation. All rights reserved.
  * Copyright (C) 2015 Linaro Ltd.
  *
  * This program is free software; you can redistribute it and/or modify
@@ -33,6 +33,8 @@ struct qcom_scm_vmperm {
 
 #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_PERM_READ       0x4
 #define QCOM_SCM_PERM_WRITE      0x2
 #define QCOM_SCM_PERM_EXEC       0x1
Signature · 1 line
1.9.1
#2 lore raw
Quoted 10 lines · Bjorn Andersson
Quoted 4 lines · Govind Singh

Add WLAN related VMID's to support wlan driver to set up the remote's permissions call via TrustZone.

Please use ./scripts/get_maintainer.pl for each patch to get a hint about whom to send your patches to.

Quoted 9 lines

While I think it's okay that Kalle picks it through his tree Andy should give his ack first.

Regards,
Bjorn

Thanks Bjorn for the review.
I will take care this point while sending the next version of the qmi patch set.

Quoted 29 lines
Quoted 29 lines
---
 include/linux/qcom_scm.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
include/linux/qcom_scm.h +0 -1
index b401b96..da63d84 100644
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2015, The Linux Foundation. All rights 

reserved.
+/* Copyright (c) 2010-2015, 2018, The Linux Foundation. All rights reserved.
* Copyright (C) 2015 Linaro Ltd.
*
* This program is free software; you can redistribute it and/or
modify

include/linux/qcom_scm.h +2 -1
@@ -33,6 +33,8 @@ struct qcom_scm_vmperm {
 
 #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_PERM_READ       0x4
 #define QCOM_SCM_PERM_WRITE      0x2
 #define QCOM_SCM_PERM_EXEC       0x1
--

1.9.1