06 Jun, 2015

1 commit


22 May, 2015

1 commit

  • If no_irq_chip is used for wake up (e.g. gpio-keys with a simple GPIO
    controller), the following warning is printed on resume from s2ram:

    WANING: CPU: 0 PID: 1046 at kernel/irq/manage.c:537 irq_set_irq_wake+0x9c/0xf8()
    Unbalanced IRQ 113 wake disable

    This happens because no_irq_chip does not implement
    irq_chip.irq_set_wake(), causing set_irq_wake_real() to return -ENXIO,
    and irq_set_irq_wake() to reset the wake_depth to zero.

    Set IRQCHIP_SKIP_SET_WAKE to indicate that irq_chip.irq_set_wake() is
    not implemented.

    Cfr. commit 10a50f1ab5f06c9a ("genirq: Set IRQCHIP_SKIP_SET_WAKE flag
    for dummy_irq_chip").

    Signed-off-by: Geert Uytterhoeven
    Cc: Roger Quadros
    Cc: Gregory Clement
    Link: http://lkml.kernel.org/r/1432281529-23325-1-git-send-email-geert%2Brenesas@glider.be
    Signed-off-by: Thomas Gleixner

    Geert Uytterhoeven
     

25 Apr, 2015

1 commit

  • Without this system suspend is broken on systems that have
    drivers calling enable/disable_irq_wake() for interrupts based off
    the dummy irq hook. (e.g. drivers/gpio/gpio-pcf857x.c)

    Signed-off-by: Roger Quadros
    Cc:
    Cc:
    Cc:
    Cc: Gregory Clement
    Link: http://lkml.kernel.org/r/552E1DD3.4040106@ti.com
    Signed-off-by: Thomas Gleixner

    Roger Quadros
     

21 Aug, 2012

1 commit

  • Export dummy_irq_chip to modules to allow them to do things such as

    irq_set_chip_and_handler(virq,
    &dummy_irq_chip,
    handle_level_irq);
    This fixes

    ERROR: "dummy_irq_chip" [drivers/gpio/gpio-pcf857x.ko] undefined!

    when gpio-pcf857x.c is being built as a module.

    Signed-off-by: Kuninori Morimoto
    Cc: Linus Walleij
    Cc: Stephen Rothwell
    Cc: Greg KH
    Link: http://lkml.kernel.org/r/871ujstrp6.wl%25kuninori.morimoto.gx@renesas.com
    Signed-off-by: Thomas Gleixner

    Kuninori Morimoto
     

29 Mar, 2011

1 commit


13 Oct, 2010

1 commit


12 Oct, 2010

1 commit

  • kernel/irq/handle.c has become a dumpground for random code in random
    order. Split out the irq descriptor management and the dummy irq_chip
    implementation into separate files. Cleanup the include maze while at
    it.

    No code change.

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Ingo Molnar

    Thomas Gleixner