From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asSbO-0002Qu-0x for qemu-devel@nongnu.org; Tue, 19 Apr 2016 06:09:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asSbK-0001SM-Oc for qemu-devel@nongnu.org; Tue, 19 Apr 2016 06:09:49 -0400 In-Reply-To: <20160415120819.7144900c@kryten> From: Michael Ellerman Message-Id: <3qq12v5RT2z9t8p@ozlabs.org> Date: Tue, 19 Apr 2016 20:09:43 +1000 (AEST) Subject: Re: [Qemu-devel] [3/3] powerpc: Update TM user feature bits in scan_features() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Unknown sender due to SPF , Alexey Kardashevskiy , Paul Mackerras , Benjamin Herrenschmidt , Michael Neuling , David Gibson , Alexander Graf Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org 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 > Cc: stable@vger.kernel.org Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/4705e02498d6d5a7ab98dfee95 cheers