lib: sbi: Optimize sbi_ipi
authorXiang W <wxjstz@126.com>
Tue, 11 Apr 2023 04:56:19 +0000 (12:56 +0800)
committerAnup Patel <anup@brainfault.org>
Thu, 13 Apr 2023 07:14:50 +0000 (12:44 +0530)
commit24dde46b8df0830174580919d49c21160d7d9fce
tree7ab506e80d51608a0794bd072d3987dc89d4b60e
parent66fa925353a133173e4f51a5ba247ee3e1a5943c
lib: sbi: Optimize sbi_ipi

The original sbi_ipi will be processed by hart by hart, after optimization,
send ipi first and finally wait together.

Signed-off-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Tested-by: Anup Patel <anup@brainfault.org>
lib/sbi/sbi_ipi.c