Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142636013
D54532.id169936.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
791 B
Referenced Files
None
Subscribers
None
D54532.id169936.diff
View Options
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
@@ -934,6 +934,9 @@
pcb = td->td_pcb;
+ if (td == curthread && (pcb->pcb_fpflags & PCB_FP_STARTED) != 0)
+ vfp_save_state(td, pcb);
+
/* If there is no SVE support in HW then we don't support NT_ARM_SVE */
if (pcb->pcb_sve_len == 0)
return (false);
@@ -955,9 +958,6 @@
KASSERT(*sizep == sizeof(struct svereg_header) + buf_size,
("%s: invalid size", __func__));
- if (td == curthread && (pcb->pcb_fpflags & PCB_FP_STARTED) != 0)
- vfp_save_state(td, pcb);
-
header = buf;
memset(header, 0, sizeof(*header));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 22, 5:33 PM (19 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27706932
Default Alt Text
D54532.id169936.diff (791 B)
Attached To
Mode
D54532: arm64: Fix kernel panic in get_arm64_sve during core dump
Attached
Detach File
Event Timeline
Log In to Comment