Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932409AbbEVQ5R (ORCPT ); Fri, 22 May 2015 12:57:17 -0400 Received: from mail-qk0-f171.google.com ([209.85.220.171]:33204 "EHLO mail-qk0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932375AbbEVQ5N (ORCPT ); Fri, 22 May 2015 12:57:13 -0400 Message-ID: <555F5FE3.8060702@linaro.org> Date: Fri, 22 May 2015 12:57:07 -0400 From: David Long User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Catalin Marinas , William Cohen CC: "Jon Medhurst (Tixy)" , Steve Capper , Ananth N Mavinakayanahalli , Will Deacon , linux-kernel@vger.kernel.org, Anil S Keshavamurthy , Masami Hiramatsu , sandeepa.s.prabhu@gmail.com, Russell King , davem@davemloft.net, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v6 3/6] arm64: Kprobes with single stepping support References: <1429561187-3661-1-git-send-email-dave.long@linaro.org> <1429561187-3661-4-git-send-email-dave.long@linaro.org> <20150520163946.GC29424@e104818-lin.cambridge.arm.com> <555D62BD.5040403@linaro.org> <20150522110007.GV29424@e104818-lin.cambridge.arm.com> <555F5011.90808@redhat.com> <20150522165428.GC29424@e104818-lin.cambridge.arm.com> In-Reply-To: <20150522165428.GC29424@e104818-lin.cambridge.arm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1502 Lines: 37 On 05/22/15 12:54, Catalin Marinas wrote: > On Fri, May 22, 2015 at 11:49:37AM -0400, William Cohen wrote: >> On 05/22/2015 07:00 AM, Catalin Marinas wrote: >>> Any plans to post an updated version with the "unexpected single-step >>> error" fixed? >> >> The only place this issue with the "unexpected single-step error" has >> been observed is with the arm64 kretporbe handler code calling kprobed >> functions. Experiments with kprobed functions being called in the >> kprobe handlers showed that situation was handled appropriately. >> >> There is proposed fix to address the issue with the trampoline, the >> attached patch. This is modeled after the way that the x86 handles >> the kretprobe. The trampoline directly save and restores the >> registers and uses a normal call to the kretprobe handler. It >> operates similarly to what you are suggesting above, but just for the >> special case of the kretprobes. > > Thanks. I guess David will post a v7 series with this patch included and > other comments addressed. > > BTW, I'll be on holiday for a week, back on the 1st of June. Hopefully > this series gets some more reviews by then ;) > Yes, the v7 patch is in the works, with Will Cohen's trampoline fixes as well as your feedback. -fl -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/