On Sat, 20 Mar 2021 23:22:27 +1100, Michael Ellerman wrote:
call_do_irq() and call_do_softirq() are simple enough to be
worth inlining.
Inlining them avoids an mflr/mtlr pair plus a save/reload on stack. It
also allows GCC to keep the saved ksp_limit in an nonvolatile reg.
This is inspired from S390 arch. Several other arches do more or
less the same. The way sparc arch does seems odd thought.
Applied to powerpc/next.
[1/1] powerpc/irq: Inline call_do_irq() and call_do_softirq()
https://git.kernel.org/powerpc/c/48cf12d88969bd4238b8769767eb476970319d93
cheers