OSDN Git Service

soc: qcom: add audio apr and ion virtualization support
authorDerek Chen <chenche@codeaurora.org>
Tue, 20 Sep 2016 22:25:13 +0000 (18:25 -0400)
committerGerrit - the friendly Code Review server <code-review@localhost>
Wed, 18 Oct 2017 18:28:36 +0000 (11:28 -0700)
commit1bc3c0f656693b87e39a299db3c396194c235b21
tree35c766c7789bf2cac874c92627f77f710b4ffd34
parent20caa060844314aa4a2cd2e50c9e82eb12d57b34
soc: qcom: add audio apr and ion virtualization support

Add support for virtualized APR and ION frontend driver
for audio.
Virtualized APR frontend driver resides in guest VM and
supports all legacy APR APIs. It will rely on MSM_HAB
to communicate with APR backend driver, which resides in
physical VM, where legacy SMD is utilized for communication
between APPS and ADSP.
Virtualized ION driver currently is designed to extract
physical memory through hypervisor abstracted ion layer,
which can be shared between APPS and ADSP directly.

CRs-fixed: 2047379
Change-Id: I7dad5aebfd1db00cd32807dc1219818a7a4e62c5
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Documentation/devicetree/bindings/sound/qcom-audio-dev.txt
drivers/soc/qcom/Kconfig
drivers/soc/qcom/qdsp6v2/Makefile
drivers/soc/qcom/qdsp6v2/apr_vm.c [new file with mode: 0644]
drivers/soc/qcom/qdsp6v2/msm_audio_ion_vm.c [new file with mode: 0644]
include/linux/qdsp6v2/apr.h
include/linux/qdsp6v2/aprv2_vm.h [new file with mode: 0644]