From: Tom Musta Date: Thu, 22 Aug 2013 14:25:28 +0000 (-0500) Subject: powerpc: Unaligned stores and stmw are broken in emulation code X-Git-Tag: v3.12-rc1~123^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17e8de7e1878bbd45f3e268932e997496ddbbfe7;p=pandora-kernel.git powerpc: Unaligned stores and stmw are broken in emulation code The stmw instruction was incorrectly decoded as an update form instruction and thus the RA register was being clobbered. Also, the utility routine to write memory to unaligned addresses breaks the operation into smaller aligned accesses but was incorrectly incrementing the address by only one; it needs to increment the address by the size of the smaller aligned chunk. Signed-off-by: Tom Musta Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed