opensbi/lib
Amanieu d'Antras ec0559eb31 lib: sbi_misaligned_ldst: Fix handling of C.SWSP and C.SDSP
Unlike C.LWSP/C.LDSP, these encodings can be used with the zero
register, so checking that the rs2 field is non-zero is unnecessary.

Additionally, the previous check was incorrect since it was checking
the immediate field of the instruction instead of the rs2 field.

Signed-off-by: Amanieu d'Antras <amanieu@gmail.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
2023-10-09 13:53:20 +05:30
..
sbi lib: sbi_misaligned_ldst: Fix handling of C.SWSP and C.SDSP 2023-10-09 13:53:20 +05:30
utils gpio/starfive: redundant readl() call 2023-10-06 17:29:09 +05:30