Commit 82552e86 authored by Wei Li's avatar Wei Li Committed by Yang Yingliang
Browse files

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: default avatarWei Li <liwei391@huawei.com>
Reviewed-by: default avatarHanjun Guo <guohanjun@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 76f43578
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment