From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Tue, 05 Jun 2012 12:42:03 -0600 Subject: [U-Boot] [PATCH] arm: enable unaligned access on ARMv7 In-Reply-To: <1338918451-10126-1-git-send-email-dev@lynxeye.de> References: <1338918451-10126-1-git-send-email-dev@lynxeye.de> Message-ID: <4FCE52FB.3020501@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/05/2012 11:47 AM, Lucas Stach wrote: > Recent toolchains default to using the hardware feature for unaligned access on > ARM v7, rather than doing the software fallback. According to ARM this is safe > as all v7 implementations have to support this feature. > (http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0471c/BABJFFAE.html) > > To avoid CPU hangs when doing unaligned memory access, we have to turn off > alignment checking in our CPU initialisation code. > (http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0491c/CIHCGCFD.html) Does this behavior change trickle down to Linux/... too, or would an OS completely re-initialize this state, and hence not be affected?