Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1699503
| From | Masami Hiramatsu <mhiramat@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH -tip v8 0/4] kprobes related bugfix |
| Date | 2017-07-30 12:20 +0200 |
| Message-ID | <u8Tuh-7rh-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi,
Here are the series of patches to fix kprobes not
to optimize on the functions in irqentry text ([4/4]).
To check the irqentry text always, [3/4] makes irqentry
text section unconditional.
This involves some other cleanups on h8300, xtensa,
because those sources declare section start/end symbol
as single characters, but generic sections.h declares
it as character arrays. So it leads build errors if
we apply [3/4].
Thank you,
---
Masami Hiramatsu (4):
h8300: mark _stext and _etext as char-arrays, not single char
xtensa: mark _stext and _end as char-arrays, not single char
irq: Make irqentry text section unconditional
[BUGFIX] kprobes/x86: Do not jump-optimize kprobes on irq entry code
arch/arm/include/asm/traps.h | 7 -------
arch/arm64/include/asm/traps.h | 7 -------
arch/h8300/include/asm/traps.h | 6 +++---
arch/x86/entry/entry_64.S | 9 ++-------
arch/x86/kernel/kprobes/opt.c | 9 ++++++---
arch/x86/kernel/unwind_frame.c | 2 --
arch/xtensa/kernel/setup.c | 6 +++---
include/asm-generic/sections.h | 4 ++++
include/asm-generic/vmlinux.lds.h | 8 --------
include/linux/interrupt.h | 14 +-------------
10 files changed, 19 insertions(+), 53 deletions(-)
--
Masami Hiramatsu
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH -tip v8 0/4] kprobes related bugfix Masami Hiramatsu <mhiramat@kernel.org> - 2017-07-30 12:20 +0200
[PATCH -tip v8 3/4] irq: Make irqentry text section unconditional Masami Hiramatsu <mhiramat@kernel.org> - 2017-07-30 12:20 +0200
Re: [PATCH -tip v8 3/4] irq: Make irqentry text section unconditional kbuild test robot <lkp@intel.com> - 2017-08-02 19:40 +0200
Re: [PATCH -tip v8 3/4] irq: Make irqentry text section unconditional Masami Hiramatsu <mhiramat@kernel.org> - 2017-08-03 04:20 +0200
Re: [PATCH -tip v8 3/4] irq: Make irqentry text section unconditional kbuild test robot <lkp@intel.com> - 2017-08-02 21:20 +0200
csiph-web