Searched hist:"172 f7aaa75d0eaae167edde25c08aae9059e80fc" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/kernel/ |
H A D | traps.c | diff 172f7aaa75d0eaae167edde25c08aae9059e80fc Wed Sep 14 03:02:15 CDT 2016 Cyril Bur <cyrilbur@gmail.com> 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>
|