diff options
author | Tom Musta <tmusta@us.ibm.com> | 2013-08-22 09:25:28 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-08-27 14:36:08 +1000 |
commit | 17e8de7e1878bbd45f3e268932e997496ddbbfe7 (patch) | |
tree | f7dc643d8809b2701be9d7547ddb680c19f2fd02 /block | |
parent | f748edafac858404be6c8dd67160c2032d97ddf5 (diff) |
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 <tmusta@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions