powerpc: Disable CPU_FTR_TM if TM is disabled by firmware
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 2 Nov 2014 14:32:42 +0000 (20:02 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 14 Nov 2014 06:24:20 +0000 (17:24 +1100)
commit9e819963b45f79e87f5a8c44960a66c0727c80e6
tree5ca6d6789d14e51beb73c21d891e511bc442f277
parentd8ee6f34fdd28ade6b7b3a9be175bc5c0c3cfb38
powerpc: Disable CPU_FTR_TM if TM is disabled by firmware

Firmware is allowed to communicate to us via the "ibm,pa-features" property
that TM (Transactional Memory) support is disabled.

Currently this doesn't happen on any platform we're aware of, but we should
honor it anyway.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom.c