Re: [PATCH 2/2] ARM: l2c: Maintain CPU endianness for early resume function

2015-03-15 Thread Dmitry Osipenko
11.03.2015 13:18, Thierry Reding пишет: On Tue, Jan 20, 2015 at 03:36:55PM +0300, Dmitry Osipenko wrote: In big endian CPU mode l2x0_saved_regs structure stores registers values in BE format. In order to maintain BE CPU mode, these values and immediate constants must be converted back to LE

Re: [PATCH 2/2] ARM: l2c: Maintain CPU endianness for early resume function

2015-03-15 Thread Dmitry Osipenko
11.03.2015 13:18, Thierry Reding пишет: On Tue, Jan 20, 2015 at 03:36:55PM +0300, Dmitry Osipenko wrote: In big endian CPU mode l2x0_saved_regs structure stores registers values in BE format. In order to maintain BE CPU mode, these values and immediate constants must be converted back to LE

Re: [PATCH 2/2] ARM: l2c: Maintain CPU endianness for early resume function

2015-03-11 Thread Russell King - ARM Linux
On Wed, Mar 11, 2015 at 11:18:46AM +0100, Thierry Reding wrote: > On Tue, Jan 20, 2015 at 03:36:55PM +0300, Dmitry Osipenko wrote: > > In big endian CPU mode l2x0_saved_regs structure stores registers values in > > BE > > format. In order to maintain BE CPU mode, these values and immediate > >

Re: [PATCH 2/2] ARM: l2c: Maintain CPU endianness for early resume function

2015-03-11 Thread Thierry Reding
On Tue, Jan 20, 2015 at 03:36:55PM +0300, Dmitry Osipenko wrote: > In big endian CPU mode l2x0_saved_regs structure stores registers values in BE > format. In order to maintain BE CPU mode, these values and immediate constants > must be converted back to LE format before writing them to cache

Re: [PATCH 2/2] ARM: l2c: Maintain CPU endianness for early resume function

2015-03-11 Thread Thierry Reding
On Tue, Jan 20, 2015 at 03:36:55PM +0300, Dmitry Osipenko wrote: In big endian CPU mode l2x0_saved_regs structure stores registers values in BE format. In order to maintain BE CPU mode, these values and immediate constants must be converted back to LE format before writing them to cache

Re: [PATCH 2/2] ARM: l2c: Maintain CPU endianness for early resume function

2015-03-11 Thread Russell King - ARM Linux
On Wed, Mar 11, 2015 at 11:18:46AM +0100, Thierry Reding wrote: On Tue, Jan 20, 2015 at 03:36:55PM +0300, Dmitry Osipenko wrote: In big endian CPU mode l2x0_saved_regs structure stores registers values in BE format. In order to maintain BE CPU mode, these values and immediate constants

[PATCH 2/2] ARM: l2c: Maintain CPU endianness for early resume function

2015-01-20 Thread Dmitry Osipenko
In big endian CPU mode l2x0_saved_regs structure stores registers values in BE format. In order to maintain BE CPU mode, these values and immediate constants must be converted back to LE format before writing them to cache controller. Signed-off-by: Dmitry Osipenko ---

[PATCH 2/2] ARM: l2c: Maintain CPU endianness for early resume function

2015-01-20 Thread Dmitry Osipenko
In big endian CPU mode l2x0_saved_regs structure stores registers values in BE format. In order to maintain BE CPU mode, these values and immediate constants must be converted back to LE format before writing them to cache controller. Signed-off-by: Dmitry Osipenko dig...@gmail.com ---