git: 1c341830359f - stable/14 - amd64 pmap: flush whole TLB after LA57 trampoline is installed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Sep 2024 13:03:40 UTC
The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=1c341830359fa25f49bfaadd55328a43e86cb476 commit 1c341830359fa25f49bfaadd55328a43e86cb476 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-11-06 06:11:57 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-09-23 13:03:06 +0000 amd64 pmap: flush whole TLB after LA57 trampoline is installed (cherry picked from commit 787259bfe56478b9aa0699f2516d00722b9cc309) --- sys/amd64/amd64/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index bd8be74d3022..9058fa405771 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -2246,7 +2246,7 @@ pmap_bootstrap_la57(void *arg __unused) *(u_long *)(v_code + 2 + (la57_trampoline_gdt_desc - la57_trampoline)) = la57_trampoline_gdt - la57_trampoline + VM_PAGE_TO_PHYS(m_code); la57_tramp = (void (*)(uint64_t))VM_PAGE_TO_PHYS(m_code); - invlpg((vm_offset_t)la57_tramp); + pmap_invalidate_all(kernel_pmap); if (bootverbose) { printf("entering LA57 trampoline at %#lx\n", (vm_offset_t)la57_tramp);