Re: [PATCH 03/18] powerpc: bad_page_fault, do_break get registers from regs
From: Christophe Leroy <hidden>
Date: 2020-11-10 11:26:31
From: Christophe Leroy <hidden>
Date: 2020-11-10 11:26:31
Le 10/11/2020 à 09:34, Nicholas Piggin a écrit :
Excerpts from Christophe Leroy's message of November 6, 2020 6:14 pm:quoted
Le 05/11/2020 à 15:34, Nicholas Piggin a écrit :quoted
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 ? Christophe