Subject: [PATCH] ARM: Allow kernel unaligned accesses on ARMv6+ processors

From: [email-masked] (Catalin Marinas)
Date: Mon, 7 Nov 2011 17:07:23 +0000

On Mon, Nov 07, 2011 at 02:11:24AM +0000, John Linn wrote:
> > -----Original Message-----
> > From: Catalin Marinas [mailto:catalin.marinas at gmail.com] On Behalf Of
> > Catalin Marinas
> > Sent: Saturday, November 05, 2011 3:41 AM
> > To: linux-arm-kernel at lists.infradead.org
> > Cc: John Linn
> > Subject: [PATCH] ARM: Allow kernel unaligned accesses on ARMv6+
> > processors
> > 
> > Recent gcc versions generate unaligned accesses by default on ARMv6
> and
> > later processors. This patch ensures that the SCTLR.A bit is always
> > cleared on such processors to avoid kernel traping before
> > alignment_init() is called.
> > 
> > Signed-off-by: Catalin Marinas <[email-masked]>
> > Cc: John Linn <[email-masked]>
> 
> It worked great, thanks Catalin. I'd love to see a solution merged in
> the mainline and this seems reasonable.
> I'm being pushed to newer tools which require a solution.
> 
> Tested-by: John Linn <[email-masked]>

Thanks. I pushed it to Russell's patch system as:

http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7150/1

-- 
Catalin