Re: [PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7

2016-10-13 Thread Pavel Labath
On 13 October 2016 at 11:22, Pratyush Anand wrote: > > > On Wednesday 12 October 2016 04:46 PM, Yao Qi wrote: >> >> On Wed, Oct 12, 2016 at 6:58 AM, Pratyush Anand wrote: >>> >>> Since, arm64 can support all offset within a double word limit. >>> Therefore,

Re: [PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7

2016-10-13 Thread Pavel Labath
On 13 October 2016 at 11:22, Pratyush Anand wrote: > > > On Wednesday 12 October 2016 04:46 PM, Yao Qi wrote: >> >> On Wed, Oct 12, 2016 at 6:58 AM, Pratyush Anand wrote: >>> >>> Since, arm64 can support all offset within a double word limit. >>> Therefore, >>> now support other lengths within

Re: [PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7

2016-10-13 Thread Pratyush Anand
On Wednesday 12 October 2016 04:46 PM, Yao Qi wrote: On Wed, Oct 12, 2016 at 6:58 AM, Pratyush Anand wrote: Since, arm64 can support all offset within a double word limit. Therefore, now support other lengths within that range as well. How does ptracer (like GDB) detect

Re: [PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7

2016-10-13 Thread Pratyush Anand
On Wednesday 12 October 2016 04:46 PM, Yao Qi wrote: On Wed, Oct 12, 2016 at 6:58 AM, Pratyush Anand wrote: Since, arm64 can support all offset within a double word limit. Therefore, now support other lengths within that range as well. How does ptracer (like GDB) detect kernel has already

Re: [PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7

2016-10-12 Thread Yao Qi
On Wed, Oct 12, 2016 at 6:58 AM, Pratyush Anand wrote: > Since, arm64 can support all offset within a double word limit. Therefore, > now support other lengths within that range as well. How does ptracer (like GDB) detect kernel has already supported all byte address select

Re: [PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7

2016-10-12 Thread Yao Qi
On Wed, Oct 12, 2016 at 6:58 AM, Pratyush Anand wrote: > Since, arm64 can support all offset within a double word limit. Therefore, > now support other lengths within that range as well. How does ptracer (like GDB) detect kernel has already supported all byte address select values? I suppose

[PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7

2016-10-12 Thread Pratyush Anand
Since, arm64 can support all offset within a double word limit. Therefore, now support other lengths within that range as well. Signed-off-by: Pratyush Anand --- arch/arm64/include/asm/hw_breakpoint.h | 4 arch/arm64/kernel/hw_breakpoint.c | 36

[PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7

2016-10-12 Thread Pratyush Anand
Since, arm64 can support all offset within a double word limit. Therefore, now support other lengths within that range as well. Signed-off-by: Pratyush Anand --- arch/arm64/include/asm/hw_breakpoint.h | 4 arch/arm64/kernel/hw_breakpoint.c | 36 ++ 2