aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2026-04-27 11:34:56 +0000
committerAndrew Turner <andrew@FreeBSD.org>2026-04-27 11:37:54 +0000
commit4bdbb6f7f7c6913d6296279a856a0bb229ecb83f (patch)
treece7b43579c4c0bcd27c98209c8e3c18139c2774b
parente63eee84cad59f63338a539e73bed07917932088 (diff)
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
-rw-r--r--sys/arm64/arm64/kexec_support.c2
1 files changed, 1 insertions, 1 deletions
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),