Skip to contentSkip to conversation

ARM: Use IRQF_NODELAY for XScale oprofile interrupt

PATCH Applied Kevin Hilman 2 participants 2 messages Oct 9, 2006 – Oct 18, 2006 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: Use IRQF_NODELAY for XScale oprofile interrupt

Convert XScale performance monitor unit (PMU) interrupt used by oprofile to IRQF_NODELAY. PMU results not useful if ISR is run as thread.

arch/arm/oprofile/op_model_xscale.c +2 -1
Index: dev/arch/arm/oprofile/op_model_xscale.c
===================================================================
@@ -383,8 +383,9 @@ static int xscale_pmu_start(void)
 {
 	int ret;
 	u32 pmnc = read_pmnc();
+	int irq_flags = IRQF_DISABLED | IRQF_NODELAY;
 
-	ret = request_irq(XSCALE_PMU_IRQ, xscale_pmu_interrupt, IRQF_DISABLED,
+	ret = request_irq(XSCALE_PMU_IRQ, xscale_pmu_interrupt, irq_flags,
 			"XScale PMU", (void *)results);
 
 	if (ret < 0) {

--

Applied
#1 lore raw
Quoted 3 lines · Kevin Hilman

Convert XScale performance monitor unit (PMU) interrupt used by oprofile to IRQF_NODELAY. PMU results not useful if ISR is run as thread.

thanks, applied.

Ingo