[PATCH 0/2] ARM: Make the dumped instructions are consistent with the disassembled ones

Zhen Lei thunder.leizhen at huawei.com
Mon Nov 28 03:42:41 PST 2022


v1:
1. Refactor dump_instr(): classify by thumb and arm, and then by user and kernel.
2. Use __mem_to_opcode_thumb16() or __mem_to_opcode_arm() to convert the
   instruction to the correct byte order before outputting.


Zhen Lei (2):
  ARM: Refactor dump_instr()
  ARM: Make the dumped instructions are consistent with the disassembled
    ones

 arch/arm/kernel/traps.c | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

-- 
2.25.1




More information about the linux-arm-kernel mailing list