Page MenuHomeFreeBSD

D58723.1795015835.diff
No OneTemporary

Authored By
Unknown
Size
550 B
Referenced Files
None
Subscribers
None

D58723.1795015835.diff

diff --git a/sys/arm64/arm64/vfp.c b/sys/arm64/arm64/vfp.c
--- a/sys/arm64/arm64/vfp.c
+++ b/sys/arm64/arm64/vfp.c
@@ -797,15 +797,17 @@
critical_exit();
} else {
+ critical_enter();
+
vfp_restore_state_common(td, curpcb->pcb_fpflags);
/* Enable SVE if it wasn't previously enabled */
if ((curpcb->pcb_fpflags & PCB_FP_SVEVALID) == 0) {
- critical_enter();
+ MPASS(PCPU_GET(fpcurthread) == td);
sve_enable();
curpcb->pcb_fpflags |= PCB_FP_SVEVALID;
- critical_exit();
}
+ critical_exit();
}
return (true);

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 18, 3:30 PM (8 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41827009
Default Alt Text
D58723.1795015835.diff (550 B)

Event Timeline