mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: Make the dumped instructions are consistent with the disassembled ones
@ 2022-11-28 11:42 Zhen Lei
  2022-11-28 11:42 ` [PATCH 1/2] ARM: Refactor dump_instr() Zhen Lei
  2022-11-28 11:42 ` [PATCH 2/2] ARM: Make the dumped instructions are consistent with the disassembled ones Zhen Lei
  0 siblings, 2 replies; 3+ messages in thread
From: Zhen Lei @ 2022-11-28 11:42 UTC (permalink / raw)
  To: Russell King, Ard Biesheuvel, linux-arm-kernel, linux-kernel, patches
  Cc: Zhen Lei

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-28 11:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-28 11:42 [PATCH 0/2] ARM: Make the dumped instructions are consistent with the disassembled ones Zhen Lei
2022-11-28 11:42 ` [PATCH 1/2] ARM: Refactor dump_instr() Zhen Lei
2022-11-28 11:42 ` [PATCH 2/2] ARM: Make the dumped instructions are consistent with the disassembled ones Zhen Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®