]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: vmbus: Only notify Hyper-V for die events that are oops
authorMichael Kelley <mikelley@microsoft.com>
Thu, 6 Aug 2020 16:22:15 +0000 (09:22 -0700)
committerWei Liu <wei.liu@kernel.org>
Fri, 7 Aug 2020 13:49:37 +0000 (13:49 +0000)
commitebd5a6c6fd90b441f9f607b8ad479ce3547d3047
treedad3ae67cb9e503f63cb0abd9892a7b0b5322df8
parentae384c04209231c7192dde042def219ba590f0e6
Drivers: hv: vmbus: Only notify Hyper-V for die events that are oops

Hyper-V currently may be notified of a panic for any die event. But
this results in false panic notifications for various user space traps
that are die events. Fix this by ignoring die events that aren't oops.

Fixes: 6024bc975bd6 ("Drivers: hv: vmbus: prefer 'die' notification chain to 'panic'")
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/1596730935-11564-1-git-send-email-mikelley@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/vmbus_drv.c