arm64: kexec: only clear EOI for SDEI in NMI context
euler inclusion
category: bugfix
Bugzilla: 12567
CVE: N/A
----------------------------------------
We need to clear EOI for the secure timer only when we panic from
sdei_handler. If we clear EOI for the secure timer in normal panic
routiue, it has no bad effect on Hi1620, but it may cause undefine
behavior on Hi1616. So add a check for NMI context before we clear EOI
for the secure timer.
Fixes: dd397d5febc4("sdei_watchdog: clear EOI of the secure timer before
kdump")
Signed-off-by: NXiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: NWei Li <liwei391@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录