From: dave.patel@riscstar.com
To: Samuel Holland <samuel.holland@sifive.com>
Cc: Scott Bambrough <scott@riscstar.com>,
Robin Randhawa <robin.randhawa@sifive.com>,
Anup Patel <anup.patel@qti.qualcomm.com>,
Dave Patel <dave.patel@riscstar.com>,
Ray Mao <raymond.mao@riscstar.com>,
Anup Patel <anuppate@qti.qualcomm.com>,
Dhaval <dhaval@rivosinc.com>, Peter Lin <peter.lin@sifive.com>,
opensbi@lists.infradead.org, radim.krcmar@oss.qualcomm.com
Subject: [PATCH v4 0/3] Add eager FP and RISC-V vector context switching support
Date: Wed, 8 Apr 2026 08:21:20 +0100 [thread overview]
Message-ID: <20260408072123.7543-1-dave.patel@riscstar.com> (raw)
Hi Samuel, Radim,
Thank you for taking out time and reviewing the patches,
has been some insightful comment and appreciate your inputs and feedback.
I have covered all your comments, please can you have a look and let me know.
Changes since v3:
Patch 1 :
-- Added whole registers vs8r/vl8r instead of vse8/vle8 for save/restore.
So removed vse/vle to improve security.
-- I have removed vl/vtype which only save the used registers and instead
using vs8r/vl8r.
-- Init check for vlenb with SBI_MAX_VLENB
-- Updated license information to match with other source files.
-- decluttered all the dependencies of vector related dependencies in
patch 2 and 3 for eg. adding "({ ... })" is a superior macro wrapper.
Patch 2 :
-- Vector related changes moved to patch 1.
Patch 3 :
-- removed random artifacts and removed vector related changes to patch 1.
I have tested this across the 2 s-mode domains doing context switch and both
floating point and vector retains the values across the context.
Thanks and Regards,
Dave
Signed-off-by: Dave Patel <dave.patel@riscstar.com>
--
opensbi mailing list
opensbi@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi
next reply other threads:[~2026-04-08 7:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-08 7:21 dave.patel [this message]
2026-04-08 7:21 ` [PATCH 1/3] lib: sbi: Add RISC-V vector context save/restore support dave.patel
2026-04-08 7:21 ` [PATCH 2/3] lib: sbi: Add floating-point " dave.patel
2026-04-08 7:21 ` [PATCH 3/3] lib: sbi: domain FP/Vector context support for context switch dave.patel
-- strict thread matches above, loose matches on Subject: below --
2026-04-06 19:31 [PATCH v4 0/3] Add eager FP and RISC-V vector context switching support dave.patel
2026-04-06 22:33 ` Samuel Holland
2026-04-08 7:18 ` Dave Patel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260408072123.7543-1-dave.patel@riscstar.com \
--to=dave.patel@riscstar.com \
--cc=anup.patel@qti.qualcomm.com \
--cc=anuppate@qti.qualcomm.com \
--cc=dhaval@rivosinc.com \
--cc=opensbi@lists.infradead.org \
--cc=peter.lin@sifive.com \
--cc=radim.krcmar@oss.qualcomm.com \
--cc=raymond.mao@riscstar.com \
--cc=robin.randhawa@sifive.com \
--cc=samuel.holland@sifive.com \
--cc=scott@riscstar.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox