Re: [PATCH v2 08/16] powerpc/watchpoint: Disable all available watchpoints when !dawr_force_enable

2020-04-01 Thread Ravi Bangoria
On 4/1/20 12:03 PM, Christophe Leroy wrote: Le 01/04/2020 à 08:13, Ravi Bangoria a écrit : Instead of disabling only first watchpoint, disable all available watchpoints while clearing dawr_force_enable. Can you also explain why you change the function name ? Right. I should have. Will a

Re: [PATCH v2 08/16] powerpc/watchpoint: Disable all available watchpoints when !dawr_force_enable

2020-03-31 Thread Christophe Leroy
Le 01/04/2020 à 08:13, Ravi Bangoria a écrit : Instead of disabling only first watchpoint, disable all available watchpoints while clearing dawr_force_enable. Can you also explain why you change the function name ? Signed-off-by: Ravi Bangoria --- arch/powerpc/kernel/dawr.c | 10 ++

[PATCH v2 08/16] powerpc/watchpoint: Disable all available watchpoints when !dawr_force_enable

2020-03-31 Thread Ravi Bangoria
Instead of disabling only first watchpoint, disable all available watchpoints while clearing dawr_force_enable. Signed-off-by: Ravi Bangoria --- arch/powerpc/kernel/dawr.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kernel/dawr.c b/arch/powerpc/ker