[PATCH v8 22.5/30] powerpc/optprobes: Add register argument to patch_imm64_load_insns()

Michael Ellerman patch-notifications at ellerman.id.au
Tue Jun 9 15:51:28 AEST 2020


On Sat, 2020-05-16 at 11:54:49 UTC, Michael Ellerman wrote:
> From: Jordan Niethe <jniethe5 at gmail.com>
> 
> Currently patch_imm32_load_insns() is used to load an instruction to
> r4 to be emulated by emulate_step(). For prefixed instructions we
> would like to be able to load a 64bit immediate to r4. To prepare for
> this make patch_imm64_load_insns() take an argument that decides which
> register to load an immediate to - rather than hardcoding r3.
> 
> Signed-off-by: Jordan Niethe <jniethe5 at gmail.com>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

Applied to powerpc next.

https://git.kernel.org/powerpc/c/7a8818e0df5c6b53c89c7c928498668a2bbb3de0

cheers


More information about the Linuxppc-dev mailing list