u-boot/arch
Sean Anderson 9472630337 riscv: Clear pending interrupts before enabling IPIs
On some platforms (k210), the previous stage bootloader may have not
cleared pending IPIs before transferring control to U-Boot. This can cause
race conditions, as multiple harts all attempt to initialize the IPI
controller at once. This patch clears IPIs before enabling them, ensuring
that only one hart modifies shared memory at once.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
2020-07-01 15:01:21 +08:00
..
arc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm Merge branch '2020-06-30-minor-TI-board-updates' into next 2020-06-30 15:03:25 -04:00
m68k bdinfo: m68k: ppc: Move arch-specific code from bdinfo 2020-06-25 13:24:13 -04:00
microblaze common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mips common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nds32 bdinfo: nds32: Use generic bd_info 2020-06-25 13:24:10 -04:00
nios2 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
powerpc bdinfo: m68k: ppc: Move arch-specific code from bdinfo 2020-06-25 13:24:13 -04:00
riscv riscv: Clear pending interrupts before enabling IPIs 2020-07-01 15:01:21 +08:00
sandbox reset: Add generic reset driver 2020-07-01 15:01:21 +08:00
sh sh: Enable ffunction-sections and fdata-sections 2020-05-20 13:20:25 +02:00
x86 x86: Don't build some unused objects in TPL 2020-06-29 13:34:43 -04:00
xtensa common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
.gitignore
Kconfig sandbox: move compression option to Kconfig 2020-05-25 11:54:53 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00