Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144876607
D52806.1776791734.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
521 B
Referenced Files
None
Subscribers
None
D52806.1776791734.diff
View Options
diff --git a/sys/arm64/vmm/vmm_reset.c b/sys/arm64/vmm/vmm_reset.c
--- a/sys/arm64/vmm/vmm_reset.c
+++ b/sys/arm64/vmm/vmm_reset.c
@@ -145,7 +145,8 @@
/* Set the Extended Hypervisor Configuration Register */
el2ctx->hcrx_el2 = 0;
/* TODO: Trap all extensions we don't support */
- el2ctx->mdcr_el2 = 0;
+ el2ctx->mdcr_el2 = MDCR_EL2_TDOSA | MDCR_EL2_TDRA | MDCR_EL2_TPMS |
+ MDCR_EL2_TTRF;
/* PMCR_EL0.N is read from MDCR_EL2.HPMN */
el2ctx->mdcr_el2 |= (el2ctx->pmcr_el0 & PMCR_N_MASK) >> PMCR_N_SHIFT;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 5:15 PM (3 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28400287
Default Alt Text
D52806.1776791734.diff (521 B)
Attached To
Mode
D52806: arm64/vmm: Add missing debug traps
Attached
Detach File
Event Timeline
Log In to Comment