Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-03-19 Thread Michael Ellerman
Nicholas Piggin writes: > Excerpts from Christophe Leroy's message of March 15, 2021 11:41 pm: >> >> Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : >>> Implement the bulk of interrupt return logic in C. The asm return code >>> must handle a few cases: restoring full GPRs, and emulating stack st

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-03-16 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of March 15, 2021 11:41 pm: > > > Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : >> Implement the bulk of interrupt return logic in C. The asm return code >> must handle a few cases: restoring full GPRs, and emulating stack store. >> >> The stack store

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-03-15 Thread Christophe Leroy
Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : Implement the bulk of interrupt return logic in C. The asm return code must handle a few cases: restoring full GPRs, and emulating stack store. The stack store emulation is significantly simplfied, rather than creating a new return frame and sw

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-02-28 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 27, 2021 8:07 pm: > > > Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : >> Implement the bulk of interrupt return logic in C. The asm return code >> must handle a few cases: restoring full GPRs, and emulating stack store. >> >> The stack stor

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-02-27 Thread Christophe Leroy
Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : Implement the bulk of interrupt return logic in C. The asm return code must handle a few cases: restoring full GPRs, and emulating stack store. The stack store emulation is significantly simplfied, rather than creating a new return frame and sw

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-02-05 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 5, 2021 4:04 pm: > > > Le 05/02/2021 à 03:16, Nicholas Piggin a écrit : >> Excerpts from Michael Ellerman's message of February 5, 2021 10:22 am: >>> Nicholas Piggin writes: Excerpts from Christophe Leroy's message of February 4, 2021 6:0

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-02-04 Thread Christophe Leroy
Le 05/02/2021 à 03:16, Nicholas Piggin a écrit : Excerpts from Michael Ellerman's message of February 5, 2021 10:22 am: Nicholas Piggin writes: Excerpts from Christophe Leroy's message of February 4, 2021 6:03 pm: Le 04/02/2021 à 04:27, Nicholas Piggin a écrit : Excerpts from Christophe L

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-02-04 Thread Nicholas Piggin
Excerpts from Michael Ellerman's message of February 5, 2021 10:22 am: > Nicholas Piggin writes: >> Excerpts from Christophe Leroy's message of February 4, 2021 6:03 pm: >>> Le 04/02/2021 à 04:27, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of February 4, 2021 2:25 am:

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-02-04 Thread Michael Ellerman
Nicholas Piggin writes: > Excerpts from Christophe Leroy's message of February 4, 2021 6:03 pm: >> Le 04/02/2021 à 04:27, Nicholas Piggin a écrit : >>> Excerpts from Christophe Leroy's message of February 4, 2021 2:25 am: Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : ... > + > + /*

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-02-04 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 4, 2021 6:03 pm: > > > Le 04/02/2021 à 04:27, Nicholas Piggin a écrit : >> Excerpts from Christophe Leroy's message of February 4, 2021 2:25 am: >>> >>> >>> Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : Implement the bulk of interrupt r

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-02-04 Thread Christophe Leroy
Le 04/02/2021 à 04:27, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of February 4, 2021 2:25 am: Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : Implement the bulk of interrupt return logic in C. The asm return code must handle a few cases: restoring full GPRs, and e

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-02-03 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 4, 2021 2:25 am: > > > Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : >> Implement the bulk of interrupt return logic in C. The asm return code >> must handle a few cases: restoring full GPRs, and emulating stack store. >> > > >> +notrace

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-02-03 Thread Christophe Leroy
Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : Implement the bulk of interrupt return logic in C. The asm return code must handle a few cases: restoring full GPRs, and emulating stack store. +notrace unsigned long interrupt_exit_kernel_prepare(struct pt_regs *regs, unsigned long msr) +

Re: [PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2021-01-27 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of January 27, 2021 6:54 pm: > > > Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : >> Implement the bulk of interrupt return logic in C. The asm return code >> must handle a few cases: restoring full GPRs, and emulating stack store. >> >> The stack store

[PATCH v3 28/32] powerpc/64s: interrupt implement exit logic in C

2020-02-25 Thread Nicholas Piggin
Implement the bulk of interrupt return logic in C. The asm return code must handle a few cases: restoring full GPRs, and emulating stack store. The stack store emulation is significantly simplfied, rather than creating a new return frame and switching to that before performing the store, it uses t