arm64: fix calling nmi_enter() repeatedly when IPI_CPU_CRASH_STOP
hulk inclusion
category: bugfix
bugzilla: 28145
CVE: NA
-------------------------------------------------
The nmi_enter() may has been called in el1_irq. When processing
IPI_CPU_CRASH_STOP in handle_IPI(), don't call nmi_enter() again if
interrupt is disabled (already in NMI context).
Fixes: e753aae7e448 ("arm64: Fix interrupt tracing in the presence of NMIs")
Signed-off-by: NWei Li <liwei391@huawei.com>
Reviewed-by: NHanjun Guo <guohanjun@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录