summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2026-01-07 09:31:32 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2026-01-07 09:31:32 +0000
commitf6f91f71c96c24f1d38bc9d46e98867260646a9d (patch)
treecce4af090488efcea69f88dfdfd722bfcd18ac95
parent0eaf5de8e0a0678ab57602f8e804bd35245fcc2b (diff)
parent460b5cfc6c0be440f919e6a392b85456bcf20a3e (diff)
downloadarm-trusted-firmware-f6f91f71c96c24f1d38bc9d46e98867260646a9d.tar.gz
arm-trusted-firmware-f6f91f71c96c24f1d38bc9d46e98867260646a9d.zip
Merge "fix(rcar3): prevent boot CPU hot unplug" into integration
-rw-r--r--plat/renesas/common/bl31_plat_setup.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/plat/renesas/common/bl31_plat_setup.c b/plat/renesas/common/bl31_plat_setup.c
index aedc414ee..43c514dfe 100644
--- a/plat/renesas/common/bl31_plat_setup.c
+++ b/plat/renesas/common/bl31_plat_setup.c
@@ -133,3 +133,19 @@ void bl31_platform_setup(void)
rcar_boot_mpidr = read_mpidr_el1() & 0x0000ffffU;
rcar_pwrc_all_disable_interrupt_wakeup();
}
+
+static int32_t rcar_svc_migrate_info(u_register_t *resident_cpu)
+{
+ *resident_cpu = rcar_boot_mpidr;
+
+ return PSCI_TOS_NOT_UP_MIG_CAP;
+}
+
+const spd_pm_ops_t rcar_pm = {
+ .svc_migrate_info = rcar_svc_migrate_info,
+};
+
+void bl31_plat_runtime_setup(void)
+{
+ psci_register_spd_pm_hook(&rcar_pm);
+}