Skip to content

Commit af72ab6

Browse files
antonblanchardmpe
authored andcommitted
powerpc: Don't disable MSR bits in do_load_up_transact_*() functions
Similar to the non TM load_up_*() functions, don't disable the MSR bits on the way out. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent 07e45c1 commit af72ab6

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

arch/powerpc/kernel/fpu.S

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ END_FTR_SECTION_IFSET(CPU_FTR_VSX)
7373
MTFSF_L(fr0)
7474
REST_32FPVSRS(0, R4, R7)
7575

76-
/* FP/VSX off again */
77-
MTMSRD(r6)
78-
SYNC
79-
8076
blr
8177
#endif /* CONFIG_PPC_TRANSACTIONAL_MEM */
8278

arch/powerpc/kernel/vector.S

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ _GLOBAL(do_load_up_transact_altivec)
2929
addi r10,r3,THREAD_TRANSACT_VRSTATE
3030
REST_32VRS(0,r4,r10)
3131

32-
/* Disable VEC again. */
33-
MTMSRD(r6)
34-
isync
35-
3632
blr
3733
#endif
3834

0 commit comments

Comments
 (0)