From mboxrd@z Thu Jan 1 00:00:00 1970 From: ben.dooks@codethink.co.uk (Ben Dooks) Date: Fri, 30 Aug 2013 19:47:17 +0100 Subject: [PATCH 11/19] ARM: alignment: correctly decode instructions in BE8 mode. In-Reply-To: <521E5234.1010008@cogentembedded.com> References: <1377639509-22778-1-git-send-email-ben.dooks@codethink.co.uk> <1377690359-25397-1-git-send-email-ben.dooks@codethink.co.uk> <1377690359-25397-12-git-send-email-ben.dooks@codethink.co.uk> <521E5234.1010008@cogentembedded.com> Message-ID: <5220E8B5.1000408@codethink.co.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 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 > > 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