From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: Allow kernel unaligned accesses on ARMv6+ processors
Date: Mon, 7 Nov 2011 17:07:23 +0000 [thread overview]
Message-ID: <20111107170723.GD24887@arm.com> (raw)
In-Reply-To: <1d0610da-0dc0-4130-9d14-8524820b9846@WA4EHSMHS001.ehs.local>
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 <catalin.marinas@arm.com>
> > Cc: John Linn <John.Linn@xilinx.com>
>
> 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 <john.linn@xilinx.com>
Thanks. I pushed it to Russell's patch system as:
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7150/1
--
Catalin
prev parent reply other threads:[~2011-11-07 17:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-05 10:41 [PATCH] ARM: Allow kernel unaligned accesses on ARMv6+ processors Catalin Marinas
2011-11-05 15:59 ` Nicolas Pitre
2011-11-07 2:11 ` John Linn
[not found] ` <1d0610da-0dc0-4130-9d14-8524820b9846@WA4EHSMHS001.ehs.local>
2011-11-07 17:07 ` Catalin Marinas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111107170723.GD24887@arm.com \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.