]> 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)
commit0be935ecebafcc7db5ddbd72bbd0494b877d4b7a
treedad3ae67cb9e503f63cb0abd9892a7b0b5322df8
parentc9384438eae575d67eebc79b5dc3d28648b56ac3
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: 868d1ced3f26 ("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