On Tue, Sep 02, 2025 at 08:19:32AM +0000, Yao Zi wrote:
> Add an alternative implementation that use Zalrsc extension only for
> HART lottery and SMP locking to support SMP on cores without "Zaamo"
> extension available. The Zaamo implementation is still prioritized if
> both of them are available, since it takes fewer instructions.
> 
> Signed-off-by: Yao Zi <[email protected]>
> ---
>  arch/riscv/cpu/start.S | 26 +++++++++++++++++++++++++-
>  1 file changed, 25 insertions(+), 1 deletion(-)

Reviewed-by: Leo Yu-Chi Liang <[email protected]>

Reply via email to