summaryrefslogtreecommitdiff
path: root/include/sbi_utils/cppc
diff options
context:
space:
mode:
authorwhensun <[email protected]>2026-08-28 14:31:04 -0700
committerAnup Patel <[email protected]>2026-09-05 12:33:48 +0530
commit7774b82e4aaa6fa98d1430b02d614eadd339a8a2 (patch)
tree2565865e9e46f23af0304b2b5b65a33a07e75eb9 /include/sbi_utils/cppc
parentbf459f85bf75d86cbf028e136067ce96aefde221 (diff)
lib: sbi: Fix FP state enable in sbi_fp_save
sbi_fp_save() currently sets mstatus.VS before executing floating-point store instructions. VS controls vector state and does not enable floating-point instructions. Set mstatus.FS instead, matching sbi_fp_restore(), so floating-point state can be saved when FS was previously Off. Fixes: 718e1d194f5a ("lib: sbi: Add floating-point context save/restore support.") Signed-off-by: whensun <[email protected]> Co-developed-by: Huamao Wu <[email protected]> Signed-off-by: Huamao Wu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include/sbi_utils/cppc')
0 files changed, 0 insertions, 0 deletions