powerpc/reg: Add TEXASR related macros
authorSimon Guo <wei.guo.simon@gmail.com>
Wed, 23 May 2018 07:01:45 +0000 (15:01 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 May 2018 06:03:36 +0000 (16:03 +1000)
commitab3759b5734544dd1430527c3d89730990cfa4bb
tree50107fa7fb56950c7195bd9027f7444fa0725adb
parentd1c7211281c5e1799f00b2228157530e0f7a671c
powerpc/reg: Add TEXASR related macros

This patches add some macros for CR0/TEXASR bits so that PR KVM TM
logic (tbegin./treclaim./tabort.) can make use of them later.

Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Reviewed-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/reg.h
arch/powerpc/platforms/powernv/copy-paste.h