android_kernel_motorola_sm6375/drivers/rpmsg
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Marek 68c3b7cdef rpmsg: glink: use only lower 16-bits of param2 for CMD_OPEN name length
[ Upstream commit 06c59d97f63c1b8af521fa5aef8a716fb988b285 ]

The name len field of the CMD_OPEN packet is only 16-bits and the upper
16-bits of "param2" are a different "prio" field, which can be nonzero in
certain situations, and CMD_OPEN packets can be unexpectedly dropped
because of this.

Fix this by masking out the upper 16 bits of param2.

Fixes: b4f8e52b89 ("rpmsg: Introduce Qualcomm RPM glink driver")
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2024-12-14 19:44:32 +01:00
..
Kconfig
Makefile
qcom_glink_native.c rpmsg: glink: use only lower 16-bits of param2 for CMD_OPEN name length 2024-12-14 19:44:32 +01:00
qcom_glink_native.h
qcom_glink_rpm.c
qcom_glink_smem.c
qcom_smd.c
rpmsg_char.c
rpmsg_core.c rpmsg: Fix possible refcount leak in rpmsg_register_device_override() 2023-11-08 11:23:40 +01:00
rpmsg_internal.h rpmsg: Fix calling device_lock() on non-initialized device 2023-11-08 11:23:39 +01:00
virtio_rpmsg_bus.c rpmsg: virtio: Free driver_override when rpmsg_remove() 2024-02-23 08:24:48 +01:00