Bjorn Andersson
c0cdc19f84
rpmsg: Driver for user space endpoint interface
...
This driver allows rpmsg instances to expose access to rpmsg endpoints
to user space processes. It provides a control interface, allowing
userspace to export endpoints and an endpoint interface for each exposed
endpoint.
The implementation is based on prior art by Texas Instrument, Google,
PetaLogix and was derived from a FreeRTOS performance statistics driver
written by Michal Simek.
The control interface provides a "create endpoint" ioctl, which is fed a
name, source and destination address. The three values are used to
create the endpoint, in a backend-specific way, and a rpmsg endpoint
device is created - with the three parameters are available in sysfs for
udev usage.
E.g. to create an endpoint device for one of the Qualcomm SMD channel
related to DIAG one would issue:
struct rpmsg_endpoint_info info = { "DIAG_CNTL", 0, 0 };
int fd = open("/dev/rpmsg_ctrl0", O_RDWR);
ioctl(fd, RPMSG_CREATE_EPT_IOCTL, &info);
Each created endpoint device shows up as an individual character device
in /dev, allowing permission to be controlled on a per-endpoint basis.
The rpmsg endpoint will be created and destroyed following the opening
and closing of the endpoint device, allowing rpmsg backends to open and
close the physical channel, if supported by the wire protocol.
Cc: Marek Novak <marek.novak@nxp.com>
Cc: Matteo Sartori <matteo.sartori@t3lab.it>
Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2017-01-18 10:43:15 -08:00
..
ABI
Revert "driver core: Add deferred_probe attribute to devices in sysfs"
2017-01-14 14:09:03 +01:00
accounting
acpi
ACPI material for v4.10-rc1
2016-12-13 11:06:21 -08:00
admin-guide
Merge branch 'stable/for-linus-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb
2017-01-06 10:53:21 -08:00
aoe
arm
ARM: SoC platform updates for v4.10
2016-12-15 15:39:02 -08:00
arm64
auxdisplay
backlight
blackfin
block
block: fix up io_poll documentation
2017-01-03 16:47:13 -07:00
blockdev
bus-devices
cdrom
cgroup-v1
cma
connector
console
core-api
core-api: remove an unexpected unident
2016-12-01 10:46:01 -07:00
cpu-freq
Documentation: intel_pstate: Document HWP energy/performance hints
2016-12-08 01:43:05 +01:00
cpuidle
cris
crypto
This pull contains one set of changes: a conversion of the crypto DocBook
2016-12-17 16:00:34 -08:00
dev-tools
Documentation/sparse: drop __CHECK_ENDIAN__
2016-12-16 00:13:41 +02:00
device-mapper
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2016-12-14 11:12:25 -08:00
devicetree
i2c: do not enable fall back to Host Notify by default
2017-01-12 20:06:15 +01:00
dmaengine
dmaengine: Documentation: Fix typo in pxa_dma.txt
2016-11-14 08:14:24 +05:30
doc-guide
docs-rst: parse-headers.pl: cleanup the documentation
2016-11-30 17:08:09 -07:00
DocBook
docs: Fix build failure
2016-12-27 13:05:36 -07:00
driver-api
PM / docs: Drop confusing kernel-doc references from infrastructure.rst
2017-01-03 00:07:09 +01:00
driver-model
devres: add devm_alloc_percpu()
2016-11-15 22:34:25 -05:00
early-userspace
EDID
extcon
fault-injection
fb
features
2nd round of ARC udpates for 4.10rc1
2016-12-23 10:22:47 -08:00
filesystems
Merge uncontroversial parts of branch 'readlink' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs
2016-12-17 19:16:12 -08:00
firmware_class
fmc
fpga
fpga: Clarify how write_init works streaming modes
2016-11-29 15:51:49 -06:00
frv
gpio
Bulk GPIO changes for the v4.10 kernel cycle:
2016-12-13 07:54:57 -08:00
gpu
Main pull request for drm for 4.10 kernel
2016-12-13 09:35:09 -08:00
hid
hwmon
hwmon updates for v4.10
2016-12-13 15:43:56 -08:00
i2c
Merge branch 'i2c/for-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
2016-12-15 12:56:35 -08:00
ia64
ide
iio
infiniband
input
ioctl
rpmsg: Driver for user space endpoint interface
2017-01-18 10:43:15 -08:00
isdn
kbuild
Kconfig: Introduce the "imply" keyword
2016-11-16 09:26:33 +01:00
kdump
laptops
platform/x86: thinkpad_acpi: Add support for X1 Yoga (2016) Tablet Mode
2016-12-13 09:29:06 -08:00
leds
leds/leds-lp5523.txt: make documentation match reality
2016-11-22 12:07:02 +01:00
livepatch
Documentation/livepatch: Fix stale link to gmame
2016-12-09 13:41:46 +01:00
locking
m68k
media
Merge branch 'patchwork' into v4l_for_linus
2016-12-15 08:38:35 -02:00
memory-devices
metag
mic
mips
misc-devices
mmc
mn10300
mtd
namespaces
netlabel
networking
Documentation/networking: fix typo in mpls-sysctl
2017-01-02 15:49:08 -05:00
nfc
nios2
nvdimm
nvmem
parisc
PCI
pcmcia
perf
phy
platform
power
Power management material for v4.10-rc1
2016-12-13 10:41:53 -08:00
powerpc
pps
prctl
process
Doc: Correct typo, "Introdution" => "Introduction"
2016-12-01 10:44:08 -07:00
pti
ptp
rapidio
RCU
Documentation/RCU: Fix minor typo
2016-11-14 10:39:48 -08:00
s390
scheduler
docs/completion.txt: drop dangling reference to completions-design.txt
2016-11-16 16:27:50 -07:00
scsi
Merge branch 'misc' into for-linus
2016-12-22 12:32:33 -08:00
security
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2016-12-14 13:57:44 -08:00
serial
sh
sound
Merge remote-tracking branch 'sound/topic/restize-docs' into sound
2016-11-18 16:19:28 -07:00
sphinx
docs: sphinx-extensions: make rstFlatTable work with docutils 0.13
2016-12-18 13:30:29 -07:00
sphinx-static
spi
sysctl
These are the documentation changes for 4.10.
2016-12-12 21:58:13 -08:00
target
thermal
timers
trace
This release has a few updates:
2016-12-15 13:49:34 -08:00
translations
Documentation/sparse: drop __CHECK_ENDIAN__
2016-12-16 00:13:41 +02:00
usb
virtual
KVM: hyperv: fix locking of struct kvm_hv fields
2016-12-16 17:53:38 +01:00
vm
mm: add documentation for page fragment APIs
2017-01-10 18:31:55 -08:00
w1
watchdog
wimax
x86
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2016-12-23 16:54:46 -08:00
xtensa
.gitignore
00-INDEX
edac: adjust docs location at MAINTAINERS and 00-INDEX
2016-12-15 08:57:16 -02:00
bcache.txt
bt8xxgpio.txt
btmrvl.txt
bus-virt-phys-mapping.txt
cachetlb.txt
cgroup-v2.txt
Changes
docs: add back 'Documentation/Changes' file (as symlink)
2016-12-14 16:30:12 -08:00
circular-buffers.txt
Documentation: circular-buffers: use READ_ONCE()
2016-11-16 16:17:45 -07:00
clk.txt
CodingStyle
conf.py
docs-rst: doc-guide: split the kernel-documentation.rst contents
2016-11-19 10:22:04 -07:00
cpu-hotplug.txt
cpu-load.txt
cputopology.txt
crc32.txt
dcdbas.txt
debugging-modules.txt
debugging-via-ohci1394.txt
dell_rbu.txt
digsig.txt
DMA-API-HOWTO.txt
DMA-API.txt
DMA-attributes.txt
dma-buf-sharing.txt
DMA-ISA-LPC.txt
docutils.conf
dontdiff
Remove last traces of ikconfig.h
2016-12-14 10:54:28 +01:00
efi-stub.txt
eisa.txt
flexible-arrays.txt
futex-requeue-pi.txt
gcc-plugins.txt
highuid.txt
hw_random.txt
hwspinlock.txt
index.rst
crypto: doc - convert crypto API documentation to Sphinx
2016-12-13 16:37:54 -07:00
Intel-IOMMU.txt
intel_txt.txt
io-mapping.txt
io_ordering.txt
iostats.txt
IPMI.txt
ipmi: Update documentation
2016-11-07 12:16:06 -06:00
IRQ-affinity.txt
IRQ-domain.txt
IRQ.txt
irqflags-tracing.txt
isa.txt
isapnp.txt
kernel-doc-nano-HOWTO.txt
docs-rst: doc-guide: split the kernel-documentation.rst contents
2016-11-19 10:22:04 -07:00
kernel-per-CPU-kthreads.txt
kobject.txt
kprobes.txt
kref.txt
kselftest.txt
Doc: update kselftest.txt with details on how to run tests after install
2016-11-07 18:04:18 -07:00
ldm.txt
lockup-watchdogs.txt
logo.gif
logo.txt
lzo.txt
mailbox.txt
Makefile
Makefile.sphinx
docs-rst: fix media cleandocs target
2016-11-30 17:08:03 -07:00
md-cluster.txt
memory-barriers.txt
memory-hotplug.txt
men-chameleon-bus.txt
nommu-mmap.txt
ntb.txt
numastat.txt
padata.txt
parport-lowlevel.txt
percpu-rw-semaphore.txt
phy.txt
pi-futex.txt
pinctrl.txt
pnp.txt
preempt-locking.txt
printk-formats.txt
pwm.txt
rbtree.txt
remoteproc.txt
rfkill.txt
robust-futex-ABI.txt
robust-futexes.txt
rpmsg.txt
rtc.txt
SAK.txt
sgi-ioc4.txt
SM501.txt
smsc_ece1099.txt
static-keys.txt
SubmittingPatches
svga.txt
sync_file.txt
this_cpu_ops.txt
unaligned-memory-access.txt
Documentation/unaligned-memory-access.txt: fix incorrect comparison operator
2016-12-27 13:08:42 -07:00
unshare.txt
vfio-mediated-device.txt
vfio-mdev: Make mdev_parent private
2016-12-30 08:13:41 -07:00
vfio.txt
video-output.txt
xillybus.txt
xz.txt
zorro.txt