All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mathieu Poirier <mathieu.poirier@linaro.org>
To: "Andrew P. Lentvorski" <bsder@allcaps.org>
Cc: linux-remoteproc@vger.kernel.org
Subject: Re: How to get src and dst for pru_rpmsg_send?
Date: Wed, 5 Feb 2020 16:21:48 -0700	[thread overview]
Message-ID: <20200205232148.GC25901@xps15> (raw)
In-Reply-To: <f22d9305-326f-f584-4480-9509c5f903fb@allcaps.org>

Hi Andrew,

On Wed, Feb 05, 2020 at 02:24:07AM -0800, Andrew P. Lentvorski wrote:
> I seem to be missing something obvious: Where do I get the values for
> src and dst in the pru_rpmsg_send() function?
> 
> The TI examples do a pru_rpmsg_receive() first and then echo back to the
> same src and dst.  That seems ... odd.  What's the point of having a
> variable src and dst if they are effectively hardwired to a single
> communication channel?

Since pru_rpmsg_send/receive() don't exist in the mainline kernel you will have
to be more specific... What TI examples are you referring to?  Where can we find
them? 

There are other rpmsg_sendxyz() functions that allow you to send messages to
different addresses[1].  Given the amount of information, I'm afraid there isn't
much else I can add at this time.

Thanks,
Mathieu  

[1]. https://elixir.bootlin.com/linux/latest/source/include/linux/rpmsg.h#L125


> 
> Thanks.

  reply	other threads:[~2020-02-05 23:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-05 10:24 How to get src and dst for pru_rpmsg_send? Andrew P. Lentvorski
2020-02-05 23:21 ` Mathieu Poirier [this message]
2020-02-06  1:16   ` Andrew P. Lentvorski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200205232148.GC25901@xps15 \
    --to=mathieu.poirier@linaro.org \
    --cc=bsder@allcaps.org \
    --cc=linux-remoteproc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.