arm-trusted-firmware/plat/arm/board/n1sdp
Jerry Wang c89438bcea feat(gic): add support for local chip addressing
This patch adds support for Local Chip Addressing (LCA). In a multi-chip
system, enablig LCA allows each GIC Distributor to maintain its own
version of routing table. This feature is activated when the
GICD_CFGID.LCA bit is set to 1.

The existing `gic600_multichip_data` data structure did not account for
the LCA feature. To support LCA:
- `rt_owner_base` is replaced by `base_addrs[]`. This is required
  because each GICD in the system needs to be configured independently,
  and their base addresses must be passed to the driver.
- `chip_addrs` is changed from 1D to 2D array to store the routing table
  for each chip's GICD. The entries in `chip_addrs` are configuration
  dependent, as the GIC specification does not enforce this.

On a multi-chip platform with chip count N where LCA is enabled by
default, the `gic600_multichip_data` structure should contain all copies
of the routing table (N*N entries). On platforms where LCA is not
supported, only the first sub-array with N entries is required. The
function signature of `gic600_multichip_init` remains unchanged, but if
the LCA feature is enabled, the driver will expect the routing table
configuration in the described format.

Change-Id: I8830c2cf90db6a0cae78e99914cd32c637284a2b
Signed-off-by: Jerry Wang <Jerry.Wang4@arm.com>
2025-01-23 16:27:24 +01:00
..
aarch64 n1sdp: update platform macros for dual-chip setup 2019-10-31 12:15:05 +00:00
fdts (feat)n1sdp: add support for OP-TEE SPMC 2022-07-25 15:35:40 +02:00
include refactor(arm): remove unused SP_MIN UART macros 2024-04-02 13:36:31 +01:00
n1sdp_bl1_setup.c feat(n1sdp): enable trusted board boot on n1sdp 2022-05-12 18:51:32 +02:00
n1sdp_bl2_setup.c refactor(n1sdp): update SDS driver calls 2024-02-13 14:36:14 +01:00
n1sdp_bl31_setup.c feat(gic): add support for local chip addressing 2025-01-23 16:27:24 +01:00
n1sdp_def.h feat(n1sdp): add support for nt_fw_config 2022-05-12 18:51:53 +02:00
n1sdp_err.c feat(n1sdp): enable trusted board boot on n1sdp 2022-05-12 18:51:32 +02:00
n1sdp_image_load.c refactor(n1sdp): update SDS driver calls 2024-02-13 14:36:14 +01:00
n1sdp_interconnect.c plat/arm: Introduce the N1SDP. 2018-10-29 17:50:31 +05:30
n1sdp_plat.c refactor(n1sdp): update SDS driver calls 2024-02-13 14:36:14 +01:00
n1sdp_pm.c fix(n1sdp): remove platform specific pwr_domain_suspend wrapper 2023-05-19 16:54:53 +05:30
n1sdp_private.h fix(n1sdp): remove platform specific pwr_domain_suspend wrapper 2023-05-19 16:54:53 +05:30
n1sdp_security.c plat/arm: Introduce the N1SDP. 2018-10-29 17:50:31 +05:30
n1sdp_topology.c n1sdp: update platform macros for dual-chip setup 2019-10-31 12:15:05 +00:00
n1sdp_trusted_boot.c feat(n1sdp): enable trusted board boot on n1sdp 2022-05-12 18:51:32 +02:00
platform.mk build(n1sdp): add ARM_ARCH_MAJOR.ARM_ARCH_MINOR 2023-10-30 10:34:44 -05:00