Re: [PATCH 06/12] powerpc/module: Rework is_early_mcount_callsite()

2016-02-25 Thread Torsten Duwe
On Thu, Feb 25, 2016 at 09:28:32PM +1100, Michael Ellerman wrote: > On Thu, 2016-02-25 at 10:39 +1100, Balbir Singh wrote: > > On 25/02/16 01:28, Michael Ellerman wrote: > > > is_early_mcount_callsite() needs to detect either the two instruction or > > > the three instruction versions of the _mcoun

Re: [PATCH 06/12] powerpc/module: Rework is_early_mcount_callsite()

2016-02-25 Thread Michael Ellerman
On Thu, 2016-02-25 at 10:39 +1100, Balbir Singh wrote: > On 25/02/16 01:28, Michael Ellerman wrote: > > is_early_mcount_callsite() needs to detect either the two instruction or > > the three instruction versions of the _mcount() sequence. > > > > But if we're running a kernel with the two instruct

Re: [PATCH 06/12] powerpc/module: Rework is_early_mcount_callsite()

2016-02-24 Thread Balbir Singh
On 25/02/16 01:28, Michael Ellerman wrote: > is_early_mcount_callsite() needs to detect either the two instruction or > the three instruction versions of the _mcount() sequence. > > But if we're running a kernel with the two instruction sequence, we need > to be careful not to read instruction - 2