Re: [PATCH 02/18] powerpc: remove arguments from fault handler functions

2020-11-10 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of November 10, 2020 9:15 pm: > > > Le 10/11/2020 à 09:29, Nicholas Piggin a écrit : >> Excerpts from Christophe Leroy's message of November 6, 2020 5:59 pm: >>> >>> >>> Le 05/11/2020 à 15:34, Nicholas Piggin a écrit : Make mm fault handlers all just

Re: [PATCH 02/18] powerpc: remove arguments from fault handler functions

2020-11-10 Thread Christophe Leroy
Le 10/11/2020 à 09:29, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of November 6, 2020 5:59 pm: Le 05/11/2020 à 15:34, 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 r

Re: [PATCH 02/18] powerpc: remove arguments from fault handler functions

2020-11-10 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of November 6, 2020 5:59 pm: > > > Le 05/11/2020 à 15:34, 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 02/18] powerpc: remove arguments from fault handler functions

2020-11-06 Thread Christophe Leroy
Le 05/11/2020 à 15:34, 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 02/18] powerpc: remove arguments from fault handler functions

2020-11-05 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