[GIT PULL] rpmsg updates for v6.3

From: Bjorn Andersson
Date: Sun Feb 26 2023 - 12:11:49 EST



The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:

Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git tags/rpmsg-v6.3

for you to fetch changes up to fb80ef67e8ff6a00d3faad4cb348dafdb8eccfd8:

rpmsg: glink: Release driver_override (2023-02-15 07:46:02 -0800)

----------------------------------------------------------------
rpmsg updates for v6.3

rpmsg ctrl and char driver locking is ensure ordering in cases where the
communication link is being torn down in parallel with calls to open(2)
or poll(2).

The glink driver is refactored, to move rpm/smem-specifics out of the
common logic and better suite further improvements, such as transports
without a mailbox controller. The handling of remoteproc shutdown is
improved, to fail clients immediately instead of having them to wait for
timeouts. A driver_override memory leak is corrected and a few spelling
improvements are introduced.

glink_ssr is transitioned off strlcpy() and "gpr" is added as a valid
child node of the glink-edge DT binding.

----------------------------------------------------------------
Bjorn Andersson (11):
rpmsg: glink: Include types in qcom_glink_native.h
rpmsg: glink: Extract tx kick operation
rpmsg: glink: smem: Wrap driver context
rpmsg: glink: rpm: Wrap driver context
rpmsg: glink: Move irq and mbox handling to transports
rpmsg: glink: Fail qcom_glink_tx() once remove has been initiated
rpmsg: glink: Cancel pending intent requests at removal
rpmsg: glink: Fix spelling of peek
rpmsg: glink: Fix GLINK command prefix
rpmsg: glink: Avoid infinite loop on intent for missing channel
rpmsg: glink: Release driver_override

Deepak Kumar Singh (2):
rpmsg: char: Add lock to avoid race when rpmsg device is released
rpmsg: ctrl: Add lock to rpmsg_ctrldev_remove

Krzysztof Kozlowski (1):
dt-bindings: remoteproc: qcom,glink-edge: add GPR node

Wolfram Sang (1):
rpmsg: move from strlcpy with unused retval to strscpy

.../bindings/remoteproc/qcom,glink-edge.yaml | 24 ++-
drivers/remoteproc/qcom_common.h | 3 +-
drivers/rpmsg/qcom_glink_native.c | 208 ++++++++++-----------
drivers/rpmsg/qcom_glink_native.h | 8 +-
drivers/rpmsg/qcom_glink_rpm.c | 96 ++++++++--
drivers/rpmsg/qcom_glink_smem.c | 102 ++++++++--
drivers/rpmsg/qcom_glink_ssr.c | 2 +-
drivers/rpmsg/rpmsg_char.c | 8 +
drivers/rpmsg/rpmsg_ctrl.c | 2 +
include/linux/rpmsg/qcom_glink.h | 12 +-
10 files changed, 312 insertions(+), 153 deletions(-)