Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89de3400 authored by Prakash Burla's avatar Prakash Burla Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: Add hypervisor abstraction driver



This new driver is meant to be a cross-platform abstraction
layer for utilizing the underlying hypervisor system.
This API can be accessed from both user and kernel sides.
The intended users of this are the multimedia drivers who want
to communicate with the host OS to use the multimedia hardware.

Change-Id: I37743df490d14249a9d378225771367750899eb0
Signed-off-by: default avatarEdward Lee <eleekimk@codeaurora.org>
parent 37b0e480
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
QVM Guest Shared Memory

guest_shm is a device that enables linux as a guest operating system
to allocate shared memory between virtual machines and send notifications
of updates to other virtual machines.

Required properties:
- compatible:		Must be "qvm,guest_shm".
- interrupt-parent:	Parent interrupt controller.
- interrupts:		Should contain QVM interrupt.
- reg:			Physical address of the guest factory and length.

Example:
	qvm,guest_shm {
		compatible = "qvm,guest_shm";
		interrupt-parent = <&gic>;
		interrupts = <6 4>;
		reg = <0x1c050000 0x1000>;
	};
+1 −0
Original line number Diff line number Diff line
@@ -143,6 +143,7 @@ powervr PowerVR (deprecated, use img)
qca	Qualcomm Atheros, Inc.
qcom	Qualcomm Technologies, Inc
qnap	QNAP Systems, Inc.
qvm	BlackBerry Ltd
radxa	Radxa
raidsonic	RaidSonic Technology GmbH
ralink	Mediatek/Ralink Technology Corp.
+2 −0
Original line number Diff line number Diff line
@@ -9,6 +9,8 @@ config QCOM_GSBI
          functions for connecting the underlying serial UART, SPI, and I2C
          devices to the output pins.

source "drivers/soc/qcom/hab/Kconfig"

if ARCH_MSM

config CP_ACCESS64
+1 −0
Original line number Diff line number Diff line
@@ -107,3 +107,4 @@ obj-$(CONFIG_MSM_RTB) += msm_rtb-hotplug.o
obj-$(CONFIG_MSM_REMOTEQDSS) += remoteqdss.o
obj-$(CONFIG_QCOM_SMCINVOKE) += smcinvoke.o
obj-$(CONFIG_QCOM_EARLY_RANDOM)	+= early_random.o
obj-$(CONFIG_MSM_HAB) += hab/
+7 −0
Original line number Diff line number Diff line
config MSM_HAB
	boolean "Enable Multimedia driver Hypervisor Abstraction Layer"
	help
	  Multimedia driver hypervisor abstraction layer.
	  Required for drivers to use the HAB API to communicate with the host
	  OS.
Loading