Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107938977
D20904.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D20904.diff
View Options
Index: head/sys/arm64/arm64/efirt_machdep.c
===================================================================
--- head/sys/arm64/arm64/efirt_machdep.c
+++ head/sys/arm64/arm64/efirt_machdep.c
@@ -239,6 +239,7 @@
__asm __volatile(
"msr ttbr0_el1, %0 \n"
+ "isb \n"
"dsb ishst \n"
"tlbi vmalle1is \n"
"dsb ish \n"
@@ -266,6 +267,7 @@
td = curthread;
__asm __volatile(
"msr ttbr0_el1, %0 \n"
+ "isb \n"
"dsb ishst \n"
"tlbi vmalle1is \n"
"dsb ish \n"
Index: head/sys/arm64/arm64/pmap.c
===================================================================
--- head/sys/arm64/arm64/pmap.c
+++ head/sys/arm64/arm64/pmap.c
@@ -5484,8 +5484,10 @@
critical_enter();
pmap = vmspace_pmap(td->td_proc->p_vmspace);
td->td_proc->p_md.md_l0addr = vtophys(pmap->pm_l0);
- __asm __volatile("msr ttbr0_el1, %0" : :
- "r"(td->td_proc->p_md.md_l0addr));
+ __asm __volatile(
+ "msr ttbr0_el1, %0 \n"
+ "isb \n"
+ : : "r"(td->td_proc->p_md.md_l0addr));
pmap_invalidate_all(pmap);
critical_exit();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 20, 6:04 PM (11 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15980785
Default Alt Text
D20904.diff (1 KB)
Attached To
Mode
D20904: Add an instruction barrier to pmap_activate()
Attached
Detach File
Event Timeline
Log In to Comment