]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: add support for sparc64 1of3
authorKris Van Hees <kris.van.hees@oracle.com>
Mon, 22 Dec 2014 21:56:13 +0000 (16:56 -0500)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jul 2015 14:29:48 +0000 (15:29 +0100)
commit91352d1f425720035944364907ff81ef921bc438
tree773138ca43c3956ed9f6e597d4f0212bd96330f6
parent70ed4bc387de012e09134ed06cfc89a4e4d5ae1f
dtrace: add support for sparc64 1of3

This commit is the 1st of 3 commits to add DTrace support to the sparc64
kernel.  This particular commit covers the sparc64-specific kernel code
changes.

- Set ARCH_SUPPORTS_DTRACE for SPARC64.

- Add DIE_PAGE_FAULT to be used in the (new) notifier call in the
  do_kernel_fault() function to allow DTrace to report failed memory
  accesses from probe recipes as an error rather than causing a kernel
  OOPS.

- Add support for the dtrace_no_pf() functionality to ignore page faults
  on request when trying to access userspace.

- Add support for the waitfd syscall.

Orabug: 19005031

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Reviewed-by: Nick Alcock <nick.alcock@oracle.com>
arch/sparc/Kconfig
arch/sparc/include/asm/kdebug_64.h
arch/sparc/include/uapi/asm/unistd.h
arch/sparc/kernel/systbls_64.S
arch/sparc/mm/fault_64.c