Skip to content
Commit 172f7aaa authored by Cyril Bur's avatar Cyril Bur Committed by Michael Ellerman
Browse files

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: default avatarCyril Bur <cyrilbur@gmail.com>
[mpe: Rewrite comment entirely, bugs in it are mine]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent d986d6f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment