char: virtio_fastrpc: Add virtio frontend fastrpc driver

This driver provides the same interface for fastrpc library as metal Linux.
So fastrpc applications and library can run in GVM without modification.

Change-Id: I0ec9a6d0afaa41c6e88961b471ecd8281a2989a7
Signed-off-by: Ping Jiang <scottjiang@codeaurora.org>
This commit is contained in:
Ping Jiang 2020-04-23 10:29:14 +08:00
parent 497e1f669b
commit f25632a51d
4 changed files with 2018 additions and 0 deletions

View File

@ -616,6 +616,16 @@ config MSM_ADSPRPC
applications DSP processor. Say M if you want to enable this
module.
config VIRTIO_FASTRPC
tristate "Virtio fastrpc driver"
depends on VIRTIO
help
This is the virtual fastrpc frontend driver based on virtio. It
provides a communication mechanism that allows for clients to
make remote method invocations across processor boundary to
applications DSP processor. Say Y if you want to support virtual
fastrpc.
config MSM_RDBG
tristate "QTI Remote debug driver"
help

View File

@ -66,6 +66,10 @@ obj-$(CONFIG_MSM_ADSPRPC) += adsprpc.o
ifdef CONFIG_COMPAT
obj-$(CONFIG_MSM_ADSPRPC) += adsprpc_compat.o
endif
obj-$(CONFIG_VIRTIO_FASTRPC) += virtio_fastrpc.o
ifdef CONFIG_COMPAT
obj-$(CONFIG_VIRTIO_FASTRPC) += adsprpc_compat.o
endif
obj-$(CONFIG_MSM_FASTCVPD) += fastcvpd.o
obj-$(CONFIG_MSM_RDBG) += rdbg.o
obj-$(CONFIG_OKL4_PIPE) += okl4_pipe.o

File diff suppressed because it is too large Load Diff

View File

@ -48,5 +48,6 @@
#define VIRTIO_ID_I2C 32 /* virtio i2c */
#define VIRTIO_ID_SPMI 33 /* virtio spmi */
#define VIRTIO_ID_FASTRPC 34 /* virtio fastrpc */
#endif /* _LINUX_VIRTIO_IDS_H */