mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 01:24:27 +00:00

According to [1] and in context of FF-A v1.0 a secure partition must have either one EC (migratable UP) or a number of ECs equal to the number of PEs (pinned MP). Adjust the SPMC manifest such that the number of ECs is equal to the number of PEs. [1] https://trustedfirmware-a.readthedocs.io/en/latest/components/ secure-partition-manager.html#platform-topology Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: Ie8c7d96ae7107cb27f5b97882d8f476c18e026d4
78 lines
1.3 KiB
Text
78 lines
1.3 KiB
Text
/*
|
|
* Copyright (c) 2020, Arm Limited. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
/dts-v1/;
|
|
|
|
#define AFF 00
|
|
|
|
#include "fvp-defs.dtsi"
|
|
#undef POST
|
|
#define POST \
|
|
enable-method = "psci"; \
|
|
};
|
|
|
|
/ {
|
|
compatible = "arm,ffa-core-manifest-1.0";
|
|
#address-cells = <2>;
|
|
#size-cells = <1>;
|
|
|
|
attribute {
|
|
spmc_id = <0x8000>;
|
|
maj_ver = <0x1>;
|
|
min_ver = <0x0>;
|
|
exec_state = <0x0>;
|
|
load_address = <0x0 0x6000000>;
|
|
entrypoint = <0x0 0x6000000>;
|
|
binary_size = <0x80000>;
|
|
};
|
|
|
|
chosen {
|
|
linux,initrd-start = <0>;
|
|
linux,initrd-end = <0>;
|
|
};
|
|
|
|
hypervisor {
|
|
compatible = "hafnium,hafnium";
|
|
vm1 {
|
|
is_ffa_partition;
|
|
debug_name = "cactus-primary";
|
|
load_address = <0x7000000>;
|
|
};
|
|
vm2 {
|
|
is_ffa_partition;
|
|
debug_name = "cactus-secondary";
|
|
load_address = <0x7100000>;
|
|
vcpu_count = <8>;
|
|
mem_size = <1048576>;
|
|
};
|
|
vm3 {
|
|
is_ffa_partition;
|
|
debug_name = "cactus-tertiary";
|
|
load_address = <0x7200000>;
|
|
vcpu_count = <8>;
|
|
mem_size = <1048576>;
|
|
};
|
|
};
|
|
|
|
cpus {
|
|
#address-cells = <0x2>;
|
|
#size-cells = <0x0>;
|
|
|
|
CPU_0
|
|
/* SPM(Hafnium) requires secondary cpu nodes are declared in descending order */
|
|
CPU_7
|
|
CPU_6
|
|
CPU_5
|
|
CPU_4
|
|
CPU_3
|
|
CPU_2
|
|
CPU_1
|
|
};
|
|
|
|
memory@60000000 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */
|
|
};
|
|
};
|