powerpc: Add helper functions for transactional memory context switching
Here we add the helper functions to be used when context switching. These allow us to fully reclaim and recheckpoint a transaction. We introduce a new paca field called tm_scratch to help us store away register values when doing the low level tm reclaim register save. Signed-off-by:Matt Evans <matt@ozlabs.org> Signed-off-by:
Michael Neuling <mikey@neuling.org> Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
- arch/powerpc/include/asm/reg.h 1 addition, 1 deletionarch/powerpc/include/asm/reg.h
- arch/powerpc/include/asm/tm.h 20 additions, 0 deletionsarch/powerpc/include/asm/tm.h
- arch/powerpc/kernel/Makefile 2 additions, 0 deletionsarch/powerpc/kernel/Makefile
- arch/powerpc/kernel/tm.S 388 additions, 0 deletionsarch/powerpc/kernel/tm.S
Loading
Please register or sign in to comment