mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-13 12:49:35 +02:00
FROMLIST: dt-bindings: hypervisor: Add MediaTek GenieZone hypervisor
From: "Yingshiuan Pan" <yingshiuan.pan@mediatek.com> Add documentation for GenieZone(gzvm) node. This node informs gzvm driver to start probing if proprietary geniezone hypervisor firmware is available and capable of executing virtual machine operations. [Reason to use dt solution] The GenieZone hypervisor acts as a vendor firmware to enable platform virtualization, offering an implementation that is independent of Linux-specific implementations. - Previously, our approach involved probing via hypercalls to detect the presence of our hypervisor firmware. However, this method raised concerns about potential impacts on all systems, including those without the embedded GenieZone hypervisor.[1] - By utilizing the device tree solution, we can accurately identify the GenieZone hypervisor's presence without relying on hypercalls, ensuring a more targeted and efficient detection process that minimizes the risk of unintended consequences on non-GenieZone systems. [1] https://lore.kernel.org/all/2fe0c7f9-55fc-ae63-3631-8526a0212ccd@linaro.org/ Change-Id: I8ab532ca44bdefc2935dde554eeb8eaae828d24c Signed-off-by: Yingshiuan Pan <yingshiuan.pan@mediatek.com> Co-developed-by: Yi-De Wu <yi-de.wu@mediatek.com> Signed-off-by: Yi-De Wu <yi-de.wu@mediatek.com> Signed-off-by: Liju Chen <liju-clr.chen@mediatek.com> Bug: 343838587 Link: https://lore.kernel.org/all/20240529084239.11478-4-liju-clr.chen@mediatek.com/
This commit is contained in:
parent
9b6ec31196
commit
f6cbf65f3f
|
@ -0,0 +1,34 @@
|
||||||
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/firmware/mediatek,geniezone.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: MediaTek GenieZone hypervisor
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Yingshiuan Pan <yingshiuan.pan@mediatek.com>
|
||||||
|
|
||||||
|
description:
|
||||||
|
GenieZone is a proprietary type-II hypervisor firmware developed by MediaTek,
|
||||||
|
providing an isolated execution environment for mTEE (MediaTek Trusted
|
||||||
|
Execution Environment) and AVF (Android Virtualization Framework) virtual
|
||||||
|
machines. This binding facilitates the integration of GenieZone into the
|
||||||
|
Android Virtualization Framework (AVF) with Crosvm as the VMM. The driver
|
||||||
|
exposes hypervisor control interfaces to the VMM for managing virtual
|
||||||
|
machine lifecycles and assisting virtual device emulation.
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
const: mediatek,geniezone
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
hypervisor {
|
||||||
|
compatible = "mediatek,geniezone";
|
||||||
|
};
|
|
@ -8797,6 +8797,7 @@ GENIEZONE HYPERVISOR DRIVER
|
||||||
M: Yingshiuan Pan <yingshiuan.pan@mediatek.com>
|
M: Yingshiuan Pan <yingshiuan.pan@mediatek.com>
|
||||||
M: Ze-Yu Wang <ze-yu.wang@mediatek.com>
|
M: Ze-Yu Wang <ze-yu.wang@mediatek.com>
|
||||||
M: Yi-De Wu <yi-de.wu@mediatek.com>
|
M: Yi-De Wu <yi-de.wu@mediatek.com>
|
||||||
|
F: Documentation/devicetree/bindings/firmware/mediatek,geniezone.yaml
|
||||||
F: Documentation/virt/geniezone/
|
F: Documentation/virt/geniezone/
|
||||||
F: arch/arm64/geniezone/
|
F: arch/arm64/geniezone/
|
||||||
F: drivers/virt/geniezone/
|
F: drivers/virt/geniezone/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user