mbox series

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

Message ID 20221126122137.2025-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. 26, 2022, 12:21 p.m. UTC
v3 --> v4:
1. The sparse warnings that are not involved in the modification are
   not eliminated.
2. Eliminate the sparse warnings involved in the modification when
   refactor dump_instr(), no longer use a separate patch.

v2 --> v3:
1. Don't use '__force to' cleanup the sparse warnings
2. Refactor dump_instr()
3. Relace cpu_to_le{32|16}() with __mem_to_opcode_{arm|thumb16}()


v1 --> v2:
1. Cleanup sparse warnings.

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(-)

Comments

Russell King (Oracle) Nov. 28, 2022, 10:30 a.m. UTC | #1
On Sat, Nov 26, 2022 at 08:21:35PM +0800, Zhen Lei wrote:
> v3 --> v4:
> 1. The sparse warnings that are not involved in the modification are
>    not eliminated.
> 2. Eliminate the sparse warnings involved in the modification when
>    refactor dump_instr(), no longer use a separate patch.
> 
> v2 --> v3:
> 1. Don't use '__force to' cleanup the sparse warnings
> 2. Refactor dump_instr()
> 3. Relace cpu_to_le{32|16}() with __mem_to_opcode_{arm|thumb16}()
> 
> 
> v1 --> v2:
> 1. Cleanup sparse warnings.
> 
> Zhen Lei (2):
>   ARM: Refactor dump_instr()
>   ARM: Make the dumped instructions are consistent with the disassembled
>     ones

Looks good now, thanks.

Please put it in my patch system, details in my signature. Thanks.