misc: fastrpc: Add Qualcomm fastrpc basic driver model
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 8 Feb 2019 17:11:24 +0000 (17:11 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 09:40:30 +0000 (10:40 +0100)
commitf6f9279f2bf0e37e2f1fb119d8832b8568536a04
tree3621a3343a8accf79bb897de8f867272fa89102c
parent36e738bdab536c0bdfa16e999fa66a3b9b776e5d
misc: fastrpc: Add Qualcomm fastrpc basic driver model

This patch adds basic driver model for Qualcomm FastRPC driver which
implements an IPC (Inter-Processor Communication) mechanism that
allows for clients to transparently make remote method invocations
across processor boundaries.

Each DSP rpmsg channel is represented as fastrpc channel context and
is exposed as a character device for userspace interface.
Each compute context bank is represented as fastrpc-session-context,
which are dynamically managed by the channel context char device.

Co-developed-by: Thierry Escande <thierry.escande@linaro.org>
Signed-off-by: Thierry Escande <thierry.escande@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/fastrpc.c [new file with mode: 0644]