diff options
author | Anton Blanchard <anton@samba.org> | 2016-04-15 05:08:19 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-04-18 13:10:45 +0300 |
commit | 4705e02498d6d5a7ab98dfee9595cd5e91db2017 (patch) | |
tree | 28f8ea578da3a51f8008e92d011da3da6323424b /drivers | |
parent | beff82374b259d726e2625ec6c518a5f2613f0ae (diff) | |
download | linux-4705e02498d6d5a7ab98dfee9595cd5e91db2017.tar.xz |
powerpc: Update TM user feature bits in scan_features()
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions