x86/mce: Remove mce_report_event()
mainline inclusion from mainline-v5.1-rc1 commit 39f0584ee695 category: bugfix bugzilla: 14484 CVE: NA ------------------------------------------------- Calling this function has been wrong for a while now: * Can't call schedule_work() in #MC context. * mce_notify_irq() either. * None of that noodling is needed anymore - all it needs to do is kick the IRQ work which would self-IPI so that once the #MC handler is done, the work queue will run and process queued MCE records. So remove it. Reported-by: NPeter Zijlstra <peterz@infradead.org> Signed-off-by: NBorislav Petkov <bp@suse.de> Cc: Tony Luck <tony.luck@intel.com> Cc: x86@kernel.org Link: https://lkml.kernel.org/r/20190325172121.7926-1-bp@alien8.deSigned-off-by: NXiongfeng Wang <wangxiongfeng2@huawei.com> Reviewed-by: NYao Hongbo <yaohongbo@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录