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