All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] objtool: The stack swizzle again
@ 2021-02-03 12:02 Peter Zijlstra
  2021-02-03 12:02 ` [PATCH 1/5] objtool: Change REG_SP_INDIRECT Peter Zijlstra
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Peter Zijlstra @ 2021-02-03 12:02 UTC (permalink / raw)
  To: Josh Poimboeuf, Thomas Gleixner
  Cc: Miroslav Benes, Nick Desaulniers, Julien Thierry, Kees Cook, x86,
	linux-kernel, peterz

Hi

The stack swizzle is current again, these patches implement objtool support for
the native x86_64 stack swizzle pattern.

It allows Thomas to use his preferred minimal stack swizzle without (much)
limitations.

We used to use SP_INDIRECT with hints back before the entry code rewrite, the
current code relies on asm with a frame-pointer setup, but that all needs to
change again.

Avoid the hint abuse and detect the pattern directly.



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-02-03 14:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-03 12:02 [PATCH 0/5] objtool: The stack swizzle again Peter Zijlstra
2021-02-03 12:02 ` [PATCH 1/5] objtool: Change REG_SP_INDIRECT Peter Zijlstra
2021-02-03 14:42   ` Josh Poimboeuf
2021-02-03 14:49     ` Peter Zijlstra
2021-02-03 14:55       ` Josh Poimboeuf
2021-02-03 12:02 ` [PATCH 2/5] objtool: More consistent use of arch_callee_saved_reg() Peter Zijlstra
2021-02-03 12:02 ` [PATCH 3/5] objtool: Prepare for scratch regs Peter Zijlstra
2021-02-03 12:02 ` [PATCH 4/5] objtool,x86: Additionally decode: mov %rsp, (%reg) Peter Zijlstra
2021-02-03 12:02 ` [PATCH 5/5] objtool: Support stack-swizzle Peter Zijlstra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.