Re: [PATCH v2 00/12] powerpc: Cleanup use of 'struct ppc_inst'

From
Christophe Leroy <hidden>
Date
2021-06-08 12:46:46
Also in
lkml
Reply to
Christophe Leroy, 2021-05-20
Hi Michael,

Le 20/05/2021 à 15:50, Christophe Leroy a écrit :
This series is a cleanup of the use of 'struct ppc_inst'.

A confusion is made between internal representation of powerpc
instructions with 'struct ppc_inst' and in-memory code which is
and will always be an array of 'unsigned int'.

This series cleans it up.

First patch is fixing detection of missing '__user' flag by sparse
when using get_user_instr().

Last part of the series does some source code cleanup in
optprobes, it is put at the ends of this series because of
clashes with the 'struct ppc_inst' cleanups.
What are your plans about this series ? I fear that the more we wait the more we get additional bad uses of 'struct ppc_inst'.
There are several people working around places that play with instructions, so I think the sooner it gets cleaned the better it is. Do you agree ?

Thanks
Christophe
Thread (25 messages) 25 messages, 4 authors, last reply 2021-06-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help