[PATCH] riscv: alternative: proceed one more instruction for auipc/jalr pair

Heiko Stübner heiko at sntech.de
Thu Jan 19 09:21:28 PST 2023


Am Sonntag, 15. Januar 2023, 17:28:11 CET schrieb Jisheng Zhang:
> If we patched auipc + jalr pair, we'd better proceed one more
> instruction. Andrew pointed out "There's not a problem now, since
> we're only adding a fixup for jal, not jalr, but we should
> future-proof this and there's no reason to revisit an already fixed-up
> instruction anyway."
> 
> Signed-off-by: Jisheng Zhang <jszhang at kernel.org>
> Suggested-by: Andrew Jones <ajones at ventanamicro.com>

Reviewed-by: Heiko Stuebner <heiko at sntech.de>





More information about the linux-riscv mailing list