diff for duplicates of <553659AE.4090809@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 5e618d5..b6b0263 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -56,10 +56,3 @@ It would be good if the warning message included and address to be a bit more in Other architecture do use kfree in the kretprobe trampoline handlers but do not seem to encounter this problem. -Will --------------- next part -------------- -A non-text attachment was scrubbed... -Name: debug_diag.patch -Type: text/x-patch -Size: 915 bytes -Desc: not available -URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150421/dca21984/attachment.bin> diff --git a/N1/2.hdr b/N1/2.hdr new file mode 100644 index 0000000..80131b5 --- /dev/null +++ b/N1/2.hdr @@ -0,0 +1,5 @@ +Content-Type: text/x-patch; + name="debug_diag.patch" +Content-Transfer-Encoding: 7bit +Content-Disposition: attachment; + filename="debug_diag.patch" diff --git a/N1/2.txt b/N1/2.txt new file mode 100644 index 0000000..9c40c53 --- /dev/null +++ b/N1/2.txt @@ -0,0 +1,24 @@ +diff --git a/arch/arm64/kernel/debug-monitors.c b/arch/arm64/kernel/debug-monitors.c +index dae7bb4..ec5a1b2 100644 +--- a/arch/arm64/kernel/debug-monitors.c ++++ b/arch/arm64/kernel/debug-monitors.c +@@ -262,6 +262,19 @@ static int single_step_handler(unsigned long addr, unsigned int esr, + + if (!handler_found) { + pr_warning("Unexpected kernel single-step exception at EL1\n"); ++ { ++ struct kprobe_ctlblk *kcb = get_kprobe_ctlblk(); ++ pr_warning("kcb->ss_ctx.ss_status = %ld\n", ++ kcb->ss_ctx.ss_status); ++ printk("kcb->ss_ctx.match_addr = %lx ", ++ kcb->ss_ctx.match_addr); ++ print_symbol("%s\n", kcb->ss_ctx.match_addr); ++ printk("instruction_pointer(regs) = %lx ", ++ instruction_pointer(regs)); ++ print_symbol("%s\n", instruction_pointer(regs)); ++ show_regs(regs); ++ BUG(); ++ } + /* + * Re-enable stepping since we know that we will be + * returning to regs. diff --git a/a/content_digest b/N1/content_digest index c68b5ca..d8abb9a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,10 +1,22 @@ "ref\01429561187-3661-1-git-send-email-dave.long@linaro.org\0" "ref\055363791.4070706@hitachi.com\0" - "From\0wcohen@redhat.com (William Cohen)\0" - "Subject\0[PATCH v6 0/6] arm64: Add kernel probes (kprobes) support\0" + "From\0William Cohen <wcohen@redhat.com>\0" + "Subject\0Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support\0" "Date\0Tue, 21 Apr 2015 10:07:42 -0400\0" - "To\0linux-arm-kernel@lists.infradead.org\0" - "\00:1\0" + "To\0Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>" + " David Long <dave.long@linaro.org>\0" + "Cc\0linux-arm-kernel@lists.infradead.org" + Russell King <linux@arm.linux.org.uk> + sandeepa.s.prabhu@gmail.com + Steve Capper <steve.capper@linaro.org> + Catalin Marinas <catalin.marinas@arm.com> + Will Deacon <will.deacon@arm.com> + Jon Medhurst (Tixy) <tixy@linaro.org> + Ananth N Mavinakayanahalli <ananth@in.ibm.com> + Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> + davem@davemloft.net + " linux-kernel@vger.kernel.org\0" + "\01:1\0" "b\0" "On 04/21/2015 07:42 AM, Masami Hiramatsu wrote:\n" "> (2015/04/21 5:19), David Long wrote:\n" @@ -63,13 +75,33 @@ "\n" "Other architecture do use kfree in the kretprobe trampoline handlers but do not seem to encounter this problem. \n" "\n" - "-Will\n" - "-------------- next part --------------\n" - "A non-text attachment was scrubbed...\n" - "Name: debug_diag.patch\n" - "Type: text/x-patch\n" - "Size: 915 bytes\n" - "Desc: not available\n" - URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150421/dca21984/attachment.bin> + -Will + "\01:2\0" + "fn\0debug_diag.patch\0" + "b\0" + "diff --git a/arch/arm64/kernel/debug-monitors.c b/arch/arm64/kernel/debug-monitors.c\n" + "index dae7bb4..ec5a1b2 100644\n" + "--- a/arch/arm64/kernel/debug-monitors.c\n" + "+++ b/arch/arm64/kernel/debug-monitors.c\n" + "@@ -262,6 +262,19 @@ static int single_step_handler(unsigned long addr, unsigned int esr,\n" + " \n" + " \t\tif (!handler_found) {\n" + " \t\t\tpr_warning(\"Unexpected kernel single-step exception at EL1\\n\");\n" + "+\t\t\t{\n" + "+\t\t \tstruct kprobe_ctlblk *kcb = get_kprobe_ctlblk();\n" + "+\t\t\tpr_warning(\"kcb->ss_ctx.ss_status = %ld\\n\",\n" + "+\t\t\t\t kcb->ss_ctx.ss_status);\n" + "+\t\t\tprintk(\"kcb->ss_ctx.match_addr = %lx \",\n" + "+\t\t\t\t kcb->ss_ctx.match_addr);\n" + "+\t\t\tprint_symbol(\"%s\\n\", kcb->ss_ctx.match_addr);\n" + "+\t\t\tprintk(\"instruction_pointer(regs) = %lx \",\n" + "+\t\t\t\t instruction_pointer(regs));\n" + "+\t\t\tprint_symbol(\"%s\\n\", instruction_pointer(regs));\n" + "+\t\t\tshow_regs(regs);\n" + "+\t\t\tBUG();\n" + "+\t\t\t}\n" + " \t\t\t/*\n" + " \t\t\t * Re-enable stepping since we know that we will be\n" + " \t\t\t * returning to regs." -cc9fca8431417f362556e087ebacd7e7227d04bc656b4f60c506f243fddc31d5 +9aec6fe31f7f29e5e180454be91373c134dd3bbac361bf1ebbda0fcd217bd190
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.