]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/pseries: Add POWER8NVL support to ibm,client-architecture-support call
authorThomas Huth <thuth@redhat.com>
Tue, 31 May 2016 05:51:17 +0000 (07:51 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 1 Jun 2016 03:47:34 +0000 (13:47 +1000)
commit7cc851039d643a2ee7df4d18177150f2c3a484f5
treecc6a9dc5a3b6bfbbbdb9194d2908b15ca2a4bd6b
parent157d4d0620879b7d89ca1e3cd7bf0be1e29be198
powerpc/pseries: Add POWER8NVL support to ibm,client-architecture-support call

If we do not provide the PVR for POWER8NVL, a guest on this system
currently ends up in PowerISA 2.06 compatibility mode on KVM, since QEMU
does not provide a generic PowerISA 2.07 mode yet. So some new
instructions from POWER8 (like "mtvsrd") get disabled for the guest,
resulting in crashes when using code compiled explicitly for
POWER8 (e.g. with the "-mcpu=power8" option of GCC).

Fixes: ddee09c099c3 ("powerpc: Add PVR for POWER8NVL processor")
Cc: stable@vger.kernel.org # v4.0+
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom_init.c