Patch "amd-xgbe: Restore PCI interrupt enablement setting on resume" has been added to the 4.14-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
amd-xgbe: Restore PCI interrupt enablement setting on resume
to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
amd-xgbe-restore-pci-interrupt-enablement-setting-on-resume.patch
and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Tue Mar 6 19:02:12 PST 2018
From: Tom Lendacky <[email protected]>
Date: Tue, 20 Feb 2018 15:22:05 -0600
Subject: amd-xgbe: Restore PCI interrupt enablement setting on resume
From: Tom Lendacky <[email protected]>
[ Upstream commit cfd092f2db8b4b6727e1c03ef68a7842e1023573 ]
After resuming from suspend, the PCI device support must re-enable the interrupt setting so that interrupts are actually delivered.
--- drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ethernet/amd/xgbe/xgbe-pci.c +2 -0
@@ -426,6 +426,8 @@ static int xgbe_pci_resume(struct pci_destruct net_device *netdev = pdata->netdev;int ret =0 ; +XP_IOWRITE (pdata,XP_INT_EN ,0x1fffff ); + pdata->lpm_ctrl &= ~MDIO_CTRL1_LPOWER ;XMDIO_WRITE (pdata,MDIO_MMD_PCS ,MDIO_CTRL1 , pdata->lpm_ctrl);
Patches currently in stable-queue which might be from [email protected] are
queue-4.14/net-amd-xgbe-fix-comparison-to-bitshift-when-dealing-with-a-mask.patch queue-4.14/amd-xgbe-restore-pci-interrupt-enablement-setting-on-resume.patch