ARM: footbridge: fix PCI interrupt mapping
stable inclusion from stable-v4.19.189 commit 2643da6aa57920d9159a1a579fb04f89a2b0d29a category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I944W0 CVE: CVE-2021-46909 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2643da6aa57920d9159a1a579fb04f89a2b0d29a -------------------------------- commit 30e3b4f2 upstream Since commit 30fdfb92 ("PCI: Add a call to pci_assign_irq() in pci_device_probe()"), the PCI code will call the IRQ mapping function whenever a PCI driver is probed. If these are marked as __init, this causes an oops if a PCI driver is loaded or bound after the kernel has initialised. Fixes: 30fdfb92 ("PCI: Add a call to pci_assign_irq() in pci_device_probe()") Signed-off-by:Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by:
Sasha Levin <sashal@kernel.org> conflicts: arch/arm/mach-footbridge/personal-pci.c Signed-off-by:
Huang Xiaojia <huangxiaojia2@huawei.com>
Loading
Please sign in to comment