From: Masami Hiramatsu <mhiramat@kernel.org>
To: Ingo Molnar <mingo@kernel.org>, Thomas Gleixner <tglx@linutronix.de>
Cc: Francis Deslauriers <francis.deslauriers@efficios.com>,
mathieu.desnoyers@efficios.com, Ingo Molnar <mingo@redhat.com>,
"H . Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, Masami Hiramatsu <mhiramat@kernel.org>,
Ananth N Mavinakayanahalli <ananth@in.ibm.com>,
Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>,
"David S . Miller" <davem@davemloft.net>,
linux-kernel@vger.kernel.org,
Yoshinori Sato <ysato@users.sourceforge.jp>,
Chris Zankel <chris@zankel.net>,
Max Filippov <jcmvbkbc@gmail.com>
Subject: [PATCH -tip v8 0/4] kprobes related bugfix
Date: Sun, 30 Jul 2017 19:10:29 +0900 [thread overview]
Message-ID: <150140941409.26851.4427272757319161479.stgit@devbox> (raw)
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
next reply other threads:[~2017-07-30 10:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-30 10:10 Masami Hiramatsu [this message]
2017-07-30 10:12 ` [PATCH -tip v8 1/4] h8300: mark _stext and _etext as char-arrays, not single char Masami Hiramatsu
2017-07-30 10:13 ` [PATCH -tip v8 2/4] xtensa: mark _stext and _end " Masami Hiramatsu
2017-07-30 10:14 ` [PATCH -tip v8 3/4] irq: Make irqentry text section unconditional Masami Hiramatsu
2017-08-02 17:35 ` kbuild test robot
2017-08-03 2:16 ` Masami Hiramatsu
2017-08-02 19:11 ` kbuild test robot
2017-07-30 10:16 ` [PATCH -tip v8 4/4] [BUGFIX] kprobes/x86: Do not jump-optimize kprobes on irq entry code Masami Hiramatsu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=150140941409.26851.4427272757319161479.stgit@devbox \
--to=mhiramat@kernel.org \
--cc=ananth@in.ibm.com \
--cc=anil.s.keshavamurthy@intel.com \
--cc=chris@zankel.net \
--cc=davem@davemloft.net \
--cc=francis.deslauriers@efficios.com \
--cc=hpa@zytor.com \
--cc=jcmvbkbc@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=mingo@kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=ysato@users.sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox