summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/dbell.c
diff options
context:
space:
mode:
authorCyril Bur <cyrilbur@gmail.com>2016-09-14 11:02:15 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-10-04 12:33:17 +0300
commit172f7aaa75d0eaae167edde25c08aae9059e80fc (patch)
tree8c9cfd2f82424e77f5d870d2260bfd4e241c5fc2 /arch/powerpc/kernel/dbell.c
parentd986d6f4d0ee30ad096ed7e59670f56ca8f23b57 (diff)
downloadlinux-172f7aaa75d0eaae167edde25c08aae9059e80fc.tar.xz
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/kernel/dbell.c')
0 files changed, 0 insertions, 0 deletions