On Fri, 4 Sep 2020, Julien Thierry wrote: > Hi, > > The current implementation of the check subcommand has various x86 bits > here and there. In order to prepare objtool to provide check for other > architectures, add some abstraction over the x86 specific bits, relying > on objtool arch specific code to provide some necessary operations. > > This is part of the effort to implement check for arm64, initiated [1] > by Raphael. The series is based on top of the separation of check & orc > subcommands series[2]. > > I've push both series base on top of tip/objtool/core at [3]. > > - The first two patches make it simpler for new arches to provide their > list of kernel headers, without worrying about modifications in the x86 > headers. > - Patch 3 Moves arch specific macros to more suitable location > - Patches 4 and 5 add abstraction to handle alternatives > - Patch 6 adds abstraction to handle jump table > - Patches 7-10 makes unwind hint definitions shared across architectures > > Changes since v2 [4]: > - Rebased on v5.9-rc1 > - Under tools/objtool/arch/x86/, rename arch_special.c to special.c > - Rename include/linux/frame.h to inclide/linux/objtool.h > - Share unwind hint types across architectures > > [1] https://lkml.org/lkml/2019/8/16/400 > [2] https://lkml.org/lkml/2020/6/4/675 > [3] https://github.com/julien-thierry/linux/tree/arch-independent-check > [4] https://lkml.org/lkml/2020/7/30/424
Hi, Josh merged the patch set already, but FWIW Reviewed-by: Miroslav Benes <mbe...@suse.cz> for the new changes (patches 7, 9 and 10). Miroslav