Re: [PATCH v2 2/4] powerpc/interrupt: Refactor prep_irq_for_user_exit()

2021-06-16 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of June 15, 2021 6:37 pm: > > > Le 11/06/2021 à 04:30, Nicholas Piggin a écrit : >> Excerpts from Christophe Leroy's message of June 5, 2021 12:56 am: >>> prep_irq_for_user_exit() is a superset of >>> prep_irq_for_kernel_enabled_exit(). >>> >>> Refactor it

Re: [PATCH v2 2/4] powerpc/interrupt: Refactor prep_irq_for_user_exit()

2021-06-15 Thread Christophe Leroy
Le 11/06/2021 à 04:30, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of June 5, 2021 12:56 am: prep_irq_for_user_exit() is a superset of prep_irq_for_kernel_enabled_exit(). Refactor it. I like the refactoring, but now prep_irq_for_user_exit() is calling prep_irq_for_ke

Re: [PATCH v2 2/4] powerpc/interrupt: Refactor prep_irq_for_user_exit()

2021-06-10 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of June 5, 2021 12:56 am: > prep_irq_for_user_exit() is a superset of > prep_irq_for_kernel_enabled_exit(). > > Refactor it. I like the refactoring, but now prep_irq_for_user_exit() is calling prep_irq_for_kernel_enabled_exit(), which seems like the wrong

[PATCH v2 2/4] powerpc/interrupt: Refactor prep_irq_for_user_exit()

2021-06-04 Thread Christophe Leroy
prep_irq_for_user_exit() is a superset of prep_irq_for_kernel_enabled_exit(). Refactor it. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/interrupt.c | 25 + 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/arch/powerpc/kernel/interrupt.c b/arch/po