Re: [RESEND PATCH] arm64: kgdb: fix single stepping

2016-09-20 Thread AKASHI Takahiro
Jason, On Mon, Sep 19, 2016 at 05:29:36PM -0500, Jason Wessel wrote: > On 09/15/2016 11:32 PM, AKASHI Takahiro wrote: > >@@ -176,18 +183,14 @@ int kgdb_arch_handle_exception(int exception_vector, > >int signo, > >>>* over and over again. > >>>*/ > >>> kgdb_arch_u

Re: [RESEND PATCH] arm64: kgdb: fix single stepping

2016-09-19 Thread Jason Wessel
On 09/15/2016 11:32 PM, AKASHI Takahiro wrote: @@ -176,18 +183,14 @@ int kgdb_arch_handle_exception(int exception_vector, int signo, * over and over again. */ kgdb_arch_update_addr(linux_regs, remcom_in_buffer); - atomic_set(&kgdb_

Re: [RESEND PATCH] arm64: kgdb: fix single stepping

2016-09-19 Thread Jason Wessel
On 09/16/2016 02:45 AM, Will Deacon wrote: On Fri, Sep 16, 2016 at 01:32:19PM +0900, AKASHI Takahiro wrote: On Thu, Sep 15, 2016 at 08:04:57AM -0500, Jason Wessel wrote: I added the patch to kgdb-next after fixing up the context since it no longer applied to the mainline ( https://git.kernel.or

Re: [RESEND PATCH] arm64: kgdb: fix single stepping

2016-09-16 Thread Will Deacon
A Jason appeared! On Fri, Sep 16, 2016 at 01:32:19PM +0900, AKASHI Takahiro wrote: > On Thu, Sep 15, 2016 at 08:04:57AM -0500, Jason Wessel wrote: > > I added the patch to kgdb-next after fixing up the context since it no > > longer applied to the mainline ( > > https://git.kernel.org/cgit/linux/k

Re: [RESEND PATCH] arm64: kgdb: fix single stepping

2016-09-15 Thread AKASHI Takahiro
Hi Jason, Welcome back to mainline development. I've been looking forward to your comments. On Thu, Sep 15, 2016 at 08:04:57AM -0500, Jason Wessel wrote: > On 04/20/2015 08:13 PM, AKASHI Takahiro wrote: > >Jason, > > > >Could you please review my patch below? > >See also arm64 maintainer's commen

Re: [RESEND PATCH] arm64: kgdb: fix single stepping

2016-09-15 Thread Jason Wessel
On 04/20/2015 08:13 PM, AKASHI Takahiro wrote: Jason, Could you please review my patch below? See also arm64 maintainer's comment: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January/313712.html Thanks, -Takahiro AKASHI I tried to verify kgdb in vanilla kernel on fast model, but

Re: [RESEND PATCH] arm64: kgdb: fix single stepping

2016-09-15 Thread Jason Wessel
On 09/15/2016 05:41 AM, Daniel Thompson wrote: On 15/09/16 08:56, AKASHI Takahiro wrote: On Wed, Sep 14, 2016 at 03:58:51PM +0100, Will Deacon wrote: Hi Akashi, On Tue, Apr 21, 2015 at 02:13:13AM +0100, AKASHI Takahiro wrote: Could you please review my patch below? See also arm64 maintainer's

Re: [RESEND PATCH] arm64: kgdb: fix single stepping

2016-09-15 Thread Daniel Thompson
On 15/09/16 08:56, AKASHI Takahiro wrote: On Wed, Sep 14, 2016 at 03:58:51PM +0100, Will Deacon wrote: Hi Akashi, On Tue, Apr 21, 2015 at 02:13:13AM +0100, AKASHI Takahiro wrote: Could you please review my patch below? See also arm64 maintainer's comment: http://lists.infradead.org/pipermail/l

Re: [RESEND PATCH] arm64: kgdb: fix single stepping

2016-09-15 Thread AKASHI Takahiro
On Wed, Sep 14, 2016 at 03:58:51PM +0100, Will Deacon wrote: > Hi Akashi, > > On Tue, Apr 21, 2015 at 02:13:13AM +0100, AKASHI Takahiro wrote: > > Could you please review my patch below? > > See also arm64 maintainer's comment: > > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January

Re: [RESEND PATCH] arm64: kgdb: fix single stepping

2016-09-14 Thread Will Deacon
Hi Akashi, On Tue, Apr 21, 2015 at 02:13:13AM +0100, AKASHI Takahiro wrote: > Could you please review my patch below? > See also arm64 maintainer's comment: > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January/313712.html -ETIMEDOUT waiting for the kdgb folk to comment. Ppeople ha

[RESEND PATCH] arm64: kgdb: fix single stepping

2015-04-20 Thread AKASHI Takahiro
Jason, Could you please review my patch below? See also arm64 maintainer's comment: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January/313712.html Thanks, -Takahiro AKASHI I tried to verify kgdb in vanilla kernel on fast model, but it seems that the single stepping with kgdb does

Re: [PATCH] arm64: kgdb: fix single stepping

2015-01-06 Thread AKASHI Takahiro
Kumar, Vijaya; linux-arm-ker...@lists.infradead.org; linaro-ker...@lists.linaro.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: kgdb: fix single stepping Hi Will, I have used Takahiro's patch to fix the single stepping problem of KGDB on arm64. We had real hardware called A

Re: [PATCH] arm64: kgdb: fix single stepping

2015-01-06 Thread Will Deacon
On Mon, Jan 05, 2015 at 11:52:42PM +, AKASHI Takahiro wrote: > Hi Will, Hi Akashi, > What's the current status of this patch? > I'm pretty sure that the bug is reproducable and can be fixed > with my patch since I've got a report from another guy > who had the same problem and tried my patch.

Re: [PATCH] arm64: kgdb: fix single stepping

2015-01-06 Thread Yong Zhao
Hi Will, I have used Takahiro's patch to fix the single stepping problem of KGDB on arm64. We had real hardware called AMD Seattle. The problem I had is exactly the same as the description of Takahiro. We are working on kernel 3.14, but we did port back many patches related to arm64 from high

Re: [PATCH] arm64: kgdb: fix single stepping

2015-01-06 Thread Kumar, Vijaya
...@arm.com Cc: dsax...@linaro.org; Kumar, Vijaya; linux-arm-ker...@lists.infradead.org; linaro-ker...@lists.linaro.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: kgdb: fix single stepping Hi Will, I have used Takahiro's patch to fix the single stepping problem of KGDB on arm64. W

Re: [PATCH] arm64: kgdb: fix single stepping

2015-01-05 Thread AKASHI Takahiro
Hi Will, What's the current status of this patch? I'm pretty sure that the bug is reproducable and can be fixed with my patch since I've got a report from another guy who had the same problem and tried my patch. Thanks, -Takahiro AKASHI On 10/21/2014 02:07 PM, AKASHI Takahiro wrote: I tried to

Re: [PATCH] arm64: kgdb: fix single stepping

2014-11-09 Thread AKASHI Takahiro
Vijay, On 11/07/2014 10:10 PM, Vijay Kilari wrote: Hi Akashil, On Tue, Oct 28, 2014 at 5:48 AM, AKASHI Takahiro wrote: Vijay, On 10/27/2014 09:45 PM, Vijay Kilari wrote: Hi Akashi, I could not reproduce this with my simulator. It would be good if you could post result of KGDB test

Re: [PATCH] arm64: kgdb: fix single stepping

2014-11-07 Thread Vijay Kilari
Hi Akashil, On Tue, Oct 28, 2014 at 5:48 AM, AKASHI Takahiro wrote: > Vijay, > > On 10/27/2014 09:45 PM, Vijay Kilari wrote: >> >> Hi Akashi, >> >> I could not reproduce this with my simulator. >> It would be good if you could post result of KGDB test suite. >> >> From sysfs you can launc

Re: [PATCH] arm64: kgdb: fix single stepping

2014-10-27 Thread AKASHI Takahiro
Vijay, On 10/27/2014 09:45 PM, Vijay Kilari wrote: Hi Akashi, I could not reproduce this with my simulator. It would be good if you could post result of KGDB test suite. From sysfs you can launch using below command: echo V1F1000 > /sys/module/kgdbts/parameters/kgdbts or enable boot tes

Re: [PATCH] arm64: kgdb: fix single stepping

2014-10-27 Thread Vijay Kilari
Hi Akashi, I could not reproduce this with my simulator. It would be good if you could post result of KGDB test suite. >From sysfs you can launch using below command: echo V1F1000 > /sys/module/kgdbts/parameters/kgdbts or enable boot test. Other than that it is OK. On Mon, Oct 27, 2014 at

Re: [PATCH] arm64: kgdb: fix single stepping

2014-10-27 Thread Will Deacon
On Tue, Oct 21, 2014 at 06:07:30AM +0100, AKASHI Takahiro wrote: > I tried to verify kgdb in vanilla kernel on fast model, but it seems that > the single stepping with kgdb doesn't work correctly since its first > appearance at v3.15. > > On v3.15, 'stepi' command after breaking the kernel at some

[PATCH] arm64: kgdb: fix single stepping

2014-10-20 Thread AKASHI Takahiro
I tried to verify kgdb in vanilla kernel on fast model, but it seems that the single stepping with kgdb doesn't work correctly since its first appearance at v3.15. On v3.15, 'stepi' command after breaking the kernel at some breakpoint steps forward to the next instruction, but the succeeding 'step