Skip to content

Commit 807e000

Browse files
legoaterFox Snowpatch
authored andcommitted
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]>
1 parent bcc9472 commit 807e000

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

arch/powerpc/sysdev/xics/xics-common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static void xics_request_ipi(void)
133133
* IPIs are marked IRQF_PERCPU. The handler was set in map.
134134
*/
135135
BUG_ON(request_irq(ipi, icp_ops->ipi_action,
136-
IRQF_PERCPU | IRQF_NO_THREAD, "IPI", NULL));
136+
IRQF_NO_DEBUG | IRQF_PERCPU | IRQF_NO_THREAD, "IPI", NULL));
137137
}
138138

139139
void __init xics_smp_probe(void)

arch/powerpc/sysdev/xive/common.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,8 @@ static int __init xive_request_ipi(void)
11611161
snprintf(xid->name, sizeof(xid->name), "IPI-%d", node);
11621162

11631163
ret = request_irq(xid->irq, xive_muxed_ipi_action,
1164-
IRQF_PERCPU | IRQF_NO_THREAD, xid->name, NULL);
1164+
IRQF_NO_DEBUG | IRQF_PERCPU | IRQF_NO_THREAD,
1165+
xid->name, NULL);
11651166

11661167
WARN(ret < 0, "Failed to request IPI %d: %d\n", xid->irq, ret);
11671168
}

0 commit comments

Comments
 (0)