Commit graph

7 commits

Author SHA1 Message Date
Murali Nalajala
c9db2df3b8 vservices: Fix LLVM compilation errors for vservice drivers
vServices drivers compilation failed when it is compiled with
LLVM compiler. Fix the vService drivers to compile successfully.

Change-Id: Ie729480eb17c3156c63638edb4e47603cfad1ef2
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2019-01-22 13:56:07 -08:00
Carl van Schaik
b523237653 vservices: block: add the block protocol and drivers
Adds the virtual services block protocol and block io drivers.
This protocol and drivers support exporting virtual block devices
from one VM to another, which are backed by another block device.

Change-Id: I47f86307c6201cb66d81bd453bb8c6c7ce99480f
Signed-off-by: Carl van Schaik <carl@cog.systems>
Git-commit: 9e55989babab087627e1ae42b2ed8e656c4b3993
Git-repo: https://github.com/CogSystems/linux-msm/commits/msm-4.9-hyp
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
[pheragu@codeaurora: Changing bio APIs]
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2019-01-21 18:17:48 -08:00
Carl van Schaik
17607ebf91 vservices: serial: Add the serial protocol and drivers
Adds the virtual services serial protocol and tty drivers
for virtual serial and console.

Change-Id: I2dd86a677406d6b74b0e02e5fda720eaf9edcd62
Signed-off-by: Carl van Schaik <carl@cog.systems>
Git-commit: 29f5766e09adb6064b01bf20e76c117bcfa94e41
Git-repo: https://github.com/CogSystems/linux-msm/commits/msm-4.9-hyp
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2019-01-09 11:00:12 -08:00
Murali Nalajala
05623dfc72 vservices: transport: Port transport vservice driver to linux 4.14
vservices transport driver is broken on 4.14 kernel due to kernel
primitives changes like DMA and few general macros. This commit
updates transport driver to build and run on linux 4.14.

Change-Id: I1acbeddcde106e5e1b64a4babfca28fde895a245
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2019-01-09 11:00:12 -08:00
Carl van Schaik
d59211750d vservices: add the axon transport driver
The Axon transport driver adds a virtual services transport
driver for the OKL4 hypervisor Axons IPC interface, which
provides a secure high-performance scatter-gather style
inter-VM communication.

Change-Id: I2e1f573a43d3d89123687ab103f156aa83bdb893
Signed-off-by: Carl van Schaik <carl@cog.systems>
Git-commit: 88aed16076a3a860f3b2fa29a091989ff2a3b467
Git-repo: https://github.com/CogSystems/linux-msm/commits/msm-4.9-hyp
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
[pheragu@codeaurora: Change of setup_timer API and the callback]
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2019-01-09 11:00:12 -08:00
Murali Nalajala
abf9e66197 vservices: core: Port core vservices drivers to linux 4.14
Vservices core drivers are broken on 4.14 kernel due to core
framework changes.This commit updates the virtual services
core to build and run on linux 4.14.

Change-Id: I53360a8b8431d58c4569d4d4c3b86f3c820b6faf
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2019-01-09 11:00:12 -08:00
Carl van Schaik
f17bb74fb9 driver: vservices: Add the vservices framework and core
Adds the Virtual Services framework and core protocol code.

The Virtual Services framework provides a bus for generic inter-vm
communications using a high level abstract model. The vservices
bus provides support for both HLOS and embedded C clients and servers,
allowing VMs to communicate in a common OS independent manner.

The vservices bus and services over it are hot-plug capable and
can support a wide variety of use cases, including device virtualization
using virtual device protocol (classes) and drivers, similar in
concept to USB or virtio.

Change-Id: I7a696354f59730e0ad340fb92dc85661a7376dee
Signed-off-by: Carl van Schaik <carl@cog.systems>
Git-commit: 42814676e8bf5fb34060ee80e05e2175ae146292
Git-repo: https://github.com/CogSystems/linux-msm/commits/msm-4.9-hyp
[mnalajal@codeaurora: Resolve trivial merge conflicts]
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2019-01-09 11:00:11 -08:00