linux/arch/powerpc
Ravi Bangoria c21a493a2b powerpc/xmon: Fix data-breakpoint
Currently xmon data-breakpoint feature is broken.

Whenever there is a watchpoint match occurs, hw_breakpoint_handler will
be called by do_break via notifier chains mechanism. If watchpoint is
registered by xmon, hw_breakpoint_handler won't find any associated
perf_event and returns immediately with NOTIFY_STOP. Similarly, do_break
also returns without notifying to xmon.

Solve this by returning NOTIFY_DONE when hw_breakpoint_handler does not
find any perf_event associated with matched watchpoint, rather than
NOTIFY_STOP, which tells the core code to continue calling the other
breakpoint handlers including the xmon one.

Cc: stable@vger.kernel.org
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-02-15 20:02:25 +11:00
..
boot powerpc/boot: Update .gitignore 2017-02-02 16:35:26 +11:00
configs powerpc/powernv: Add XHCI and USB storage to defconfig 2017-02-09 10:31:36 +11:00
crypto crypto: crc32c-vpmsum - Rename CRYPT_CRC32C_VPMSUM option 2016-11-28 21:23:17 +08:00
include powerpc/mm: Fix build break with BOOK3S_64=n and MEMORY_HOTPLUG=y 2017-02-15 19:58:39 +11:00
kernel powerpc/xmon: Fix data-breakpoint 2017-02-15 20:02:25 +11:00
kvm powerpc/powernv: Remove separate entry for OPAL real mode calls 2017-02-07 16:40:18 +11:00
lib powerpc/kprobes: Implement Optprobes 2017-02-10 13:28:04 +11:00
math-emu Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
mm Merge branch 'topic/ppc-kvm' into next 2017-02-14 17:18:29 +11:00
net powerpc/bpf: Introduce __PPC_SH64() 2017-02-10 13:28:03 +11:00
oprofile ktime: Cleanup ktime_set() usage 2016-12-25 17:21:22 +01:00
perf powerpc/perf: Use MSR to report privilege level on P9 DD1 2017-01-18 16:15:58 +11:00
platforms Merge branch 'topic/ppc-kvm' into next 2017-02-14 17:18:29 +11:00
purgatory powerpc: Add purgatory for kexec_file_load() implementation. 2016-11-30 23:15:26 +11:00
scripts powerpc/ftrace: Add Kconfig & Make glue for mprofile-kernel 2016-03-07 14:53:56 +11:00
sysdev powerpc/icp-opal: Fix missing KVM case and harden replay 2017-01-17 11:50:03 +11:00
xmon powerpc/xmon: Cleanup to use is_kernel_addr macro 2017-02-02 16:44:14 +11:00
Kconfig powerpc/ftrace: Fix confusing help text for DISABLE_MPROFILE_KERNEL 2017-02-10 13:42:02 +11:00
Kconfig.debug powerpc/debug: PTDUMP should depend on DEBUG_FS 2017-02-02 16:35:25 +11:00
Makefile powerpc: Add purgatory for kexec_file_load() implementation. 2016-11-30 23:15:26 +11:00
relocs_check.sh powerpc/64: whitelist unresolved modversions CRCs 2016-09-22 14:46:31 +02:00