lkml.org 
[lkml]   [2019]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 00/22] x86, objtool: several fixes/improvements
On Sun, Jul 14, 2019 at 07:36:55PM -0500, Josh Poimboeuf wrote:
> There have been a lot of objtool bug reports lately, mainly related to
> Clang and BPF. As part of fixing those bugs, I added some improvements
> to objtool which uncovered yet more bugs (some kernel, some objtool).
>
> I've given these patches a lot of testing with both GCC and Clang. More
> compile testing of objtool would be appreciated, as the kbuild test
> robot doesn't seem to be paying much attention to my branches lately.
>
> There are still at least three outstanding issues:
>
> 1) With clang I see:
>
> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o: warning: objtool: .altinstr_replacement+0x88: redundant UACCESS disable
>
> I haven't dug into it yet.
>
> 2) There's also an issue in clang where a large switch table had a bunch
> of unused (bad) entries. It's not a code correctness issue, but
> hopefully it can get fixed in clang anyway. See patch 20/22 for more
> details.
>
> 3) CONFIG_LIVEPATCH is causing some objtool "unreachable instruction"
> warnings due to the new -flive-patching flag. I have some fixes
> pending, but this patch set is already long enough.

These patches are also at:

git://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git objtool-many-fixes

--
Josh

\
 
 \ /
  Last update: 2019-07-15 21:39    [W:0.111 / U:10.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site