]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: smp: Rework early feature mismatched detection
authorWill Deacon <will.deacon@arm.com>
Mon, 10 Dec 2018 14:21:13 +0000 (14:21 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 10 Dec 2018 18:42:18 +0000 (18:42 +0000)
commitb0c482daf1f389c6f07ea08fdacb20293c3afe56
tree9f56153b17ba2f9d443052654a8919f3c68009fb
parentfe9f642aeba0ec11aebdf06645f779c334dcb256
arm64: smp: Rework early feature mismatched detection

Rather than add additional variables to detect specific early feature
mismatches with secondary CPUs, we can instead dedicate the upper bits
of the CPU boot status word to flag specific mismatches.

This allows us to communicate both granule and VA-size mismatches back
to the primary CPU without the need for additional book-keeping.

Tested-by: Steve Capper <steve.capper@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/smp.h
arch/arm64/kernel/head.S
arch/arm64/kernel/smp.c