2018-06-05 12:37:16

by Govind Singh

[permalink] [raw]
Subject: [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.

Signed-off-by: Govind Singh <[email protected]>
---
include/linux/qcom_scm.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h
index b401b962afff..da63d84e1e91 100644
--- a/include/linux/qcom_scm.h
+++ b/include/linux/qcom_scm.h
@@ -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
--
2.17.0


2018-06-19 22:46:50

by Niklas Cassel

[permalink] [raw]
Subject: Re: [PATCH v2 5/6] firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface

Acked-by: Niklas Cassel <[email protected]>

On Tue, Jun 05, 2018 at 06:07:09PM +0530, Govind Singh wrote:
> Add WLAN related VMID's to support wlan driver to set up
> the remote's permissions call via TrustZone.
>
> Signed-off-by: Govind Singh <[email protected]>
> ---
> include/linux/qcom_scm.h | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h
> index b401b962afff..da63d84e1e91 100644
> --- a/include/linux/qcom_scm.h
> +++ b/include/linux/qcom_scm.h
> @@ -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
> --
> 2.17.0
>
>
> _______________________________________________
> ath10k mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/ath10k

2018-07-03 15:45:57

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH v2 5/6] firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface

Govind Singh <[email protected]> writes:

> Add WLAN related VMID's to support wlan driver to set up
> the remote's permissions call via TrustZone.
>
> Signed-off-by: Govind Singh <[email protected]>
> ---
> include/linux/qcom_scm.h | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h
> index b401b962afff..da63d84e1e91 100644
> --- a/include/linux/qcom_scm.h
> +++ b/include/linux/qcom_scm.h
> @@ -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

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.

--
Kalle Valo