Thread (59 messages) 59 messages, 9 authors, 2019-03-01

Re: [RFC][PATCH] objtool: STAC/CLAC validation

flat view

From: hpa@zytor.com
Date: 2019-02-25 08:54:51
Also in: lkml

On February 23, 2019 12:39:42 AM PST, Peter Zijlstra [off-list ref] wrote:
On Fri, Feb 22, 2019 at 03:39:48PM -0800, hpa@zytor.com wrote:
quoted
Objtool could also detect CLAC-STAC or STAC-CLAC sequences without
memory operations and remove them; don't know how often that happens,
but I know it *does* happen.
Objtool doesn't know about memops; that'd be a lot of work. Also,
objtool doesn't actually rewrite the text, at best it could warn about
such occurences.
It doesn't even have to change the text per se, just nullify the altinstr.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help