]> git.karo-electronics.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jun 2016 17:18:20 +0000 (10:18 -0700)
commita976f62a601a763ea37d116d5a9009a2eec9d0f3
tree5d49a7535bf95129360f1d5ba011c613db9699d6
parentcac2863ff3e64221f8888da9fcf72080181e91a8
powerpc/pseries: Add POWER8NVL support to ibm,client-architecture-support call

commit 7cc851039d643a2ee7df4d18177150f2c3a484f5 upstream.

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")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kernel/prom_init.c