1
0
Fork 0
remarkable-linux/arch/powerpc
Anton Blanchard f49eb503f0 powerpc: Update TM user feature bits in scan_features()
[ Upstream commit 4705e02498 ]

We need to update the user TM feature bits (PPC_FEATURE2_HTM and
PPC_FEATURE2_HTM) to mirror what we do with the kernel TM feature
bit.

At the moment, if firmware reports TM is not available we turn off
the kernel TM feature bit but leave the userspace ones on. Userspace
thinks it can execute TM instructions and it dies trying.

This (together with a QEMU patch) fixes PR KVM, which doesn't currently
support TM.

Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: stable@vger.kernel.org
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-07-10 23:07:09 -04:00
..
boot powerpc/boot: Specify ABI v2 when building an LE boot wrapper 2015-09-29 19:26:05 +02:00
configs powerpc: Remove the celleb support 2015-04-07 17:15:13 +10:00
crypto crypto: powerpc - move files to fix build error 2015-03-09 21:06:19 +11:00
include powerpc: Use privileged SPR number for MMCR2 2016-06-17 09:12:03 -04:00
kernel powerpc: Update TM user feature bits in scan_features() 2016-07-10 23:07:09 -04:00
kvm KVM: PPC: Book3S HV: Sanitize special-purpose register values on guest exit 2016-03-22 11:10:30 -04:00
lib powerpc: Replace mem_init_done with slab_is_available() 2015-04-10 20:02:48 +10:00
math-emu powerpc: Correct emulated mtfsf instruction 2014-04-07 10:33:11 +10:00
mm powerpc/mm: Fixup preempt underflow with huge pages 2016-07-10 23:06:57 -04:00
net net: filter: make JITs zero A for SKF_AD_ALU_XOR_X 2016-01-31 11:23:36 -08:00
oprofile powerpc/oprofile: reduce mmap_sem hold for exe_file 2015-04-17 09:04:11 -04:00
perf powerpc/perf: Fix book3s kernel to userspace backtraces 2015-07-10 09:49:35 -07:00
platforms powerpc/pseries/eeh: Handle RTAS delay requests in configure_bridge 2016-06-17 09:09:49 -04:00
sysdev powerpc/MSI: Fix race condition in tearing down MSI interrupts 2015-10-22 14:43:24 -07:00
xmon powerpc updates for 3.20 2015-02-11 18:15:38 -08:00
Kconfig powerpc updates for 4.1 2015-04-16 13:53:32 -05:00
Kconfig.debug powerpc: Remove the celleb support 2015-04-07 17:15:13 +10:00
Makefile powerpc: Convert relocs_check to a shell script using grep 2015-03-23 14:47:39 +11:00
relocs_check.sh powerpc: Convert relocs_check to a shell script using grep 2015-03-23 14:47:39 +11:00