Searched hist:e25eea89bb8853763a22fa2547199cf96b571ba1 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | orc_types.h | diff e25eea89bb8853763a22fa2547199cf96b571ba1 Wed Apr 01 09:38:19 CDT 2020 Peter Zijlstra <peterz@infradead.org> objtool: Introduce HINT_RET_OFFSET
Normally objtool ensures a function keeps the stack layout invariant. But there is a useful exception, it is possible to stuff the return stack in order to 'inject' a 'call':
push $fun ret
In this case the invariant mentioned above is violated.
Add an objtool HINT to annotate this and allow a function exit with a modified stack frame.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lkml.kernel.org/r/20200416115118.690601403@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | orc_types.h | diff e25eea89bb8853763a22fa2547199cf96b571ba1 Wed Apr 01 09:38:19 CDT 2020 Peter Zijlstra <peterz@infradead.org> objtool: Introduce HINT_RET_OFFSET
Normally objtool ensures a function keeps the stack layout invariant. But there is a useful exception, it is possible to stuff the return stack in order to 'inject' a 'call':
push $fun ret
In this case the invariant mentioned above is violated.
Add an objtool HINT to annotate this and allow a function exit with a modified stack frame.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lkml.kernel.org/r/20200416115118.690601403@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
|
H A D | unwind_hints.h | diff e25eea89bb8853763a22fa2547199cf96b571ba1 Wed Apr 01 09:38:19 CDT 2020 Peter Zijlstra <peterz@infradead.org> objtool: Introduce HINT_RET_OFFSET
Normally objtool ensures a function keeps the stack layout invariant. But there is a useful exception, it is possible to stuff the return stack in order to 'inject' a 'call':
push $fun ret
In this case the invariant mentioned above is violated.
Add an objtool HINT to annotate this and allow a function exit with a modified stack frame.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lkml.kernel.org/r/20200416115118.690601403@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
|
/openbmc/linux/tools/objtool/ |
H A D | check.c | diff e25eea89bb8853763a22fa2547199cf96b571ba1 Wed Apr 01 09:38:19 CDT 2020 Peter Zijlstra <peterz@infradead.org> objtool: Introduce HINT_RET_OFFSET
Normally objtool ensures a function keeps the stack layout invariant. But there is a useful exception, it is possible to stuff the return stack in order to 'inject' a 'call':
push $fun ret
In this case the invariant mentioned above is violated.
Add an objtool HINT to annotate this and allow a function exit with a modified stack frame.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lkml.kernel.org/r/20200416115118.690601403@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
|