summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/vdso64/gettimeofday.S
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2018-09-11 13:07:56 +1000
committerPaul Mackerras <paulus@ozlabs.org>2018-09-14 13:47:31 +1000
commitdd9a8c5a87395b6f05552c3b44e42fdc95760552 (patch)
treeeffb7a0689569fd93c4329b3e4ba29e5731e421a /arch/powerpc/kernel/vdso64/gettimeofday.S
parent11da3a7f84f19c26da6f86af878298694ede0804 (diff)
powerpc/tm: Fix HFSCR bit for no suspend case
Currently on P9N DD2.1 we end up taking infinite TM facility unavailable exceptions on the first TM usage by userspace. In the special case of TM no suspend (P9N DD2.1), Linux is told TM is off via CPU dt-ftrs but told to (partially) use it via OPAL_REINIT_CPUS_TM_SUSPEND_DISABLED. So HFSCR[TM] will be off from dt-ftrs but we need to turn it on for the no suspend case. This patch fixes this by enabling HFSCR TM in this case. Cc: stable@vger.kernel.org # 4.15+ Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kernel/vdso64/gettimeofday.S')
0 files changed, 0 insertions, 0 deletions