[PATCH] powerpc/tm: Fix HFSCR bit for no suspend case

Breno Leitao leitao at debian.org
Mon Sep 17 06:21:09 AEST 2018


On 09/11/2018 12:07 AM, Michael Neuling wrote:
> 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 at vger.kernel.org # 4.15+
> Signed-off-by: Michael Neuling <mikey at neuling.org>

Tested-by: Breno Leitao <leitao at debian.org>


More information about the Linuxppc-dev mailing list