Re: [PATCH v8 1/6] powerpc: Allow clearing and restoring registers independent of saved breakpoint state

2022-10-23 Thread Russell Currey
On Fri, 2022-10-21 at 16:22 +1100, Benjamin Gray wrote: > From: Jordan Niethe Hi Ben, > For the coming temporary mm used for instruction patching, the > breakpoint registers need to be cleared to prevent them from > accidentally being triggered. As soon as the patching is done, the >

[PATCH v8 1/6] powerpc: Allow clearing and restoring registers independent of saved breakpoint state

2022-10-20 Thread Benjamin Gray
From: Jordan Niethe For the coming temporary mm used for instruction patching, the breakpoint registers need to be cleared to prevent them from accidentally being triggered. As soon as the patching is done, the breakpoints will be restored. The breakpoint state is stored in the per cpu variable