diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2022-10-12 16:36:08 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-10-12 16:36:08 +0800 |
commit | 1299a129a9f927433ba792b242c1f287a96059e7 (patch) | |
tree | 5701a624a1d32b1845a79c567745887bd7537329 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a522b7ad8e66fd9021d354844c1c6bd7893bde6f (diff) |
LoongArch: Flush TLB earlier at initialization
Move local_flush_tlb_all() earlier (just after setup_ptwalker() and
before page allocation). This can avoid stale TLB entries misguiding
the later page allocation. Without this patch the second kernel of
kexec/kdump fails to boot SMP.
BTW, move output_pgtable_bits_defines() into tlb_init() since it has
nothing to do with tlb handler setup.
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions