[3/3] powerpc: Update TM user feature bits in scan_features()
Michael Ellerman
mpe at ellerman.id.au
Tue Apr 19 20:09:43 AEST 2016
On Fri, 2016-15-04 at 02:08:19 UTC, Unknown sender due to SPF wrote:
> 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 at samba.org>
> Cc: stable at vger.kernel.org
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/4705e02498d6d5a7ab98dfee95
cheers
More information about the Linuxppc-dev
mailing list