aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2023-11-30 12:50:45 +0000
committerMichael Ellerman <[email protected]>2024-03-03 11:20:29 +0000
commit4eb20bf34ea296f648971a8528e32cd80efcbe89 (patch)
treeef530697adb634bd75f8e322d9ba9a325ba31b9c /drivers/usb/cdns3/cdns3-pci-wrap.c
parentpowerpc: Stop using of_root (diff)
downloadkernel-4eb20bf34ea296f648971a8528e32cd80efcbe89.tar.gz
kernel-4eb20bf34ea296f648971a8528e32cd80efcbe89.zip
powerpc/irq: Allow softirq to hardirq stack transition
Allow a transition from the softirq stack to the hardirq stack when handling a hardirq. Doing so means a hardirq received while deep in softirq processing is less likely to cause a stack overflow of the softirq stack. Previously it wasn't safe to do so because irq_exit() (which initiates softirq processing) was called on the hardirq stack. That was changed in commit 1b1b6a6f4cc0 ("powerpc: handle irq_enter/ irq_exit in interrupt handler wrappers") and 1346d00e1bdf ("powerpc: Don't select HAVE_IRQ_EXIT_ON_IRQ_STACK"). The allowed transitions are now: - process stack -> hardirq stack - process stack -> softirq stack - process stack -> softirq stack -> hardirq stack Reviewed-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions