Linux Remote Processor Subsystem development
 help / color / mirror / Atom feed
* rpmsg: socket ipc based on rpmsg
@ 2016-10-10 10:30 Michele Rodolfi
  2016-10-19 18:51 ` Bjorn Andersson
  0 siblings, 1 reply; 3+ messages in thread
From: Michele Rodolfi @ 2016-10-10 10:30 UTC (permalink / raw)
  To: bjorn.andersson, Matteo Sartori, Claudio Salati, linux-remoteproc,
	Alessio Paccoia, marek.novak

Hi Bjorn, hi all
I just want to clarify that the patch I sent, which implements a
socket interface, was not meant to export the bus interface to the
user level, but rather adds a new transport protocol level allowing
user threads residing in different cores and different OSs to
communicate using socket as in a classic network scenario.
This transport protocol, we can call it RPMSG_DGRAM_PROTO, uses rpmsg
as data-link layer and uses its own mux/demux system based on port
numbers as in UDP. These port numbers are not the rpmsg endpoints.
RPMSG_DGRAM_PROTO indeed relies on one single rpmsg endpoint and the
user threads don't need to know it.
The driver initiates the socket interface upon the creation of a rpmsg
channel named "rpmsg-proto" (this is how the code works now, but maybe
"rpmsg-dgram-proto" is a better choice), therefore the protocol is
bound to the local endpoint of that channel.
Basically I want to enable threads to perform IPC using socket over
rpmsg in a Network On Chip scenario.
Of course I needed to figure out how to statically address the remote
processors and I did it using aliases in the device tree.
I think there may be use cases that can exploit this approach.
What do you think?

Regards,
Michele

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-24 11:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-10 10:30 rpmsg: socket ipc based on rpmsg Michele Rodolfi
2016-10-19 18:51 ` Bjorn Andersson
2016-11-24 11:48   ` Michele Rodolfi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox