linux_dsm_epyc7002/drivers/net/ethernet/broadcom/bnx2x
Yuval Mintz d9aee591b0 bnx2x: Don't release PCI bars on shutdown
The bnx2x driver in its pci shutdown() callback releases its pci bars (in the
same manner it does during its pci remove() callback).
During a system reboot while VFs are enabled, its possible for the VF's remove
to be called (as a result of pci_disable_sriov()) after its shutdown callback
has already finished running; This will cause a paging request fault as the VF
tries to access the pci bar which it has previously released, crashing the
system.

This patch further differentiates the shutdown and remove callbacks, preventing the
pci release procedures from being called during shutdown.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-15 16:48:34 -08:00
..
bnx2x_cmn.c net: core: explicitly select a txq before doing l2 forwarding 2014-01-10 13:23:08 -05:00
bnx2x_cmn.h net: core: explicitly select a txq before doing l2 forwarding 2014-01-10 13:23:08 -05:00
bnx2x_dcb.c bnx2x: Prevent "timeout waiting for state X" 2013-11-18 15:45:44 -05:00
bnx2x_dcb.h bnx2x: Change DCB context handling 2013-08-20 00:21:47 -07:00
bnx2x_dump.h bnx2x: Revise comments and alignment 2013-06-02 21:36:47 -07:00
bnx2x_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-10-23 16:49:34 -04:00
bnx2x_fw_defs.h bnx2x, bnx2fc: Use per port max exchange resources 2013-04-25 04:06:46 -04:00
bnx2x_fw_file_hdr.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_hsi.h bnx2x: Add support for EXTPHY2 LED mode 2013-09-28 15:24:03 -07:00
bnx2x_init_ops.h bnx2x: Remove many sparse warnings 2013-01-23 13:58:29 -05:00
bnx2x_init.h bnx2x: Don't pretend during register dump 2013-10-21 18:31:36 -04:00
bnx2x_link.c bnx2x: Fix KR2 work-around detection of BCM8073 2014-01-01 22:09:48 -05:00
bnx2x_link.h bnx2x: Support reading I2C EEPROM SFF8472 2013-03-27 12:48:32 -04:00
bnx2x_main.c bnx2x: Don't release PCI bars on shutdown 2014-01-15 16:48:34 -08:00
bnx2x_mfw_req.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_reg.h bnx2x: Fix 578xx-KR 1G link 2014-01-01 22:09:47 -05:00
bnx2x_sp.c bnx2x: fix VLAN configuration for VFs. 2014-01-05 20:22:33 -05:00
bnx2x_sp.h bnx2x: fix VLAN configuration for VFs. 2014-01-05 20:22:33 -05:00
bnx2x_sriov.c bnx2x: fix VLAN configuration for VFs. 2014-01-05 20:22:33 -05:00
bnx2x_sriov.h bnx2x: fix VLAN configuration for VFs. 2014-01-05 20:22:33 -05:00
bnx2x_stats.c bnx2x: Lock DMAE when used by statistic flow 2013-10-21 18:31:35 -04:00
bnx2x_stats.h bnx2x: Fix VF stats sync 2013-08-27 22:03:04 -04:00
bnx2x_vfpf.c bnx2x: fix VLAN configuration for VFs. 2014-01-05 20:22:33 -05:00
bnx2x_vfpf.h bnx2x: Add ndo_get_phys_port_id support 2013-10-09 14:55:13 -04:00
bnx2x.h bnx2x: prevent WARN during driver unload 2014-01-09 21:46:06 -05:00
Makefile bnx2x: Segregate SR-IOV code 2013-01-07 19:49:14 -08:00