提交 0f261ede 编写于 作者: J Jiri Kosina 提交者: Tony Luck

[IA64] disable interrupts when exiting from ia64_mca_cmc_int_handler()

SAL specification mandates that ia64_mca_log_sal_error_record() gets
called with interrupts enabled, and that's why ia64_mca_cmc_int_handler()
is enabling them. It however forgets to re-disable them when exiting,
which triggers WARN_ON() in generic IRQ handler.

Disable the interrupts again before exiting. This is analogous to
a3967685 ("[IA64] disable interrupts at end of ia64_mca_cpe_int_handler()").
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
Signed-off-by: NTony Luck <tony.luck@intel.com>
上级 62aa2b53
......@@ -1447,6 +1447,8 @@ ia64_mca_cmc_int_handler(int cmc_irq, void *arg)
/* Get the CMC error record and log it */
ia64_mca_log_sal_error_record(SAL_INFO_TYPE_CMC);
local_irq_disable();
return IRQ_HANDLED;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册