From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Andersson Subject: Re: [PATCH v5 4/6] firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface Date: Mon, 8 Oct 2018 23:28:40 -0700 Message-ID: <20181009062840.GA8498@tuxbook-pro> References: <20180815092637.11455-1-govinds@codeaurora.org> <20180815092637.11455-5-govinds@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180815092637.11455-5-govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> Sender: linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Govind Singh Cc: ath10k-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, briannorris-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, niklas.cassel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, andy.gross-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On Wed 15 Aug 02:26 PDT 2018, Govind Singh wrote: > Add WLAN related VMID's to support wlan driver to set up > the remote's permissions call via TrustZone. > Reviewed-by: Bjorn Andersson Regards, Bjorn > Signed-off-by: Govind Singh > --- > 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 >