diff mbox

[06/12] firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface

Message ID 1522042819-25916-1-git-send-email-govinds@codeaurora.org (mailing list archive)
State New, archived
Headers show

Commit Message

Govind Singh March 26, 2018, 5:40 a.m. UTC
Add WLAN related VMID's to support wlan driver to set up
the remote's permissions call via TrustZone.

Signed-off-by: Govind Singh <govinds@codeaurora.org>
---
 include/linux/qcom_scm.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Bjorn Andersson May 7, 2018, 8:42 p.m. UTC | #1
On Sun 25 Mar 22:40 PDT 2018, 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 <govinds@codeaurora.org>

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.


Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Regards,
Bjorn

> ---
>  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 b401b96..da63d84 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
> -- 
> 1.9.1
>
Govind Singh May 9, 2018, 3:50 a.m. UTC | #2
On 2018-05-08 02:12, Bjorn Andersson wrote:
> On Sun 25 Mar 22:40 PDT 2018, 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 <govinds@codeaurora.org>
> 
> 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.
> 
> 
> Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> 
> Regards,
> Bjorn
> 

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

>> ---
>>  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 b401b96..da63d84 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
>> --
>> 1.9.1
>>
diff mbox

Patch

diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h
index b401b96..da63d84 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