Re: [PATCH] powerpc/watchpoint: Don't call dar_within_range() for Book3S

2020-02-27 Thread Michael Ellerman
On Sat, 2020-02-22 at 08:20:49 UTC, Ravi Bangoria wrote: > DAR is set to the first byte of overlap between actual access and > watched range at DSI on Book3S processor. But actual access range > might or might not be within user asked range. So for Book3S, it > must not call dar_within_range(). >

Re: [PATCH] powerpc/watchpoint: Don't call dar_within_range() for Book3S

2020-02-22 Thread Ravi Bangoria
On 2/22/20 4:56 PM, Christophe Leroy wrote: On 02/22/2020 08:20 AM, Ravi Bangoria wrote: DAR is set to the first byte of overlap between actual access and watched range at DSI on Book3S processor. But actual access range might or might not be within user asked range. So for Book3S, it must

Re: [PATCH] powerpc/watchpoint: Don't call dar_within_range() for Book3S

2020-02-22 Thread Christophe Leroy
On 02/22/2020 08:20 AM, Ravi Bangoria wrote: DAR is set to the first byte of overlap between actual access and watched range at DSI on Book3S processor. But actual access range might or might not be within user asked range. So for Book3S, it must not call dar_within_range(). This revert

[PATCH] powerpc/watchpoint: Don't call dar_within_range() for Book3S

2020-02-22 Thread Ravi Bangoria
DAR is set to the first byte of overlap between actual access and watched range at DSI on Book3S processor. But actual access range might or might not be within user asked range. So for Book3S, it must not call dar_within_range(). This revert portion of commit 39413ae00967