WSL2-Linux-Kernel/drivers/rpmsg
Arnaud Pouliquen 8109517b39 rpmsg: ctrl: Introduce new RPMSG_CREATE/RELEASE_DEV_IOCTL controls
Allow the user space application to create and release an rpmsg device
by adding RPMSG_CREATE_DEV_IOCTL and RPMSG_RELEASE_DEV_IOCTL ioctrls to
the /dev/rpmsg_ctrl interface

The RPMSG_CREATE_DEV_IOCTL Ioctl can be used to instantiate a local rpmsg
device.
Depending on the back-end implementation, the associated rpmsg driver is
probed and a NS announcement can be sent to the remote processor.

The RPMSG_RELEASE_DEV_IOCTL allows the user application to release a
rpmsg device created either by the remote processor or with the
RPMSG_CREATE_DEV_IOCTL call.
Depending on the back-end implementation, the associated rpmsg driver is
removed and a NS destroy rpmsg can be sent to the remote processor.

Suggested-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220124102524.295783-12-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
qcom_glink_native.c rpmsg: Update rpmsg_chrdev_register_device function 2022-03-13 11:49:53 -05:00
qcom_glink_native.h
qcom_glink_rpm.c
qcom_glink_smem.c
qcom_glink_ssr.c
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: ctrl: Introduce new RPMSG_CREATE/RELEASE_DEV_IOCTL controls 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
virtio_rpmsg_bus.c rpmsg: Update rpmsg_chrdev_register_device function 2022-03-13 11:49:53 -05:00