All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] lkdtm: fix irq handler entry for arm64
@ 2018-02-01  9:34 AKASHI Takahiro
  2018-02-01  9:34 ` [PATCH 1/2] arm64: kprobes: Remove unneeded address sanity check AKASHI Takahiro
  2018-02-01  9:34 ` [PATCH 2/2] lkdtm: fix irq handler entry for arm64 AKASHI Takahiro
  0 siblings, 2 replies; 13+ messages in thread
From: AKASHI Takahiro @ 2018-02-01  9:34 UTC (permalink / raw)
  To: linux-arm-kernel

Lkdtm is a handy way for testing kdump in case of panic in interrupt
context:
   echo PANIC > /sys/kernel/debug/provoke-crash/INT_HARDWARE_ENTRY

But this just doesn't work on arm64 since "do_IRQ" function doesn't
exist on arm64. This patch series addresses this problem.

Patch#1 is a preliminary fix for patch#2 and allows for probing any
exception entries, including irq handler.

For further improvements, some of other hooks doesn't work:
* handle_IRQ_event() was removed in v2.6.39
* hrtimer_start() was converted to an inline function in v4.2

but I don't know how we should deal with them.


AKASHI Takahiro (1):
  lkdtm: fix irq handler entry for arm64

Masami Hiramatsu (1):
  arm64: kprobes: Remove unneeded address sanity check

 arch/arm64/kernel/probes/kprobes.c |  8 --------
 drivers/misc/lkdtm_core.c          | 20 ++++++++++++++++++--
 2 files changed, 18 insertions(+), 10 deletions(-)

-- 
2.15.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-02-27 15:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-01  9:34 [PATCH 0/2] lkdtm: fix irq handler entry for arm64 AKASHI Takahiro
2018-02-01  9:34 ` [PATCH 1/2] arm64: kprobes: Remove unneeded address sanity check AKASHI Takahiro
2018-02-06 14:36   ` Will Deacon
2018-02-07  0:02     ` Masami Hiramatsu
2018-02-15  2:08   ` David Long
2018-02-15  6:47     ` Masami Hiramatsu
2018-02-22  5:19       ` David Long
2018-02-22  5:45         ` Masami Hiramatsu
2018-02-01  9:34 ` [PATCH 2/2] lkdtm: fix irq handler entry for arm64 AKASHI Takahiro
2018-02-27  3:57   ` Kees Cook
2018-02-27  5:07     ` Masami Hiramatsu
2018-02-27  7:20     ` AKASHI Takahiro
2018-02-27 15:46       ` Kees Cook

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.