From 784a4657c0957e7f9561fd2d87930ba008643c1e Mon Sep 17 00:00:00 2001 From: Atish Patra Date: Fri, 18 Jan 2019 13:35:47 -0800 Subject: lib: Move software interrupt enablement from firmware to lib The secondary hart waits for an IPI signal from the boot hart to executing boot code (hot boot). As a result, software generated interrupts have to be enabled for secondary harts before waiting for the boot hart boot completion IPI signal. Enabling software generated interrupts (IPI) can be done independently of the firmware code and moved to libsbi code so that the different firmware do not have to implement this. Signed-off-by: Atish Patra --- firmware/fw_base.S | 4 ---- 1 file changed, 4 deletions(-) (limited to 'firmware/fw_base.S') diff --git a/firmware/fw_base.S b/firmware/fw_base.S index ad6371b..5738f57 100644 --- a/firmware/fw_base.S +++ b/firmware/fw_base.S @@ -125,10 +125,6 @@ _start_warm: csrw mie, zero csrw mip, zero - /* Set MSIE bit to receive IPI */ - li a2, MIP_MSIP - csrw mie, a2 - /* Preload per-HART details * s6 -> HART ID * s7 -> HART Count -- cgit v1.2.3