Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115822361
D46077.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
666 B
Referenced Files
None
Subscribers
None
D46077.diff
View Options
diff --git a/sys/arm64/vmm/vmm_hyp.c b/sys/arm64/vmm/vmm_hyp.c
--- a/sys/arm64/vmm/vmm_hyp.c
+++ b/sys/arm64/vmm/vmm_hyp.c
@@ -262,6 +262,9 @@
uint64_t dfr0;
/* Restore the special registers */
+ WRITE_SPECIALREG(hcr_el2, hypctx->hcr_el2);
+ isb();
+
WRITE_SPECIALREG(elr_el1, hypctx->elr_el1);
WRITE_SPECIALREG(sp_el0, hypctx->sp_el0);
WRITE_SPECIALREG(tpidr_el0, hypctx->tpidr_el0);
@@ -290,7 +293,6 @@
WRITE_SPECIALREG(spsr_el1, hypctx->spsr_el1);
WRITE_SPECIALREG(cptr_el2, hypctx->cptr_el2);
- WRITE_SPECIALREG(hcr_el2, hypctx->hcr_el2);
WRITE_SPECIALREG(vpidr_el2, hypctx->vpidr_el2);
WRITE_SPECIALREG(vmpidr_el2, hypctx->vmpidr_el2);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 4:00 AM (7 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17851269
Default Alt Text
D46077.diff (666 B)
Attached To
Mode
D46077: arm64/vmm: Restore hcr_el2 earlier
Attached
Detach File
Event Timeline
Log In to Comment