diff options
author | Chong Qiao <qiaochong@loongson.cn> | 2019-03-28 02:08:01 +0300 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-03-28 21:35:58 +0300 |
commit | ab8a6d821179ab9bea1a9179f535ccba6330c1ed (patch) | |
tree | e9570b331de1ac69dc1f00e6d387be7b47a30e72 /scripts/gen_compile_commands.py | |
parent | 8c2ffd9174779014c3fe1f96d9dc3641d9175f00 (diff) | |
download | linux-ab8a6d821179ab9bea1a9179f535ccba6330c1ed.tar.xz |
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>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions