* [GIT PULL] objtool/urgent for 5.8
@ 2020-06-28 14:12 Borislav Petkov
2020-06-28 18:45 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Borislav Petkov @ 2020-06-28 14:12 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Peter Zijlstra, x86-ml, lkml
Hi Linus,
please pull three fixes from peterz suppressing KCOV instrumentation in
noinstr sections.
Thx.
---
The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:
Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/objtool_urgent_for_5.8_rc3
for you to fetch changes up to 0f1441b44e823a74f3f3780902a113e07c73fbf6:
objtool: Fix noinstr vs KCOV (2020-06-18 17:36:33 +0200)
----------------------------------------------------------------
Peter Zijlstra says:
Address KCOV vs noinstr. There is no function attribute to selectively
suppress KCOV instrumentation, instead teach objtool to NOP out the
calls in noinstr functions.
This cures a bunch of KCOV crashes (as used by syzcaller).
----------------------------------------------------------------
Peter Zijlstra (3):
objtool: Clean up elf_write() condition
objtool: Provide elf_write_{insn,reloc}()
objtool: Fix noinstr vs KCOV
arch/x86/Kconfig | 2 +-
tools/objtool/arch.h | 2 ++
tools/objtool/arch/x86/decode.c | 18 +++++++++++
tools/objtool/arch/x86/include/arch_elf.h | 6 ++++
tools/objtool/check.c | 23 +++++++++++++-
tools/objtool/elf.c | 53 +++++++++++++++++++++++++++++--
tools/objtool/elf.h | 12 +++++--
tools/objtool/orc_gen.c | 2 +-
8 files changed, 109 insertions(+), 9 deletions(-)
create mode 100644 tools/objtool/arch/x86/include/arch_elf.h
--
Regards/Gruss,
Boris.
SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-28 18:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28 14:12 [GIT PULL] objtool/urgent for 5.8 Borislav Petkov
2020-06-28 18:45 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®