Re: [PATCH v2] arm64: invalidate TLB just before turning MMU on

From: Ard Biesheuvel
Date: Fri Dec 14 2018 - 02:24:13 EST

On Fri, 14 Dec 2018 at 05:08, Qian Cai <cai@xxxxxx> wrote:
> Also tried to move the local TLB flush part around a bit inside
> __cpu_setup(), although it did complete kdump some times, it did trigger
> "Synchronous Exception" in EFI after a cold-reboot fairly often that
> seems no way to recover remotely without reinstalling the OS.

This doesn't make any sense to me. If the system gets into a weird
state out of cold reboot, how could this code be the culprit? Please
check your firmware, and try to reproduce the issue on a system that
doesn't have such defects.