diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2017-08-30 07:12:28 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-09-01 09:39:49 +0300 |
commit | d120cdbce68c3739f94f733bec376460fb9cbc14 (patch) | |
tree | d0c8d39cdf6352660a9fe35fc1c1cbfbfbea78e6 /arch/powerpc/include/asm/ppc_asm.h | |
parent | 350779a29f11f80ac66a8b38a7718ad30f003f18 (diff) | |
download | linux-d120cdbce68c3739f94f733bec376460fb9cbc14.tar.xz |
powerpc/64: Fix update forms of loads and stores to write 64-bit EA
When a 64-bit processor is executing in 32-bit mode, the update forms
of load and store instructions are required by the architecture to
write the full 64-bit effective address into the RA register, though
only the bottom 32 bits are used to address memory. Currently,
the instruction emulation code writes the truncated address to the
RA register. This fixes it by keeping the full 64-bit EA in the
instruction_op structure, truncating the address in emulate_step()
where it is used to address memory, rather than in the address
computations in analyse_instr().
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/ppc_asm.h')
0 files changed, 0 insertions, 0 deletions