[PATCH V3 6/7] ARM: OMAP4+: Correct Wakeup-gen code to use physical irq number

Santosh Shilimkar santosh.shilimkar at ti.com
Wed Nov 13 10:29:41 EST 2013


On Tuesday 05 November 2013 08:14 AM, Sricharan R wrote:
> The wakeup gen mask/unmask callback uses the irq element of the
> irq_data to setup. The irq is the linux virtual irq number and
> is same as the hardware irq number only when the parent irqchip
> is setup as a legacy domain. When it is used as a linear domain,
> the virtual irqs are allocated dynamically and wakeup gen code
> cannot rely on these numbers to access the irq registers. Instead
> use the hwirq element of the irq_data which represent the physical
> irq number.
> 
> Cc: Santosh Shilimkar <santosh.shilimkar at ti.com>
> Cc: Rajendra Nayak <rnayak at ti.com>
> Cc: Tony Lindgren <tony at atomide.com>
> Signed-off-by: Sricharan R <r.sricharan at ti.com>
> ---
Acked-by: Santosh Shilimkar <santosh.shilimkar at ti.com>



More information about the linux-arm-kernel mailing list