platform_kernel-5.15/drivers/rpmsg
Chris Lew 76801c2626 FROMLIST: rpmsg: char: Add support to use rpmsg_rx_done
Add support into the rpmsg char driver to skip copying the data into an
skb if the endpoint supports rpmsg_rx_done. If the endpoint supports
the rx_done operation, allocate a zero sized skb and set the data to
the buffer returned in the rx callback. When the packet is read from
the character device, release the memory by calling rpmsg_rx_done().

Bug: 235577039
Link: https://lore.kernel.org/lkml/1654651005-15475-3-git-send-email-quic_clew@quicinc.com/
Change-Id: I5c94c560daebc4a48cee2ecfb6a44ea6c3087e8d
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-06-18 18:44:13 +00:00
..
Kconfig UPSTREAM: rpmsg: Move the rpmsg control device from rpmsg_char to rpmsg_ctrl 2022-04-12 09:46:17 +08:00
Makefile UPSTREAM: rpmsg: Move the rpmsg control device from rpmsg_char to rpmsg_ctrl 2022-04-12 09:46:17 +08:00
mtk_rpmsg.c rpmsg: Avoid double-free in mtk_rpmsg_register_device 2020-09-15 03:43:24 +00:00
qcom_glink_native.c UPSTREAM: rpmsg: Update rpmsg_chrdev_register_device function 2022-04-12 09:46:17 +08: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 UPSTREAM: rpmsg: Update rpmsg_chrdev_register_device function 2022-04-12 09:46:17 +08:00
rpmsg_char.c FROMLIST: rpmsg: char: Add support to use rpmsg_rx_done 2022-06-18 18:44:13 +00:00
rpmsg_char.h UPSTREAM: rpmsg: char: Export eptdev create and destroy functions 2022-04-12 09:46:17 +08:00
rpmsg_core.c FROMLIST: rpmsg: core: Add rx done hooks 2022-06-18 18:44:13 +00:00
rpmsg_ctrl.c UPSTREAM: rpmsg: ctrl: Introduce new RPMSG_CREATE/RELEASE_DEV_IOCTL controls 2022-04-12 09:46:18 +08:00
rpmsg_internal.h FROMLIST: rpmsg: core: Add rx done hooks 2022-06-18 18:44:13 +00: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 UPSTREAM: rpmsg: Update rpmsg_chrdev_register_device function 2022-04-12 09:46:17 +08:00