Commit 66b0580b authored by Sumit Garg's avatar Sumit Garg Committed by Ruan Jinjie
Browse files

kgdb: Expose default CPUs roundup fallback mechanism

maillist inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7R4EN
CVE: NA
Reference: https://www.spinics.net/lists/arm-kernel/msg851005.html



-------------------------------------------------

Add a new API kgdb_smp_call_nmi_hook() to expose default CPUs roundup
mechanism to a particular archichecture as a runtime fallback if it
detects to not support NMI roundup.

Currently such an architecture example is arm64 supporting pseudo NMIs
feature which is only available on platforms which have support for GICv3
or later version.

Signed-off-by: default avatarSumit Garg <sumit.garg@linaro.org>
Signed-off-by: default avatarWei Li <liwei391@huawei.com>
Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Signed-off-by: default avatarRuan Jinjie <ruanjinjie@huawei.com>
parent 868092cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment