Re: [PATCH] ARM: Enter CPU in ARM state for cpu_resume

2015-06-02 Thread Ard Biesheuvel
On 2 June 2015 at 10:34, Russell King - ARM Linux wrote: > On Tue, Jun 02, 2015 at 08:18:18AM +0200, Ard Biesheuvel wrote: >> On 1 June 2015 at 23:45, Russell King - ARM Linux >> wrote: >> > Please do this differently. The default should be (as we do with >> > the SMP secondary entry path) to as

Re: [PATCH] ARM: Enter CPU in ARM state for cpu_resume

2015-06-02 Thread Russell King - ARM Linux
On Tue, Jun 02, 2015 at 08:18:18AM +0200, Ard Biesheuvel wrote: > On 1 June 2015 at 23:45, Russell King - ARM Linux > wrote: > > Please do this differently. The default should be (as we do with > > the SMP secondary entry path) to assume that the firmware does the > > right thing. > > > > So, if

Re: [PATCH] ARM: Enter CPU in ARM state for cpu_resume

2015-06-01 Thread Ard Biesheuvel
On 1 June 2015 at 23:45, Russell King - ARM Linux wrote: > On Mon, Jun 01, 2015 at 01:22:00PM -0700, Stephen Boyd wrote: >> The standard boot protocol on ARM requires CPUs to be entered in >> the ARM state, unless they don't support the ARM instruction set >> (see Documentation/arm/Booting). On TH

Re: [PATCH] ARM: Enter CPU in ARM state for cpu_resume

2015-06-01 Thread Russell King - ARM Linux
On Mon, Jun 01, 2015 at 01:22:00PM -0700, Stephen Boyd wrote: > The standard boot protocol on ARM requires CPUs to be entered in > the ARM state, unless they don't support the ARM instruction set > (see Documentation/arm/Booting). On THUMB2 kernels, we assume > the firmware can determine what state