]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/sstep: Cover new VSX instructions under CONFIG_VSX
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>
Sun, 11 Oct 2020 05:09:05 +0000 (10:39 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Dec 2020 13:09:09 +0000 (00:09 +1100)
commit4b102822acf2f7b30b767db5af738c34df6853d7
treef5414f9664d30d8fb4911402828f6d2b248513b7
parent79b7896a7585735c63a723b0a48ce4836afacfb0
powerpc/sstep: Cover new VSX instructions under CONFIG_VSX

Recently added Power10 prefixed VSX instruction are included
unconditionally in the kernel. If they are executed on a
machine without VSX support, it might create issues. Fix that.
Also fix one mnemonics spelling mistake in comment.

Fixes: fade69f6730b ("powerpc sstep: Add support for prefixed load/stores")
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201011050908.72173-3-ravi.bangoria@linux.ibm.com
arch/powerpc/lib/sstep.c