[PATCHv2 1/3] arm64: Mark PMU interrupt IRQF_NO_THREAD

Sebastian Andrzej Siewior bigeasy at linutronix.de
Thu May 14 08:39:37 PDT 2015


* Anders Roxell | 2015-04-27 22:53:08 [+0200]:

>Mark the PMU interrupts as non-threadable, as is the case with
>arch/arm: d9c3365 ARM: 7813/1: Mark pmu interupt IRQF_NO_THREAD
>
>Suggested-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
>Signed-off-by: Anders Roxell <anders.roxell at linaro.org>
Acked-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>

Could this please go via the arm64 tree?

>---
> arch/arm64/kernel/perf_event.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel/perf_event.c
>index aa29ecb..70dcde6 100644
>--- a/arch/arm64/kernel/perf_event.c
>+++ b/arch/arm64/kernel/perf_event.c
>@@ -461,7 +461,7 @@ armpmu_reserve_hardware(struct arm_pmu *armpmu)
> 			}
> 
> 			err = request_irq(irq, armpmu->handle_irq,
>-					IRQF_NOBALANCING,
>+					IRQF_NOBALANCING | IRQF_NO_THREAD,
> 					"arm-pmu", armpmu);
> 			if (err) {
> 				pr_err("unable to request IRQ%d for ARM PMU counters\n",

Sebastian



More information about the linux-arm-kernel mailing list