Browse Source

feat(board/rdn2): add a new 'isolated-cpu-list' property

Add a new property named 'isolated-cpu-list' to list the CPUs that are
to be isolated and not used by the platform. The data represented by
this property is formatted as below.

  strutct isolated_cpu_mpid_list {
          uint64_t count;
          uint64_t mpid_list[MAX Number of PE];
  }

Also, the property is pre-initialized to 0 to reserve space for the
property in the dtb. The data for this property is read from SDS and
updated during boot. The number of entries in this list is equal to the
maximum number of PEs present on the platform.

Signed-off-by: Nishant Sharma <nishant.sharma@arm.com>
Change-Id: I4119f899a273ccbf8259e0d711d3a25501c7ec64
pull/1986/head
Nishant Sharma 3 years ago
parent
commit
afa41571b8
  1. 23
      plat/arm/board/rdn2/fdts/rdn2_nt_fw_config.dts

23
plat/arm/board/rdn2/fdts/rdn2_nt_fw_config.dts

@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2020 - 2022, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@ -18,5 +18,26 @@
platform-id = <0x0>;
config-id = <0x0>;
multi-chip-mode = <0x0>;
/*
* First cell pair: Count of isolated CPUs in the list.
* Rest of the cells: MPID list of the isolated CPUs.
*/
isolated-cpu-list = <0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0
0x0 0x0>;
};
};

Loading…
Cancel
Save