Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1214688
| From | Andy Gross <agross@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] soc: qcom: smd: Use correct remote processor ID |
| Date | 2015-08-27 18:40 +0200 |
| Message-ID | <q28nw-1vy-29@gated-at.bofh.it> (permalink) |
| References | <q1ORQ-6Zw-27@gated-at.bofh.it> <q27hM-8oR-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Aug 27, 2015 at 06:26:45PM +0300, Stanimir Varbanov wrote:
> On 08/26/2015 10:42 PM, Andy Gross wrote:
> > This patch fixes SMEM addressing issues when remote processors need to use
> > secure SMEM partitions.
> >
> > Signed-off-by: Andy Gross <agross@codeaurora.org>
> > ---
> > .../devicetree/bindings/soc/qcom/qcom,smd.txt | 6 ++++++
> > drivers/soc/qcom/smd.c | 15 +++++++++++----
> > 2 files changed, 17 insertions(+), 4 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,smd.txt
> > index f65c76d..97d9b3e 100644
> > --- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd.txt
> > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd.txt
> > @@ -37,6 +37,12 @@ The edge is described by the following properties:
> > Definition: the identifier of the remote processor in the smd channel
> > allocation table
> >
> > +- qcom,remote-pid:
> > + Usage: optional
> > + Value type: <u32>
> > + Definition: the identifier for the remote processor as known by the rest
> > + of the system.
> > +
> > = SMD DEVICES
> >
> > In turn, subnodes of the "edges" represent devices tied to SMD channels on that
> > diff --git a/drivers/soc/qcom/smd.c b/drivers/soc/qcom/smd.c
> > index 327adcf..5706a81 100644
> > --- a/drivers/soc/qcom/smd.c
> > +++ b/drivers/soc/qcom/smd.c
> > @@ -111,6 +111,7 @@ struct qcom_smd_edge {
> > struct qcom_smd *smd;
> > struct device_node *of_node;
> > unsigned edge_id;
> > + unsigned remote_pid;
>
> Andy, you forgot to add this new field in structure description header.
Good catch. Thanks!
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2] soc: qcom: smd: Use correct remote processor ID Andy Gross <agross@codeaurora.org> - 2015-08-26 21:50 +0200
Re: [PATCH v2] soc: qcom: smd: Use correct remote processor ID Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-08-26 22:50 +0200
Re: [PATCH v2] soc: qcom: smd: Use correct remote processor ID Stanimir Varbanov <svarbanov@mm-sol.com> - 2015-08-27 17:30 +0200
Re: [PATCH v2] soc: qcom: smd: Use correct remote processor ID Andy Gross <agross@codeaurora.org> - 2015-08-27 18:40 +0200
csiph-web