git: 4bdbb6f7f7c6 - main - arm64: Stop using cpu_tlb_flushID in kexec
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Apr 2026 11:38:59 UTC
The branch main has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=4bdbb6f7f7c6913d6296279a856a0bb229ecb83f
commit 4bdbb6f7f7c6913d6296279a856a0bb229ecb83f
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2026-04-27 11:34:56 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2026-04-27 11:37:54 +0000
arm64: Stop using cpu_tlb_flushID in kexec
It will be removed soon & replaces with pmap_s1_invalidate_all_kernel.
This allows us to handle errata that cpu_tlb_flushID is missing
workarounds for.
Sponsored by: Arm Ltd
---
sys/arm64/arm64/kexec_support.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/arm64/arm64/kexec_support.c b/sys/arm64/arm64/kexec_support.c
index 7ca6bf659d91..84e4ab56aec2 100644
--- a/sys/arm64/arm64/kexec_support.c
+++ b/sys/arm64/arm64/kexec_support.c
@@ -148,7 +148,7 @@ kexec_reboot_md(struct kexec_image *image)
reg = pmap_kextract((vm_offset_t)pagetable_l0_ttbr0_bootstrap);
set_ttbr0(reg);
- cpu_tlb_flushID();
+ pmap_s1_invalidate_all_kernel();
typeof(kexec_reboot_bottom) *p = (void *)ptr;
switch_stack((void *)pmap_kextract((vm_offset_t)initstack_end),