Skip to contentSkip to conversation

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

PATCH Superseded Govind Singh 3 participants 3 messages Jun 5, 2018 – Jul 3, 2018 Qualcomm Atheros ATH10K wireless driver

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 5/6 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 b401b962afff..da63d84e1e91 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
2.17.0
Acked-by on v2 5/6
#1 lore raw
Quoted 35 lines · Govind Singh

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 b401b962afff..da63d84e1e91 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 · 7 lines
2.17.0


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#2 lore raw
In reply to Govind Singh
Quoted 19 lines · Govind Singh

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 +1 -1
index b401b962afff..da63d84e1e91 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 struct qcom_scm_vmperm { · line 37

Quoted 5 lines
include/linux/qcom_scm.h +2 -0
@@ -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

Andy, it would be easiest if I can apply this directly to my ath.git tree. Can I get your ack for this?

BTW, I didn't find include/linux/qcom_scm.h from MAINTAINERS file. It would be good to add that.

Signature · 1 line
Kalle Valo