summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorCyril Bur <cyrilbur@gmail.com>2016-09-14 18:02:15 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-10-04 20:33:17 +1100
commit172f7aaa75d0eaae167edde25c08aae9059e80fc (patch)
tree8c9cfd2f82424e77f5d870d2260bfd4e241c5fc2 /init
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 'init')
0 files changed, 0 insertions, 0 deletions