Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143875223
D51377.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
377 B
Referenced Files
None
Subscribers
None
D51377.diff
View Options
diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S
--- a/sys/arm64/arm64/locore.S
+++ b/sys/arm64/arm64/locore.S
@@ -420,6 +420,11 @@
isb
2:
+ /* Set CNTPOFF_EL2 if available */
+ CHECK_CPU_FEAT(x2, ID_AA64MMFR0, ECV, POFF, .Lno_feat_ecv_poff)
+ msr CNTPOFF_EL2_REG, xzr
+.Lno_feat_ecv_poff:
+
/* Don't trap to EL2 for CP15 traps */
msr hstr_el2, xzr
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 2, 9:07 AM (4 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28406426
Default Alt Text
D51377.diff (377 B)
Attached To
Mode
D51377: arm64: Set CNTPOFF_EL2 when it's implemented
Attached
Detach File
Event Timeline
Log In to Comment