[PATCH 11/19] ARM: alignment: correctly decode instructions in BE8 mode.

Ben Dooks ben.dooks at codethink.co.uk
Fri Aug 30 14:47:17 EDT 2013


On 28/08/13 20:40, Sergei Shtylyov wrote:
> Hello.
>
> On 08/28/2013 03:45 PM, Ben Dooks wrote:
>
>> If we are in BE8 mode, we must deal with the instruction stream being
>> in LE order when data is being loaded in BE order. Ensure the data is
>> swapped before processing to avoid thre following:
>
>> Change to using <asm/opcodes.h> to provide the necessary conversion
>> functions to change the byte ordering.
>
>> Alignment trap: not handling instruction 030091e8 at [<80333e8c>]
>> Unhandled fault: alignment exception (0x001) at 0xbfa09567
>
> I guess the above 2 paragraphs are swapped.
>
>> Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
>
> WBR, Sergei

thanks, I also forgot to put a sentence to say that these where
kernel messages.

-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius



More information about the linux-arm-kernel mailing list