2020-03-27 15:32:11

by Julien Thierry

[permalink] [raw]
Subject: [PATCH v2 00/10] Objtool updates for easier portability

Hi,

This patchset includes some of the least controversial changes that
were needed as part of the arm64 port [1].

I'm resending these rebase on top of linux-tip/core/objtool, following
the addition of Peter's patches [2]

It consist mostly of small fixes or lifting some limitations to make it
easier to support a new architecture in objtool. Of course, these will
not be the only required changes, but these are the ones I hope make
enough sense to be merged separately from the rest of arm64 port series.

Changes since v1[3]:
- Really just rebased things

[1] https://lkml.org/lkml/2020/1/9/643
[2] https://lkml.org/lkml/2020/3/25/807
[3] https://www.spinics.net/lists/kernel/msg3453718.html

Thanks,

Julien

-->

Julien Thierry (9):
objtool: Move header sync-check ealier in build
objtool: check: Remove redundant checks on operand type
objtool: check: Clean instruction state before each function
validation
objtool: check: Ignore empty alternative groups
objtool: check: Remove check preventing branches within alternative
objtool: check: Use arch specific values in restore_reg()
objtool: check: Allow save/restore hint in non standard function
symbols
objtool: Split generic and arch specific CFI definitions
objtool: Support multiple stack_op per instruction

Raphael Gault (1):
objtool: Add abstraction for computation of symbols offsets

tools/objtool/Makefile | 5 +-
tools/objtool/arch.h | 10 +-
tools/objtool/arch/x86/decode.c | 24 +++-
tools/objtool/arch/x86/include/cfi_regs.h | 25 ++++
tools/objtool/cfi.h | 21 +--
tools/objtool/check.c | 152 +++++++++++++---------
tools/objtool/check.h | 3 +-
7 files changed, 154 insertions(+), 86 deletions(-)
create mode 100644 tools/objtool/arch/x86/include/cfi_regs.h

--
2.21.1


2020-04-02 18:27:22

by Josh Poimboeuf

[permalink] [raw]
Subject: Re: [PATCH v2 00/10] Objtool updates for easier portability

On Fri, Mar 27, 2020 at 03:28:37PM +0000, Julien Thierry wrote:
> Hi,
>
> This patchset includes some of the least controversial changes that
> were needed as part of the arm64 port [1].
>
> I'm resending these rebase on top of linux-tip/core/objtool, following
> the addition of Peter's patches [2]
>
> It consist mostly of small fixes or lifting some limitations to make it
> easier to support a new architecture in objtool. Of course, these will
> not be the only required changes, but these are the ones I hope make
> enough sense to be merged separately from the rest of arm64 port series.
>
> Changes since v1[3]:
> - Really just rebased things
>
> [1] https://lkml.org/lkml/2020/1/9/643
> [2] https://lkml.org/lkml/2020/3/25/807
> [3] https://www.spinics.net/lists/kernel/msg3453718.html
>
> Thanks,
>
> Julien

I'm taking everything except 5, 7, and 10. I'll run them through
testing and then send them along to the tip maintainers. Thanks!

--
Josh

2020-04-02 19:23:26

by Peter Zijlstra

[permalink] [raw]
Subject: Re: [PATCH v2 00/10] Objtool updates for easier portability

On Thu, Apr 02, 2020 at 12:58:27PM -0500, Josh Poimboeuf wrote:
> On Fri, Mar 27, 2020 at 03:28:37PM +0000, Julien Thierry wrote:
> > Hi,
> >
> > This patchset includes some of the least controversial changes that
> > were needed as part of the arm64 port [1].
> >
> > I'm resending these rebase on top of linux-tip/core/objtool, following
> > the addition of Peter's patches [2]
> >
> > It consist mostly of small fixes or lifting some limitations to make it
> > easier to support a new architecture in objtool. Of course, these will
> > not be the only required changes, but these are the ones I hope make
> > enough sense to be merged separately from the rest of arm64 port series.
> >
> > Changes since v1[3]:
> > - Really just rebased things
> >
> > [1] https://lkml.org/lkml/2020/1/9/643
> > [2] https://lkml.org/lkml/2020/3/25/807
> > [3] https://www.spinics.net/lists/kernel/msg3453718.html
> >
> > Thanks,
> >
> > Julien
>
> I'm taking everything except 5, 7, and 10. I'll run them through
> testing and then send them along to the tip maintainers. Thanks!

For that set:

Acked-by: Peter Zijlstra (Intel) <[email protected]>

2020-04-03 07:18:59

by Miroslav Benes

[permalink] [raw]
Subject: Re: [PATCH v2 00/10] Objtool updates for easier portability

On Thu, 2 Apr 2020, Peter Zijlstra wrote:

> On Thu, Apr 02, 2020 at 12:58:27PM -0500, Josh Poimboeuf wrote:
> > On Fri, Mar 27, 2020 at 03:28:37PM +0000, Julien Thierry wrote:
> > > Hi,
> > >
> > > This patchset includes some of the least controversial changes that
> > > were needed as part of the arm64 port [1].
> > >
> > > I'm resending these rebase on top of linux-tip/core/objtool, following
> > > the addition of Peter's patches [2]
> > >
> > > It consist mostly of small fixes or lifting some limitations to make it
> > > easier to support a new architecture in objtool. Of course, these will
> > > not be the only required changes, but these are the ones I hope make
> > > enough sense to be merged separately from the rest of arm64 port series.
> > >
> > > Changes since v1[3]:
> > > - Really just rebased things
> > >
> > > [1] https://lkml.org/lkml/2020/1/9/643
> > > [2] https://lkml.org/lkml/2020/3/25/807
> > > [3] https://www.spinics.net/lists/kernel/msg3453718.html
> > >
> > > Thanks,
> > >
> > > Julien
> >
> > I'm taking everything except 5, 7, and 10. I'll run them through
> > testing and then send them along to the tip maintainers. Thanks!
>
> For that set:
>
> Acked-by: Peter Zijlstra (Intel) <[email protected]>

And

Reviewed-by: Miroslav Benes <[email protected]>

for the same.