]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Handle simultaneous interrupts at once
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 16 Mar 2017 08:55:45 +0000 (09:55 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 2 Jun 2017 09:20:44 +0000 (19:20 +1000)
commit57c3e96898a6db34c6b4f6382dbad53d3f89b53d
treee2bcbc9d4375cfa58ea53996b93443021870dd5d
parent36da7a04e78f0ab5056cb37ae9019d364eb00860
powerpc: Handle simultaneous interrupts at once

It often happens to have simultaneous interrupts, for instance
when having double Ethernet attachment. With the current
implementation, we suffer the cost of kernel entry/exit for each
interrupt.

This patch introduces a loop in __do_irq() to handle all interrupts
at once before returning.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/irq.c