mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
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
This commit is contained in:
1 parent
e63eee84ca
commit
4bdbb6f7f7
1 file changed
+1
-1
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user