kernel_samsung_a53x/drivers/net/ethernet/intel/i40e
Andrii Staikov 78ceaccd9f i40e: Restore VF MSI-X state during PCI reset
[ Upstream commit 371e576ff3e8580d91d49026e5d5faebf5565558 ]

During a PCI FLR the MSI-X Enable flag in the VF PCI MSI-X capability
register will be cleared. This can lead to issues when a VF is
assigned to a VM because in these cases the VF driver receives no
indication of the PF PCI error/reset and additionally it is incapable
of restoring the cleared flag in the hypervisor configuration space
without fully reinitializing the driver interrupt functionality.

Since the VF driver is unable to easily resolve this condition on its own,
restore the VF MSI-X flag during the PF PCI reset handling.

Fixes: 19b7960b2da1 ("i40e: implement split PCI error reset handler")
Co-developed-by: Karen Ostrowska <karen.ostrowska@intel.com>
Signed-off-by: Karen Ostrowska <karen.ostrowska@intel.com>
Co-developed-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Andrii Staikov <andrii.staikov@intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:12:07 +01:00
..
i40e.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_adminq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_adminq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_adminq_cmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_alloc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_client.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_common.c i40e: prevent crash on probe if hw registers have invalid values 2024-11-08 11:26:10 +01:00
i40e_dcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_dcb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_dcb_nl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_ddp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_devids.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_diag.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_diag.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_hmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_hmc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_lan_hmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_lan_hmc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_main.c i40e: Restore VF MSI-X state during PCI reset 2024-11-18 12:12:07 +01:00
i40e_nvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_osdep.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_prototype.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_register.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_status.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_txrx.c net: vlan: introduce skb_vlan_eth_hdr() 2024-11-18 12:11:48 +01:00
i40e_txrx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_txrx_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_type.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_virtchnl_pf.c i40e: Restore VF MSI-X state during PCI reset 2024-11-18 12:12:07 +01:00
i40e_virtchnl_pf.h i40e: Restore VF MSI-X state during PCI reset 2024-11-18 12:12:07 +01:00
i40e_xsk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e_xsk.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00