irqchip: atmel-aic: Add irq fixup infrastructure
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Jul 2014 18:25:39 +0000 (20:25 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 17 Jul 2014 13:38:51 +0000 (13:38 +0000)
commitb2f579b58e93ded5916fb69a28cfc86e0ab951a6
treec5d6a7d037994d2f0d416e3bc3d7689bc87d8ef4
parentb1479ebb772003461f0458a0b3a68cb1c4036288
irqchip: atmel-aic: Add irq fixup infrastructure

Add irq fixup infrastructure to handle IP blocks connected to shared irqs
that are left in an unknown state when booting the kernel.

In this case the IP block which has not masked its interrupt and has no
driver loaded (either because it is not compiled or because it is not
loaded yet) might generate spurious interrupts when another IP block
request the shared irq.

A good example of this case is the RTC block on which register configs are
kept even after a shutdown (if a proper VDDcore is supplied), and thus
might generate spurious interrupts when the platform is switched on.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Link: https://lkml.kernel.org/r/1405016741-2407-2-git-send-email-boris.brezillon@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-atmel-aic-common.c
drivers/irqchip/irq-atmel-aic-common.h
This page took 0.047052 seconds and 5 git commands to generate.