[PATCH 0/2] lib: sbi: fixes a few SSE errors

Anup Patel anup at brainfault.org
Thu Nov 28 19:14:44 PST 2024


On Mon, Nov 25, 2024 at 4:24 PM Clément Léger <cleger at rivosinc.com> wrote:
>
> While reviewing kvm-unit-tests, Andrew Jones found a few implementation
> errors. This small series fixes them.
>
> Clément Léger (2):
>   lib: sbi: fix GLOBAL_PLAT_DEFINE
>   lib: sbi: sse: Fix a6 and a7 register content upon injection

Do you have corresponding changes in Linux SSE implementation ?

Recently, we had found few more issues and fixed the Linux SSE
implementation which is available in dev-upstream branch at:
https://github.com/ventanamicro/linux.git

Particularly, the Linux SSE entry/exit was not saving and restoring
sscratch CSR in all paths which caused the kernel to crash in certain
cases. The above mentioned branch already has the fix for it.

Regards,
Anup



More information about the opensbi mailing list