27 Oct, 2020
1 commit
-
…cm/linux/kernel/git/jeyu/linux") into android-mainline
Steps on the way to 5.10-rc1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I01ffb419ee26d1c02046a0d22f960f29a3c47e7c
30 Sep, 2020
1 commit
-
RPMSG unifies various transports that provide IPC to a remote proc.
Some of these transports require some set of side band signalling in
order to meet the specifications of the protocol they implement.The GLINK native transport supports the tty serial signals to start
communication with modems that expect to receive the DTR serial signal.Extend the rpmsg core with an interface to send and receive sideband
signals for the transports that need it.Bug: 161128971
Link: https://lore.kernel.org/lkml/1593182819-30747-2-git-send-email-deesin@codeaurora.org/
Change-Id: I54539d8ddce1bfaec9016c2bec9b5a1372601995
Signed-off-by: Chris Lew
(cherry picked from commit 6839fc80fe1f6564eb6a0fc0fd081d459ec6c61b)
15 Sep, 2020
1 commit
-
In RPMSG GLINK the chrdev device will allocate an ept as part of the
rpdev creation. This device will not register endpoint ops even though
it has an allocated ept. Protect against the case where the device is
being destroyed.Signed-off-by: Chris Lew
Signed-off-by: Arun Kumar Neelakantam
Signed-off-by: Deepak Kumar Singh
Link: https://lore.kernel.org/r/1593017121-7953-3-git-send-email-deesin@codeaurora.org
Signed-off-by: Bjorn Andersson
17 Apr, 2020
1 commit
-
Should be 'a' rather than 'an'.
Signed-off-by: WANG Wenhu
Link: https://lore.kernel.org/r/20200313165049.62907-1-wenhu.wang@vivo.com
Signed-off-by: Bjorn Andersson
27 Aug, 2019
1 commit
-
Minor typos, grammar and copy/paste issues. Fix for consistency. No
functional or semantic change.Signed-off-by: Pierre-Louis Bossart
Signed-off-by: Bjorn Andersson
22 May, 2019
1 commit
-
Most other bus (for example, SPI, i2c) have the remove handler for
driver optional. Make remove handler for rpmsg driver optional too.Signed-off-by: Pi-Hsun Shih
Signed-off-by: Bjorn Andersson
31 Jul, 2018
1 commit
-
Some of the rpmsg devices need to switch on power domains to communicate
with remote processor. For example on Qualcomm DB820c platform LPASS
power domain needs to switched on for any kind of audio services.
This patch adds the missing power domain support in rpmsg core.Without this patch attempting to play audio via QDSP on DB820c would
reboot the system.Signed-off-by: Srinivas Kandagatla
Signed-off-by: Bjorn Andersson
04 Jun, 2018
1 commit
-
Use the appropriate SPDX license identifier in the rpmsg core
source files and drop the previous boilerplate license text.Signed-off-by: Suman Anna
Signed-off-by: Bjorn Andersson
26 Apr, 2018
1 commit
-
This patch adds "driver_override" device attribute for rpmsg_device which
will allow users to explicitly specify the rpmsg_driver to be used via
sysfs entry.The "driver_override" device attribute implemented here is very similar
to "driver_override" implemented for platform, pci, and amba bus types.One important use-case of "driver_override" device attribute is to force
use of rpmsg_chrdev driver for certain rpmsg_device instances.Signed-off-by: Anup Patel
Signed-off-by: Bjorn Andersson
28 Mar, 2018
1 commit
-
For special rpmsg devices without a primary endpoint there is nothing to
announce so don't call the backend announce create function if we didn't
create an endpoint.Signed-off-by: Bjorn Andersson
29 Nov, 2017
1 commit
-
Signed-off-by: Al Viro
07 Jul, 2017
1 commit
-
Pull rpmsg updates from Bjorn Andersson:
"This introduces the Qualcomm GLINK protocol driver and
DeviceTree-based modalias support, as well as a number of smaller
fixes"* tag 'rpmsg-v4.13' of git://github.com/andersson/remoteproc:
rpmsg: Make modalias work for DeviceTree based devices
rpmsg: Drop VIRTUALIZATION dependency from RPMSG_VIRTIO
rpmsg: Don't overwrite release op of rpdev
rpmsg: virtio_rpmsg_bus: cleanup multiple assignment to ops
rpmsg: virtio_rpmsg_bus: fix nameservice address
rpmsg: cleanup incorrect function in dev_err message
rpmsg: virtio_rpmsg_bus: fix announce for devices without endpoint
rpmsg: Introduce Qualcomm RPM glink driver
soc: qcom: Add device tree binding for GLINK RPM
rpmsg: Release rpmsg devices in backends
29 Jun, 2017
1 commit
-
When rpmsg devices are expected to be matched based on their compatible
the modalias should reflect this, so that module autoloading has a
chance to match and load the appropriate module.Tested-by: Rob Clark
Reported-by: Rob Clark
Signed-off-by: Bjorn Andersson
27 Jun, 2017
1 commit
-
b0b03b811963 ("rpmsg: Release rpmsg devices in backends") attempted to
correct the ownership of freeing rpmsg device memory. But the patch
is not complete, in that the rpmsg core will overwrite the release op as
the device is being registered.Fixes: b0b03b811963 ("rpmsg: Release rpmsg devices in backends")
Reported-by: Henri Roosen
Signed-off-by: Bjorn Andersson
09 Jun, 2017
1 commit
-
The dev_attrs field has long been "depreciated" and is finally being
removed, so move the driver to use the "correct" dev_groups field
instead for struct bus_type.Cc: Ohad Ben-Cohen
Acked-by: Bjorn Andersson
Cc:
Signed-off-by: Greg Kroah-Hartman
13 Feb, 2017
1 commit
-
The parameter validation incorrectly returned an ERR_PTR(), which is not
handled by the callers to rpmsg_create_ept(), per the definition NULL
should be returned.Fixes: 93e9324431c9 ("rpmsg: Handle invalid parameters in public API")
Reported-by: Dan Carpenter
Signed-off-by: Bjorn Andersson
19 Jan, 2017
1 commit
-
This allows rpmsg backends to implement polling of the outgoing buffer,
which provides poll support to user space when using the rpmsg character
device.Signed-off-by: Bjorn Andersson
30 Dec, 2016
1 commit
-
Since commit 4dffed5b3ac796b ("rpmsg: Name rpmsg devices based on
channel id"), it is no more possible for a firmware to register twice
a service (on different endpoints). rpmsg_register_device function
is failing when calling device_add for the second time as second
device has the same name as first one already register.
It is because name is based only on service name and so is not more
unique. Previously name was unique thanks to the use of rpmsg_dev_index.This patch adds destination and source endpoint numbers device name to
create an unique identifier.Fixes: 4dffed5b3ac7 ("rpmsg: Name rpmsg devices based on channel id")
Acked-by: Peter Griffin
Signed-off-by: Loic Pallardy
[bjorn: flipped name and address in device name]
Signed-off-by: Bjorn Andersson
01 Nov, 2016
3 commits
-
There are two cases of possible uninitialized pointer usage in the API,
either the parameters themselves are invalid or we're trying to jump to
functions not required to be implemented by all backends.Suggested-by: Loic Pallardy
Signed-off-by: Bjorn Andersson -
Some types of rpmsg drivers does not have a primary endpoint to tie
their existence upon, but wishes to create and destroy endpoints
dynamically, e.g. based on user interactions.Allow rpmsg drivers to omit a driver callback to signal this case and
make the probe path not create a primary endpoint in this case.Signed-off-by: Bjorn Andersson
-
Similar to other subsystems it's useful to provide a mechanism to force
a specific driver match on a device, so introduce this.Signed-off-by: Bjorn Andersson
09 Sep, 2016
5 commits
-
Move the device and endpoint indirection tables to the rpmsg internal
header file, to hide them from the public API.Signed-off-by: Bjorn Andersson
-
Extract the generic rpmsg core functionality from the virtio rpmsg
implementation, splitting the implementation in a rpmsg core and a
virtio backend.Based on initial work by Sricharan R
Cc: Sricharan R
Signed-off-by: Bjorn Andersson -
Extract and move the helper function for finding rpmsg child devices to
the core.Signed-off-by: Bjorn Andersson
-
Move the rpmsg_send() and rpmsg_destroy_ept() interface to the rpmsg
core, so that we eventually can hide the rpmsg_endpoint ops from the
public API.Signed-off-by: Bjorn Andersson
-
Extract the now indirect rpmsg_create_ept() interface to a separate
file and start building up a rpmsg core.Signed-off-by: Bjorn Andersson