Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _ASM_POWERPC_TM_H
0003 #define _ASM_POWERPC_TM_H
0004 
0005 /* Reason codes describing kernel causes for transaction aborts.  By
0006  * convention, bit0 is copied to TEXASR[56] (IBM bit 7) which is set if
0007  * the failure is persistent.  PAPR saves 0xff-0xe0 for the hypervisor.
0008  */
0009 #define TM_CAUSE_PERSISTENT 0x01
0010 #define TM_CAUSE_KVM_RESCHED    0xe0  /* From PAPR */
0011 #define TM_CAUSE_KVM_FAC_UNAV   0xe2  /* From PAPR */
0012 #define TM_CAUSE_RESCHED    0xde
0013 #define TM_CAUSE_TLBI       0xdc
0014 #define TM_CAUSE_FAC_UNAV   0xda
0015 #define TM_CAUSE_SYSCALL    0xd8
0016 #define TM_CAUSE_MISC       0xd6  /* future use */
0017 #define TM_CAUSE_SIGNAL     0xd4
0018 #define TM_CAUSE_ALIGNMENT  0xd2
0019 #define TM_CAUSE_EMULATE    0xd0
0020 
0021 #endif