]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: amd-xgbe: disable interrupts during pci removal
authorRaju Rangoju <Raju.Rangoju@amd.com>
Wed, 9 Feb 2022 04:32:01 +0000 (10:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Feb 2022 11:51:46 +0000 (12:51 +0100)
commitecf0858f28ece12dede38e5ab334119e400a1017
tree3e0794cba65e569248f0858a7eab2b057465cad7
parent7b4ba5427c4ea716f73af01b0324209909822485
net: amd-xgbe: disable interrupts during pci removal

[ Upstream commit 68c2d6af1f1e469544d6cbe9a601d96fb9c00e7f ]

Hardware interrupts are enabled during the pci probe, however,
they are not disabled during pci removal.

Disable all hardware interrupts during pci removal to avoid any
issues.

Fixes: e75377404726 ("amd-xgbe: Update PCI support to use new IRQ functions")
Suggested-by: Selwin Sebastian <Selwin.Sebastian@amd.com>
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/amd/xgbe/xgbe-pci.c