Re: [PATCH v2 03/19] powerpc: bad_page_fault, do_break get registers from regs

2020-11-15 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of November 15, 2020 5:07 am: > Hi, > > Quoting Nicholas Piggin : > >> This also moves the 32s DABR match to C. > > I'm still not happy with that. What about the following instead ? This seems quite clean. I'll pull it into the series and see how it look

Re: [PATCH v2 03/19] powerpc: bad_page_fault, do_break get registers from regs

2020-11-14 Thread Christophe Leroy
Hi, Quoting Nicholas Piggin : This also moves the 32s DABR match to C. I'm still not happy with that. What about the following instead ? diff --git a/arch/powerpc/kernel/entry_32.S b/arch/powerpc/kernel/entry_32.S index 8cdc8bcde703..6253c4acb46d 100644 --- a/arch/powerpc/kernel/entry_32.S +

[PATCH v2 03/19] powerpc: bad_page_fault, do_break get registers from regs

2020-11-11 Thread Nicholas Piggin
This also moves the 32s DABR match to C. Similar to the previous patch this makes interrupt handler function types more regular so they can be wrapped with the next patch. bad_page_fault and do_break are not performance critical. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/bug.