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)
commit608a973bd52ef1705941b18f55e39655fcfe9cdb
treedad3ae67cb9e503f63cb0abd9892a7b0b5322df8
parentbcf876870b95592b52519ed4aafcf9d95999bc9c
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: 510f7aef65bb ("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