[PATCH] ARM: trusted_foundations: Maintain CPU endianness

Dave Martin Dave.Martin at arm.com
Fri Mar 20 09:20:59 PDT 2015


On Fri, Mar 20, 2015 at 06:47:18PM +0300, Dmitry Osipenko wrote:
> This patch not tested. I assume that firmware save/restore cp15
> context, i.e. it doesn't require switching to LE before smc call and
> restore endianness after.

That assumption should be valid.

However, I think this patch must be tested before assuming it is
correct.  If the arguments were passed in memory then there might
force LE order for that data block, but there should not be a need for
this if the values are in registers.

Cheers
---Dave




More information about the linux-arm-kernel mailing list