[PATCH 0/2] Address vector misalgined load/store stack issues
Anup Patel <[email protected]> Sat, 13 Jun 2026 18:51:27 +0530
| Newsgroups | org.infradead.lists.opensbi |
|---|---|
| Message-ID | <[email protected]> |
The vector misaligned load/store emulation requires mask[] of 8192 bytes which cause stack corruptions since default stack size is also 8192 bytes. This series tries to address it. These patches can also be found in misaligned_ldst_v_stack_imp_v1 branch at: https://github.com/avpatel/opensbi.git Anup Patel (2): lib: sbi: Move trap delegation setup to sbi_trap.c lib: sbi: Reduce stack usage of vector misaligned load/store emulation include/sbi/sbi_trap.h | 2 ++ include/sbi/sbi_trap_ldst.h | 2 ++ lib/sbi/sbi_hart.c | 46 ---------------------------- lib/sbi/sbi_init.c | 8 +++++ lib/sbi/sbi_trap.c | 55 +++++++++++++++++++++++++++++++++ lib/sbi/sbi_trap_v_ldst.c | 61 +++++++++++++++++++++++++++++++++++-- 6 files changed, 125 insertions(+), 49 deletions(-) -- 2.43.0 -- opensbi mailing list [email protected] http://lists.infradead.org/mailman/listinfo/opensbi