From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Fri, 9 Mar 2018 07:59:03 +0100 Subject: [U-Boot] [PATCH] arm: Disable the strict alignment of data on armv7 In-Reply-To: <20180308225243.3BCC0240047@gemini.denx.de> References: <029f7f8f6d89cc77c92e04223a7402376e050f56.1520433579.git.michal.simek@xilinx.com> <20180308225243.3BCC0240047@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, On 8.3.2018 23:52, Wolfgang Denk wrote: > Dear Michal, > > In message <029f7f8f6d89cc77c92e04223a7402376e050f56.1520433579.git.michal.simek@xilinx.com> you wrote: >> From: Nitin Jain >> >> This patch is used for disable the strict alignment of data >> to avoid the memory alignment issues. > > Can you please add some comments what the consequences of this > change are? I guess there are advantages, but I also guess these > come at a price? That's something what I am expecting from this discussion if there are any corner cases which we are not aware of. We found this setting based on randomized testing where simply non aligned access for memory read was causing exception. The same tests were running fine on arm64 where non aligned accesses are permitted. It is hard to compare performance impact on u-boot but from functionality point of view we are not able to see difference. If there is any performance impact that it is quite low. Thanks, Michal