]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: versal2: fix GICD/GICR base addresses for Versal Gen 2
authorMaheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
Tue, 10 Feb 2026 11:02:06 +0000 (12:02 +0100)
committerMichal Simek <michal.simek@amd.com>
Wed, 11 Feb 2026 08:26:17 +0000 (09:26 +0100)
Versal2 was using wrong GIC base mappings, causing GICR_TYPER reads to
not match EL1 MPIDR. This led U-Boot to walk beyond the per-CPU GICR
frames, access out-of-range addresses, and hit a synchronous exception
during early gic init percpu while booting up on alternate core
i.e., non cpu0.

Update Versal Gen 2 headers to the correct Versal Gen 2 bases.

Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/d0bc3fe1af8409fcfe505e55fb7042a33b845a4e.1770721325.git.michal.simek@amd.com
include/configs/amd_versal2.h

index 05ddd4eabe16ad68cdb178bc965268b4133d7ae6..404af2cd4c657f0f9440b86bba7402f475a395a4 100644 (file)
@@ -16,8 +16,8 @@
 /* #define CONFIG_ARMV8_SWITCH_TO_EL1 */
 
 /* Generic Interrupt Controller Definitions */
-#define GICD_BASE      0xF9000000
-#define GICR_BASE      0xF9060000
+#define GICD_BASE      0xe2000000
+#define GICR_BASE      0xe2060000
 
 /* Serial setup */
 #define CFG_SYS_BAUDRATE_TABLE \