MIPS: smp-cps: Disable coherence setup for unsupported ISA
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Tue, 4 Apr 2023 09:33:41 +0000 (10:33 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 5 Apr 2023 07:45:08 +0000 (09:45 +0200)
commitaa45787c0db0a5f7b21bd16b917ff44761a2c6ac
tree89d74fd242d65396c04eda348a7c616f8d2fb0f7
parent393a759647061bc29c1d62f83c7d36cacc912a89
MIPS: smp-cps: Disable coherence setup for unsupported ISA

We don't know how to do coherence setup on ISA before MIPS
Release 1.

As CPS support only servers simulation purpose on those cores,
and simulators are always coherent, just disable initialization
code and provide user a warning in case coherence is not setup
properly.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/cps-vec.S
arch/mips/kernel/smp-cps.c