Chong Qiao ab8a6d8211
MIPS: KGDB: fix kgdb support for SMP platforms.
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 <qiaochong@loongson.cn>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Christophe Leroy <christophe.leroy@c-s.fr>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: QiaoChong <qiaochong@loongson.cn>
2019-03-28 11:35:58 -07:00
..
2018-12-03 13:42:38 -08:00
2017-02-13 18:57:34 +00:00
2017-11-03 09:02:30 -07:00
2019-02-04 10:56:41 -08:00
2018-10-31 08:54:16 -07:00
2019-03-04 10:50:14 -08:00
2016-05-09 12:00:02 +02:00
2018-10-31 08:54:16 -07:00
2018-06-24 09:26:01 -07:00
2018-08-31 11:49:20 -07:00
2019-02-19 12:46:03 -08:00
2019-02-04 10:56:41 -08:00
2018-10-31 08:54:16 -07:00
2018-12-03 13:42:38 -08:00