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

Nicholas Piggin npiggin at gmail.com
Wed Nov 11 15:46:49 AEDT 2020


Excerpts from Christophe Leroy's message of November 10, 2020 9:19 pm:
> 
> 
> Le 10/11/2020 à 09:34, Nicholas Piggin a écrit :
>> Excerpts from Christophe Leroy's message of November 6, 2020 6:14 pm:
>>>
>>>
>>> Le 05/11/2020 à 15:34, Nicholas Piggin a écrit :
>>>> This also moves the 32s DABR match to C.
>>>
>>> Is there a real benefit doing this ?
>> 
>> Oh I missed doing it, but yes I think bad_page_fault and do_break should
>> probably be implemented with the DEFINE_INTERRUT_HANDLER wrappers.
>> 
> 
> Yes, anyway, do we need to do that change ? Can't the dispatch between do_break() and page fault 
> handling remain in handle_page_fault() ? What's the benefit of going into do_page_fault() and coming 
> back ?

You might be right, I'll take another look at it.

Thanks,
Nick


More information about the Linuxppc-dev mailing list