summaryrefslogtreecommitdiff
path: root/trie.h
diff options
context:
space:
mode:
Diffstat (limited to 'trie.h')
0 files changed, 0 insertions, 0 deletions
commit172f7aaa75d0eaae167edde25c08aae9059e80fc (patch) tree8c9cfd2f82424e77f5d870d2260bfd4e241c5fc2 /arch/powerpc parentd986d6f4d0ee30ad096ed7e59670f56ca8f23b57 (diff)
powerpc/tm: Add TM Unavailable Exception
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 <cyrilbur@gmail.com> [mpe: Rewrite comment entirely, bugs in it are mine] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/traps.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c