Re: [PATCH 1/1] powerpc: correct DSCR during TM context switch

2014-06-04 Thread Sam Bobroff
On 04/06/14 20:03, Michael Neuling wrote: > On Wed, 2014-06-04 at 17:31 +1000, Michael Ellerman wrote: >> Hi Sam, >> >> Comments inline .. > > Ditto Responses inline... >> On Wed, 2014-06-04 at 13:33 +1000, Sam Bobroff wrote: >>> Correct the DSCR SPR becoming temporarily corrupted when a tas

Re: [PATCH 1/1] powerpc: correct DSCR during TM context switch

2014-06-04 Thread Michael Neuling
On Wed, 2014-06-04 at 17:31 +1000, Michael Ellerman wrote: > Hi Sam, > > Comments inline .. Ditto > > On Wed, 2014-06-04 at 13:33 +1000, Sam Bobroff wrote: > > Correct the DSCR SPR becoming temporarily corrupted when a task is > > context switched when within a transaction. It is corrected

Re: [PATCH 1/1] powerpc: correct DSCR during TM context switch

2014-06-04 Thread Michael Ellerman
Hi Sam, Comments inline .. On Wed, 2014-06-04 at 13:33 +1000, Sam Bobroff wrote: > Correct the DSCR SPR becoming temporarily corrupted when a task is > context switched when within a transaction. It is corrected when > the transaction is aborted (which will happen after a context switch) > but if

[PATCH 1/1] powerpc: correct DSCR during TM context switch

2014-06-03 Thread Sam Bobroff
Correct the DSCR SPR becoming temporarily corrupted when a task is context switched when within a transaction. It is corrected when the transaction is aborted (which will happen after a context switch) but if the task has suspended (TSUSPEND) the transaction the incorrect value can be seen. The pr