]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "arm64: initialize per-cpu offsets earlier"
authorWill Deacon <will@kernel.org>
Fri, 9 Oct 2020 10:24:17 +0000 (11:24 +0100)
committerWill Deacon <will@kernel.org>
Fri, 9 Oct 2020 10:24:17 +0000 (11:24 +0100)
commit53a6fe4e5eb6ed2db1f9ffdac20cb5033bee8364
treefe5e98288f7c0bdb4842ae78f6793d20288d66db
parent2ee67fecf1273c650db98b9dea99e5704b8d5c2e
Revert "arm64: initialize per-cpu offsets earlier"

This reverts commit 7252adca0f20921a3118da080091cad16c34f104.

Qian Cai reports that TX2 no longer boots with his .config as it appears
that task_cpu() gets instrumented and used before KASAN has been
initialised.

Although Mark has a proposed fix, let's take the safe option of reverting
this for now and sorting it out properly later.

Link: https://lore.kernel.org/r/711bc57a314d8d646b41307008db2845b7537b3d.camel@redhat.com
Reported-by: Qian Cai <cai@redhat.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/cpu.h
arch/arm64/kernel/head.S
arch/arm64/kernel/setup.c
arch/arm64/kernel/smp.c