ARM: dts: msm: Add support for guest-cpus
Add support for offlining CPUs during VM load for Parrot.
Change-Id: Id5dad4d40375942a2f8ad671345390ecfc7a3926
Signed-off-by: Swetha Chikkaboraiah <quic_schikk@quicinc.com>
(cherry picked from commit 07b61ddce6
)
This commit is contained in:
committed by
Saranya R
parent
fe3e98a245
commit
67b2369061
@@ -26,6 +26,10 @@ properties:
|
|||||||
$ref: '/schemas/types.yaml#/definitions/uint32'
|
$ref: '/schemas/types.yaml#/definitions/uint32'
|
||||||
description: Peripheral authentication ID of the subsystem.
|
description: Peripheral authentication ID of the subsystem.
|
||||||
|
|
||||||
|
qcom,guest-cpus:
|
||||||
|
$ref: '/schemas/types.yaml#/definitions/string'
|
||||||
|
description: Guest CPUs.
|
||||||
|
|
||||||
qcom,firmware-name:
|
qcom,firmware-name:
|
||||||
$ref: '/schemas/types.yaml#/definitions/string'
|
$ref: '/schemas/types.yaml#/definitions/string'
|
||||||
description: Virtual machine name.
|
description: Virtual machine name.
|
||||||
@@ -42,6 +46,7 @@ required:
|
|||||||
- compatible
|
- compatible
|
||||||
- qcom,pas-id
|
- qcom,pas-id
|
||||||
- qcom,vmid
|
- qcom,vmid
|
||||||
|
- qcom,guest-cpus
|
||||||
- qcom,firmware-name
|
- qcom,firmware-name
|
||||||
- memory-region
|
- memory-region
|
||||||
- virtio-backends
|
- virtio-backends
|
||||||
@@ -54,6 +59,7 @@ examples:
|
|||||||
compatible = "qcom,gh-secure-vm-loader";
|
compatible = "qcom,gh-secure-vm-loader";
|
||||||
qcom,pas-id = <28>;
|
qcom,pas-id = <28>;
|
||||||
qcom,vmid = <45>;
|
qcom,vmid = <45>;
|
||||||
|
qcom,guest-cpus = "5-6";
|
||||||
qcom,firmware-name = "trustedvm";
|
qcom,firmware-name = "trustedvm";
|
||||||
memory-region = <&trust_ui_vm_mem>;
|
memory-region = <&trust_ui_vm_mem>;
|
||||||
virtio-backends = <&trust_ui_vm_virt_be0>;
|
virtio-backends = <&trust_ui_vm_virt_be0>;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: BSD-3-Clause
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dt-bindings/interconnect/qcom,icc.h>
|
#include <dt-bindings/interconnect/qcom,icc.h>
|
||||||
@@ -2066,6 +2066,7 @@
|
|||||||
compatible = "qcom,gh-secure-vm-loader";
|
compatible = "qcom,gh-secure-vm-loader";
|
||||||
qcom,pas-id = <28>;
|
qcom,pas-id = <28>;
|
||||||
qcom,vmid = <45>;
|
qcom,vmid = <45>;
|
||||||
|
qcom,guest-cpus = "5-6";
|
||||||
qcom,firmware-name = "trustedvm";
|
qcom,firmware-name = "trustedvm";
|
||||||
memory-region = <&trust_ui_vm_mem>;
|
memory-region = <&trust_ui_vm_mem>;
|
||||||
virtio-backends = <&trust_ui_vm_virt_be0>;
|
virtio-backends = <&trust_ui_vm_virt_be0>;
|
||||||
|
Reference in New Issue
Block a user