Re: [PATCH v6 05/39] powerpc: remove arguments from fault handler functions

2021-01-27 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of January 27, 2021 4:38 pm: > > > Le 15/01/2021 à 17:49, Nicholas Piggin a écrit : >> Make mm fault handlers all just take the pt_regs * argument and load >> DAR/DSISR from that. Make those that return a value return long. >> >> This is done to make the

Re: [PATCH v6 05/39] powerpc: remove arguments from fault handler functions

2021-01-26 Thread Christophe Leroy
Le 15/01/2021 à 17:49, Nicholas Piggin a écrit : Make mm fault handlers all just take the pt_regs * argument and load DAR/DSISR from that. Make those that return a value return long. This is done to make the function signatures match other handlers, which will help with a future patch to add

[PATCH v6 05/39] powerpc: remove arguments from fault handler functions

2021-01-15 Thread Nicholas Piggin
Make mm fault handlers all just take the pt_regs * argument and load DAR/DSISR from that. Make those that return a value return long. This is done to make the function signatures match other handlers, which will help with a future patch to add wrappers. Explicit arguments could be added for perfor