]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: Add per-cpu infrastructure to call ARCH_WORKAROUND_2
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 29 May 2018 12:11:07 +0000 (13:11 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 31 May 2018 16:34:27 +0000 (17:34 +0100)
commit5cf9ce6e5ea50f805c6188c04ed0daaec7b6887d
tree5b34b5684ecaba4d9951e59a37cfb086629d6da7
parent8e2906245f1e3b0d027169d9f2e55ce0548cb96e
arm64: Add per-cpu infrastructure to call ARCH_WORKAROUND_2

In a heterogeneous system, we can end up with both affected and
unaffected CPUs. Let's check their status before calling into the
firmware.

Reviewed-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpu_errata.c
arch/arm64/kernel/entry.S