arm64: Implement task_cpu_possible_mask()
authorWill Deacon <will@kernel.org>
Fri, 30 Jul 2021 11:24:37 +0000 (12:24 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 20 Aug 2021 10:33:06 +0000 (12:33 +0200)
commitd82158fa6df4237c9859b27d719c53b4fe09e69e
treeb11ef96f5a4c1e73d11a523d46309361332ad1b8
parentc94d89fafa49ba70fedbb01cb52dfbbdd7dc0986
arm64: Implement task_cpu_possible_mask()

Provide an implementation of task_cpu_possible_mask() so that we can
prevent 64-bit-only cores being added to the 'cpus_mask' for compat
tasks on systems with mismatched 32-bit support at EL0,

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210730112443.23245-11-will@kernel.org
arch/arm64/include/asm/mmu_context.h