Files
linux/drivers
Alok Prasad 6da95b52b8 net: qed: fixes crash while running driver in kdump kernel
This fixes a crash introduced by recent is_kdump_kernel() check.
The source of the crash is that kdump kernel can be loaded on a
system with already created VFs. But for such VFs, it will follow
a logic path of PF and eventually crash.

Thus, we are partially reverting back previous changes and instead
use is_kdump_kernel is a single init point of PF init, where we
disable SRIOV explicitly.

Fixes: 37d4f8a6b4 ("net: qed: Disable SRIOV functionality inside kdump kernel")
Cc: Bhupesh Sharma <bhsharma@redhat.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-05 13:20:16 -07:00
..
2020-03-23 07:59:38 +01:00
2020-03-09 11:12:19 +01:00
2020-05-04 10:13:42 -06:00
2020-04-16 13:52:31 -07:00
2020-03-19 23:04:32 -05:00
2020-06-02 10:59:10 -07:00
2020-04-17 06:05:29 -04:00
2020-05-28 11:11:45 -07:00
2020-03-19 07:41:03 +01:00
2020-05-06 15:49:24 +03:00