Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3spfzs1LqLzDqQq for ; Wed, 5 Oct 2016 13:36:25 +1100 (AEDT) In-Reply-To: <20160914080216.13833-2-cyrilbur@gmail.com> To: Cyril Bur , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: mikey@neuling.org, wei.guo.simon@gmail.com, anton@samba.org Subject: Re: [1/2] powerpc: tm: Add TM Unavailable Exception Message-Id: <3spfzr6MBQz9s9x@ozlabs.org> Date: Wed, 5 Oct 2016 13:36:24 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2016-14-09 at 08:02:15 UTC, Cyril Bur wrote: > If the kernel disables transactional memory (TM) and userspace still > tries TM related actions (TM instructions or TM SPR accesses) TM aware > hardware will cause the kernel to take a facility unavailable > exception. > > Add checks for the exception being caused by illegal TM access in > userspace. > > Signed-off-by: Cyril Bur Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/172f7aaa75d0eaae167edde25c08aa cheers