]> git.baikalelectronics.ru Git - kernel.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)
commit1fcaad90a7f2d8b3ef0fd2648271bc69f4332d93
treecc6a9dc5a3b6bfbbbdb9194d2908b15ca2a4bd6b
parent771419630f06ed4379dbd989bd29305ce1a59116
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: 51409c09e4ac ("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