linux-stable/drivers/rpmsg
Arnaud Pouliquen bc69d10665 rpmsg: char: Introduce the "rpmsg-raw" channel
For the rpmsg virtio backend, the current implementation of the rpmsg char
only allows to instantiate static(i.e. prefixed source and destination
addresses) end points, and only on the Linux user space initiative.

This patch defines the "rpmsg-raw" channel and registers it to the rpmsg bus.
This registration allows:
- To create the channel at the initiative of the remote processor
  relying on the name service announcement mechanism. In other words the
  /dev/rpmsgX interface is instantiate by the remote processor.
- To use the channel object instead of the endpoint, thus preventing the
  user space from having the knowledge of the remote processor's
  endpoint addresses.
- To rely on udev to be inform when a /dev/rpmsgX is created on remote
  processor request, indicating that the remote processor is ready to
  communicate.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220124102524.295783-11-arnaud.pouliquen@foss.st.com
2022-03-13 11:49:53 -05:00
..
Kconfig rpmsg: Move the rpmsg control device from rpmsg_char to rpmsg_ctrl 2022-03-13 11:49:53 -05:00
Makefile rpmsg: Move the rpmsg control device from rpmsg_char to rpmsg_ctrl 2022-03-13 11:49:53 -05:00
mtk_rpmsg.c rpmsg: Change naming of mediatek rpmsg property 2021-09-27 18:32:06 -05:00
qcom_glink_native.c rpmsg: Update rpmsg_chrdev_register_device function 2022-03-13 11:49:53 -05:00
qcom_glink_native.h rpmsg: glink: Switch to SPDX license identifier 2018-06-03 17:37:15 -07:00
qcom_glink_rpm.c rpmsg: glink: Switch to SPDX license identifier 2018-06-03 17:37:15 -07:00
qcom_glink_smem.c rpmsg: glink: Set tail pointer to 0 at end of FIFO 2019-10-11 11:34:12 -07:00
qcom_glink_ssr.c rpmsg: glink: add include of header file 2021-01-05 22:22:40 -06:00
qcom_smd.c rpmsg: Update rpmsg_chrdev_register_device function 2022-03-13 11:49:53 -05:00
rpmsg_char.c rpmsg: char: Introduce the "rpmsg-raw" channel 2022-03-13 11:49:53 -05:00
rpmsg_char.h rpmsg: char: Export eptdev create and destroy functions 2022-03-13 11:49:53 -05:00
rpmsg_core.c rpmsg: Create the rpmsg class in core instead of in rpmsg char 2022-03-13 11:49:53 -05:00
rpmsg_ctrl.c rpmsg: Update rpmsg_chrdev_register_device function 2022-03-13 11:49:53 -05:00
rpmsg_internal.h rpmsg: Update rpmsg_chrdev_register_device function 2022-03-13 11:49:53 -05:00
rpmsg_ns.c rpmsg: Turn name service into a stand alone driver 2020-11-24 10:11:59 -06:00
virtio_rpmsg_bus.c rpmsg: Update rpmsg_chrdev_register_device function 2022-03-13 11:49:53 -05:00