Re: [PATCH v3 05/19] powerpc: interrupt handler wrapper functions

2020-12-04 Thread Nicholas Piggin
Excerpts from Aneesh Kumar K.V's message of November 30, 2020 5:37 pm: > Nicholas Piggin writes: > > . > +#endif >> +DECLARE_INTERRUPT_HANDLER(emulation_assist_interrupt); >> +DECLARE_INTERRUPT_HANDLER_RAW(do_slb_fault); > > Can we add comments here explaining why some of these handlers nee

Re: [PATCH v3 05/19] powerpc: interrupt handler wrapper functions

2020-11-29 Thread Aneesh Kumar K.V
Nicholas Piggin writes: . +#endif > +DECLARE_INTERRUPT_HANDLER(emulation_assist_interrupt); > +DECLARE_INTERRUPT_HANDLER_RAW(do_slb_fault); Can we add comments here explaining why some of these handlers need to remain RAW()? > +DECLARE_INTERRUPT_HANDLER(do_bad_slb_fault); > +DECLARE_INTER

[PATCH v3 05/19] powerpc: interrupt handler wrapper functions

2020-11-28 Thread Nicholas Piggin
Add wrapper functions (derived from x86 macros) for interrupt handler functions. This allows interrupt entry code to be written in C. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/asm-prototypes.h | 29 --- arch/powerpc/include/asm/book3s/64/mmu-hash.h | 1 - arch/powerpc/in