[PATCH] armv8: start.S: Subordinate CPUs psci setup vector

0.0 423756212 at qq.com
Tue Mar 25 16:37:25 CET 2025


As current design, only Manager CPU called armv8_setup_psci() before<br/>jump to next stage(such as Linux Kernel), Subordinate CPUs also need<br/>setup psci vector to handle trap request which comes from higher EL<br/>level.<br/><br/>Signed-off-by: xxfore <423756212 at qq.com><br/>---<br/><br/>arch/arm/cpu/armv8/start.S | 3 +++<br/>1 file changed, 3 insertions(+)<br/><br/>diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/armv8/start.S<br/>index d3a8a7c4787..c7872e935e9 100644<br/>--- a/arch/arm/cpu/armv8/start.S<br/>+++ b/arch/arm/cpu/armv8/start.S<br/>@@ -334,6 +334,9 @@ WEAK(lowlevel_init)<br/>	/*<br/>	 * All slaves will enter EL2 and optionally EL1.<br/>	 */<br/>+#if defined(CONFIG_ARMV8_PSCI)<br/>+        bl      psci_setup_vectors<br/>+#endif<br/>	adr	x4, lowlevel_in_el2<br/>	ldr	x5, =ES_TO_AARCH64<br/>	bl	armv8_switch_to_el2<br/>--<br/>2.20.1<br/><br/><br/>


More information about the U-Boot mailing list