[PATCH] ARM: decompressor: clear SCTLR.A bit for v7 cores

Russell King - ARM Linux
2012-10-11T13:59:26Z

On Thu, Oct 11, 2012 at 08:31:47AM -0500, Rob Herring wrote:
> This only affects v7 cores. It should not vary for v7 cores as unaligned
> access is a required feature. So how is it going to vary on v7 CPUs?
> We've got bigger problems if there are v7 cores that don't handle
> unaligned accesses.

Oh, and this gives me a third reason to NAK this patch. Why only ensure
that the A bit is clear for v7 CPUs? Why not v6, v5, v4 too? Why does
ARMv7 get this special treatment?

Any argument you can make for clearing the bit on ARMv7 also applies to
the other architectures too, but not even that negates my point (2) which
is far more fundamental.