powerpc/tm: fix TM SPRs in code dump file

Michael Ellerman patch-notifications at ellerman.id.au
Mon Jul 31 16:31:40 AEST 2017

On Wed, 2017-07-19 at 05:44:13 UTC, 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 live state to the appropriate thread
> structures when it's necessary.
> Signed-off-by: Gustavo Romero <gromero at linux.vnet.ibm.com>
> Reviewed-by: Cyril Bur <cyrilbur at gmail.com>

Applied to powerpc fixes, thanks.



More information about the Linuxppc-dev mailing list