Re: [PATCH] powerpc/tm: Save and restore AMR on treclaim and trechkpt

2020-09-17 Thread Aneesh Kumar K.V
On 9/18/20 9:35 AM, Gustavo Romero wrote: Althought AMR is stashed on the checkpoint area, currently we don't save it to the per thread checkpoint struct after a treclaim and so we don't restore it either from that struct when we trechkpt. As a consequence when the transaction is later rolled

[PATCH] powerpc/tm: Save and restore AMR on treclaim and trechkpt

2020-09-17 Thread Gustavo Romero
Althought AMR is stashed on the checkpoint area, currently we don't save it to the per thread checkpoint struct after a treclaim and so we don't restore it either from that struct when we trechkpt. As a consequence when the transaction is later rolled back kernel space AMR value when the trechkpt