powerpc: use IRQF_NO_DEBUG for IPIs
PATCH 1/1 powerpc: use IRQF_NO_DEBUG for IPIs
There is no need to use the lockup detector ("noirqdebug") for IPIs. The ipistorm benchmark measures a ~10% improvement on high systems when this flag is set.
Cc Thomas Gleixner <[email protected]>
Signed-off-by Cédric Le Goater <[email protected]>
--- arch/powerpc/sysdev/xics/xics-common.c | 2 +- arch/powerpc/sysdev/xive/common.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
arch/powerpc/sysdev/xics/xics-common.c +1 -1
@@ -133,7 +133,7 @@ static void xics_request_ipi(void)* IPIs are marked IRQF_PERCPU. The handler was set in map. */ BUG_ON (request_irq (ipi, icp_ops->ipi_action, -IRQF_PERCPU |IRQF_NO_THREAD ,"IPI" ,NULL )); +IRQF_NO_DEBUG |IRQF_PERCPU |IRQF_NO_THREAD ,"IPI" ,NULL )); }void __init xics_smp_probe (void )
arch/powerpc/sysdev/xive/common.c +2 -1
@@ -1161,7 +1161,8 @@ static int __init xive_request_ipi(void)snprintf (xid->name,sizeof (xid->name),"IPI-%d" , node); ret =request_irq (xid->irq, xive_muxed_ipi_action, -IRQF_PERCPU |IRQF_NO_THREAD , xid->name,NULL ); +IRQF_NO_DEBUG |IRQF_PERCPU |IRQF_NO_THREAD , + xid->name,NULL );WARN (ret <0 ,"Failed to request IPI %d: %d\n" , xid->irq, ret); }
Signature · 1 line
2.31.1
Quoted 6 lines · Cédric Le Goater
There is no need to use the lockup detector ("noirqdebug") for IPIs. The ipistorm benchmark measures a ~10% improvement on high systems when this flag is set.
Cc Thomas Gleixner <[email protected]>Signed-off-by Cédric Le Goater <[email protected]>
Reviewed-by Thomas Gleixner <[email protected]>
Michael Ellerman
AppliedQuoted 3 lines · Cédric Le Goater
There is no need to use the lockup detector ("noirqdebug") for IPIs. The ipistorm benchmark measures a ~10% improvement on high systems when this flag is set.
Applied to powerpc/next.
[1/1] powerpc: use IRQF_NO_DEBUG for IPIs
https://git.kernel.org/powerpc/c/17df41fec5b80b16ea4774495f1eb730e2225619
cheers