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 <[email protected] >
Cc: Matteo Sartori <[email protected] >
Cc: Michal Simek <[email protected] >
Signed-off-by: Bjorn Andersson <[email protected] >
2017-01-18 10:43:15 -08:00
..
accessibility
printk: move braille console support into separate braille.[ch] files
2013-07-31 14:41:03 -07:00
acpi
Merge branches 'acpi-scan', 'acpi-sysfs', 'acpi-wdat' and 'acpi-tables'
2017-01-06 14:36:30 +01:00
amba
android
ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct
2016-10-24 19:37:48 +02:00
ata
Merge branch 'for-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
2016-12-13 15:30:50 -08:00
atm
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
auxdisplay
auxdisplay: fix new ht16k33 build errors
2017-01-11 09:27:30 +01:00
base
Revert "driver core: Add deferred_probe attribute to devices in sysfs"
2017-01-14 14:09:03 +01:00
bcma
block
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
2017-01-14 17:07:04 -08:00
bluetooth
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2016-12-16 10:24:44 -08:00
bus
cpu/hotplug: Cleanup state names
2016-12-25 10:47:44 +01:00
cdrom
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
char
ppdev: don't print a free'd string
2017-01-11 09:14:19 +01:00
clk
One fix for a broken driver on Renesas RZ/A1 SoCs with bootloaders that don't
2017-01-06 15:35:27 -08:00
clocksource
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2016-12-25 14:30:04 -08:00
connector
cpufreq
Merge branch 'pm-cpufreq'
2017-01-06 14:34:52 +01:00
cpuidle
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
crypto
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
2016-12-27 17:51:36 -08:00
dax
libnvdimm for 4.10
2016-12-18 15:49:10 -08:00
dca
dmaengine: ioatdma: constify dca_ops structures
2015-11-16 09:27:32 +05:30
devfreq
PM / devfreq: exynos-bus: Fix the wrong return value
2017-01-03 00:21:45 +01:00
dio
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
dma
dmaengine: rcar-dmac: unmap slave resource when channel is freed
2017-01-13 12:14:28 +05:30
dma-buf
edac
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
eisa
extcon
extcon: return error code on failure
2017-01-11 09:11:39 +01:00
firewire
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-11-15 10:54:36 -05:00
firmware
Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-01-15 10:54:39 -08:00
fmc
fpga
gpio
gpio: Move freeing of GPIO hogs before numbing of the device
2016-12-30 09:11:21 +01:00
gpu
Merge branch 'drm-fixes-4.10' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
2017-01-09 09:47:19 +10:00
hid
HID: i2c-hid: Add sleep between POWER ON and RESET
2017-01-11 21:55:35 +01:00
hsi
hv
clocksource: Use a plain u64 instead of cycle_t
2016-12-25 11:04:12 +01:00
hwmon
hwmon: (lm90) fix temp1_max_alarm attribute
2017-01-02 10:15:28 -08:00
hwspinlock
hwtracing
coresight/etm3/4x: Consolidate hotplug state space
2016-12-25 10:47:44 +01:00
i2c
i2c: piix4: Avoid race conditions with IMC
2017-01-12 20:52:12 +01:00
ide
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
idle
Power management material for v4.10-rc1
2016-12-13 10:41:53 -08:00
iio
First round of IIO fixes for the 4.10 cycle.
2017-01-02 16:59:44 +01:00
infiniband
net/mlx4_core: Fix raw qp flow steering rules under SRIOV
2016-12-29 14:17:40 -05:00
input
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2017-01-13 11:49:34 -08:00
iommu
IOMMU Fixes for Linux v4.10-rc2
2017-01-06 10:49:36 -08:00
ipack
ipack: print a hex number after a 0x prefix
2016-10-27 18:43:43 -07:00
irqchip
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2016-12-25 14:30:04 -08:00
isdn
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
leds
cpu/hotplug: Cleanup state names
2016-12-25 10:47:44 +01:00
lguest
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
lightnvm
Char/Misc driver patches for 4.10-rc1
2016-12-13 12:11:01 -08:00
macintosh
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
mailbox
ktime: Cleanup ktime_set() usage
2016-12-25 17:21:22 +01:00
mcb
md
md/raid5: Use correct IS_ERR() variation on pointer check
2017-01-09 13:58:10 -08:00
media
ktime: Cleanup ktime_set() usage
2016-12-25 17:21:22 +01:00
memory
memstick
Merge branch 'for-4.10/block' of git://git.kernel.dk/linux-block
2016-12-13 10:19:16 -08:00
message
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
mfd
- New Device Support
2016-12-19 08:16:26 -08:00
misc
mei: bus: enable OS version only for SPT and newer
2017-01-11 07:43:57 +01:00
mmc
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
mtd
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
net
Merge branch 'akpm' (patches from Andrew)
2017-01-11 11:15:15 -08:00
nfc
ntb
ntb_transport: Remove unnecessary call to ntb_peer_spad_read
2016-12-23 16:11:07 -05:00
nubus
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
nvdimm
libnvdimm for 4.10
2016-12-18 15:49:10 -08:00
nvme
nvme: use blk_rq_payload_bytes
2017-01-13 15:17:04 -07:00
nvmem
nvmem: fix nvmem_cell_read() return type doc
2017-01-04 18:22:47 +01:00
of
pci-v4.10-changes
2016-12-15 12:46:48 -08:00
oprofile
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
parisc
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
parport
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
pci
ktime: Cleanup ktime_set() usage
2016-12-25 17:21:22 +01:00
pcmcia
drivers/pcmcia/m32r_pcc.c: check return from add_pcc_socket
2016-12-12 18:55:06 -08:00
perf
cpu/hotplug: Cleanup state names
2016-12-25 10:47:44 +01:00
phy
SCSI misc on 20161213
2016-12-14 10:49:33 -08:00
pinctrl
pinctrl: samsung: Fix the width of PINCFG_TYPE_DRV bitfields for Exynos5433
2016-12-30 14:27:42 +01:00
platform
platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks
2016-12-28 12:38:10 +02:00
pnp
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
power
ktime: Cleanup ktime_set() usage
2016-12-25 17:21:22 +01:00
powercap
pps
pps: kc: fix non-tickless system config dependency
2016-10-11 15:06:32 -07:00
ps3
powerpc: Remove all usages of NO_IRQ
2016-09-20 20:57:12 +10:00
ptp
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2016-12-12 19:56:15 -08:00
pwm
pwm: Changes for v4.10-rc1
2016-12-15 11:45:13 -08:00
rapidio
ras
regulator
- New Device Support
2016-12-19 08:16:26 -08:00
remoteproc
Revert "remoteproc: Merge table_ptr and cached_table pointers"
2016-12-30 03:26:31 -08:00
reset
ARM: SoC driver updates for v4.10
2016-12-15 16:03:25 -08:00
rpmsg
rpmsg: Driver for user space endpoint interface
2017-01-18 10:43:15 -08:00
rtc
ktime: Cleanup ktime_set() usage
2016-12-25 17:21:22 +01:00
s390
ktime: Cleanup ktime_set() usage
2016-12-25 17:21:22 +01:00
sbus
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
scsi
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
2017-01-14 17:07:04 -08:00
sfi
sh
lib: radix-tree: check accounting of existing slot replacement users
2016-12-12 18:55:08 -08:00
sn
soc
powerpc updates for 4.10
2016-12-16 09:26:42 -08:00
spi
dmaengine updates for 4.10-rc1
2016-12-14 20:42:45 -08:00
spmi
ssb
staging
staging: octeon: Call SET_NETDEV_DEV()
2017-01-03 17:11:50 +01:00
target
target: support XCOPY requests without parameters
2017-01-10 08:41:30 -08:00
tc
thermal
Power management material for v4.10-rc1
2016-12-13 10:41:53 -08:00
thunderbolt
Char/Misc driver patches for 4.10-rc1
2016-12-13 12:11:01 -08:00
tty
sysrq: attach sysrq handler correctly for 32-bit kernel
2017-01-11 09:22:54 +01:00
uio
uio-hv-generic: store physical addresses instead of virtual
2016-12-10 14:57:58 +01:00
usb
USB-serial fixes for v4.10-rc4
2017-01-12 18:17:38 +01:00
uwb
vfio
vfio/type1: Remove pid_namespace.h include
2017-01-13 08:23:33 -07:00
vhost
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2016-12-16 10:24:44 -08:00
video
video: fbdev: cobalt_lcdfb: Handle return NULL error from devm_ioremap
2017-01-04 12:58:45 +01:00
virt
mm: replace get_user_pages() write/force parameters with gup_flags
2016-10-19 08:11:43 -07:00
virtio
virtio_mmio: Set dev.release() to avoid warning
2016-12-16 00:13:39 +02:00
vlynq
vme
vme: Fix wrong pointer utilization in ca91cx42_slave_get
2017-01-11 10:42:16 +01:00
w1
watchdog
Watchdog updates for v4.10
2016-12-24 11:27:45 -08:00
xen
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
zorro
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
Kconfig
Makefile