[PATCH v5 04/21] powerpc: bad_page_fault, do_break get registers from regs

Nicholas Piggin npiggin at gmail.com
Thu Jan 14 14:26:10 AEDT 2021


Excerpts from Christophe Leroy's message of January 14, 2021 12:25 am:
> 
> 
> Le 13/01/2021 à 08:31, Nicholas Piggin a écrit :
>> 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.
> 
> It's a bit different between do_break() and bad_page_fault():
> - do_break() is not performance critical for sure
> - bad_page_fault(), it doesn't matter, because bad_page_fault() was not using the address param so 
> it doesn't get anything from regs at the end.
> 
> Maybe it would be worth splitting in two patches, one for bad_page_fault() and one for do_break()

Okay I'll try it.

Thanks,
Nick


More information about the Linuxppc-dev mailing list