Commit d9c66676 authored by Raju Rangoju's avatar Raju Rangoju Committed by Zheng Zengkai
Browse files

net: amd-xgbe: disable interrupts during pci removal

stable inclusion
from stable-v5.10.101
commit ff6c9e0fcee5481b491aab49d55660a59ead1a81
bugzilla: https://gitee.com/openeuler/kernel/issues/I5669Z

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ff6c9e0fcee5481b491aab49d55660a59ead1a81



--------------------------------

[ Upstream commit 68c2d6af ]

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: e7537740 ("amd-xgbe: Update PCI support to use new IRQ functions")
Suggested-by: default avatarSelwin Sebastian <Selwin.Sebastian@amd.com>
Signed-off-by: default avatarRaju Rangoju <Raju.Rangoju@amd.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent b3638130
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment