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

2015-03-18 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 Acked

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

2015-01-21 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 --- V2