mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 16:39:35 +00:00
90ae281437
Add a wait option to smp_call_function() to wait for the secondary harts to acknowledge the call-function request. The request is considered to be acknowledged once each secondary hart has cleared the corresponding IPI. As part of the call-function request, the secondary harts invalidate the instruction cache after clearing the IPI. This adds a delay between acknowledgment (clear IPI) and fulfillment (call function) of the request. We want to use the acknowledgment to be able to judge when the request has been completed. Remove the delay by clearing the IPI after cache invalidation and just before calling the function from the request. Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Rick Chen <rick@andestech.com> Tested-by: Rick Chen <rick@andestech.com> Reviewed-by: Anup Patel <anup.patel@wdc.com> |
||
---|---|---|
.. | ||
arch-generic | ||
asm.h | ||
barrier.h | ||
bitops.h | ||
byteorder.h | ||
cache.h | ||
config.h | ||
csr.h | ||
dma-mapping.h | ||
encoding.h | ||
global_data.h | ||
gpio.h | ||
io.h | ||
linkage.h | ||
posix_types.h | ||
processor.h | ||
ptrace.h | ||
sbi.h | ||
sections.h | ||
setjmp.h | ||
smp.h | ||
spl.h | ||
string.h | ||
syscon.h | ||
system.h | ||
types.h | ||
u-boot-riscv.h | ||
u-boot.h | ||
unaligned.h |