Re: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-28 Thread Paul Burton
Hello, Chong Qiao wrote: > KGDB_call_nmi_hook is called by other cpu through smp call. > MIPS smp call is processed in ipi irq handler and regs is saved in > handle_int. > So kgdb_call_nmi_hook get regs by get_irq_regs and regs will be passed > to kgdb_cpu_enter. > > Signed-off-by: Chong Qiao >

Re: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-28 Thread Daniel Thompson
On Thu, Mar 28, 2019 at 07:08:01AM +0800, Chong Qiao wrote: > KGDB_call_nmi_hook is called by other cpu through smp call. > MIPS smp call is processed in ipi irq handler and regs is saved in > handle_int. > So kgdb_call_nmi_hook get regs by get_irq_regs and regs will be passed > to

Re: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-28 Thread Daniel Thompson
On Wed, Mar 27, 2019 at 03:27:26PM -0700, Doug Anderson wrote: > Hi, > > On Wed, Mar 27, 2019 at 3:25 PM qiaochong wrote: > > > > > > My name is QiaoChong, which is same to my username. > > Qiao is my family name. > > Thanks a lot. > > I guess it will be up to whichever maintainer lands this

Re: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-27 Thread Doug Anderson
Hi, On Wed, Mar 27, 2019 at 4:08 PM Chong Qiao wrote: > > KGDB_call_nmi_hook is called by other cpu through smp call. > MIPS smp call is processed in ipi irq handler and regs is saved in > handle_int. > So kgdb_call_nmi_hook get regs by get_irq_regs and regs will be passed > to kgdb_cpu_enter.

Re:Re: Re: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-27 Thread qiaochong
Hi Doug, I have changed name and signoff info format and resent patch just now. Thanks a lot. 在 2019-03-28 06:27:26,"Doug Anderson" 写道: >Hi, > >On Wed, Mar 27, 2019 at 3:25 PM qiaochong wrote: >> >> >> My name is QiaoChong, which is same to my username. >> Qiao is my family name. >> Thanks

[PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-27 Thread Chong Qiao
KGDB_call_nmi_hook is called by other cpu through smp call. MIPS smp call is processed in ipi irq handler and regs is saved in handle_int. So kgdb_call_nmi_hook get regs by get_irq_regs and regs will be passed to kgdb_cpu_enter. Signed-off-by: Chong Qiao --- arch/mips/kernel/kgdb.c | 3 ++- 1

Re: Re: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-27 Thread Doug Anderson
Hi, On Wed, Mar 27, 2019 at 3:25 PM qiaochong wrote: > > > My name is QiaoChong, which is same to my username. > Qiao is my family name. > Thanks a lot. I guess it will be up to whichever maintainer lands this (maybe Daniel?) on whether they want you to spin it. I think folks expect to see a

Re:Re: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-27 Thread qiaochong
My name is QiaoChong, which is same to my username. Qiao is my family name. Thanks a lot. 在 2019-03-28 00:25:06,"Doug Anderson" 写道: >Hi, > >On Wed, Mar 27, 2019 at 8:06 AM qiaochong wrote: >> >> KGDB_call_nmi_hook is called by other cpu through smp call. >> MIPS smp call is processed in ipi

Re: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-27 Thread Doug Anderson
Hi, On Wed, Mar 27, 2019 at 8:06 AM qiaochong wrote: > > KGDB_call_nmi_hook is called by other cpu through smp call. > MIPS smp call is processed in ipi irq handler and regs is saved in > handle_int. > So kgdb_call_nmi_hook get regs by get_irq_regs and regs will be passed > to kgdb_cpu_enter.

[PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-27 Thread qiaochong
KGDB_call_nmi_hook is called by other cpu through smp call. MIPS smp call is processed in ipi irq handler and regs is saved in handle_int. So kgdb_call_nmi_hook get regs by get_irq_regs and regs will be passed to kgdb_cpu_enter. Signed-off-by: qiaochong --- arch/mips/kernel/kgdb.c | 3 ++- 1

[PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-27 Thread qiaochong
KGDB_call_nmi_hook is called by other cpu through smp call. MIPS smp call is processed in ipi irq handler and regs is saved in handle_int. So kgdb_call_nmi_hook get regs by get_irq_regs and regs will be passed to kgdb_cpu_enter. Signed-off-by: qiaochong --- arch/mips/kernel/kgdb.c | 2 +- 1