]> 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)
commit6c31fa39d200c95e05fd38cc9275e851354df7dd
tree9f56153b17ba2f9d443052654a8919f3c68009fb
parenta28adfb41edf00900051e86fbb31c8c497a8a791
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