MIPS: Warn if vector register partitioning is implemented
authorPaul Burton <paul.burton@imgtec.com>
Tue, 28 Jan 2014 14:28:43 +0000 (14:28 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:11 +0000 (23:09 +0100)
commita8ad136789b4256fa372d59daaddb91b72aa0753
tree0e13b5f91cdefe555e20d671732601dfe8c5301f
parent2bcb3fbc3fc593d2ec1efbdeb3e71b9475afe320
MIPS: Warn if vector register partitioning is implemented

No current systems implementing MSA include support for vector register
partitioning which makes it somewhat difficult to implement support for
it in the kernel. Thus for the moment the kernel includes no such
support. However if the kernel were to be run on a system which
implemented register partitioning then it would not function correctly,
mishandling MSA disabled exceptions. Print a warning if run on a system
with vector register partitioning implemented to indicate this problem
should it occur.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6494/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-probe.c