Re: [PATCH] powerpc/tm: fix TM SPRs in code dump file

2017-07-23 Thread Cyril Bur
On Wed, 2017-07-19 at 01:44 -0400, Gustavo Romero wrote: > Currently flush_tmregs_to_thread() does not update accordingly the thread > structures from live state before a core dump rendering wrong values of > THFAR, TFIAR, and TEXASR in core dump files. > > That commit fixes it by copying from liv

[PATCH] powerpc/tm: fix TM SPRs in code dump file

2017-07-18 Thread Gustavo Romero
Currently flush_tmregs_to_thread() does not update accordingly the thread structures from live state before a core dump rendering wrong values of THFAR, TFIAR, and TEXASR in core dump files. That commit fixes it by copying from live state to the appropriate thread structures when it's necessary.