mbox series

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

Message ID 20221128114243.2042-1-thunder.leizhen@huawei.com (mailing list archive)
Headers show
Series ARM: Make the dumped instructions are consistent with the disassembled ones | expand

Message

Leizhen (ThunderTown) Nov. 28, 2022, 11:42 a.m. UTC
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(-)