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: NSelwin Sebastian <Selwin.Sebastian@amd.com> Signed-off-by: NRaju Rangoju <Raju.Rangoju@amd.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NYu Liao <liaoyu15@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录