18 Aug, 2014

1 commit


01 Jul, 2014

15 commits


29 Apr, 2014

1 commit

  • We are allocating the size of a pointer and not the size of the data.
    This will lead to memory corruption.

    There isn't actually a "cb_device" struct, btw. The code is only able
    to compile because GCC knows that all pointers are the same size.

    Fixes: 96ca848ef7ea ('DRIVERS: IRQCHIP: CROSSBAR: Add support for Crossbar IP')

    Signed-off-by: Dan Carpenter
    Acked-by: Sricharan R
    Cc: Grant Likely
    Cc: Rob Herring
    Link: http://lkml.kernel.org/r/20140403072134.GA14286@mwanda
    Signed-off-by: Thomas Gleixner

    Dan Carpenter
     

05 Feb, 2014

1 commit

  • Some socs have a large number of interrupts requests to service
    the needs of its many peripherals and subsystems. All of the
    interrupt lines from the subsystems are not needed at the same
    time, so they have to be muxed to the irq-controller appropriately.
    In such places a interrupt controllers are preceded by an CROSSBAR
    that provides flexibility in muxing the device requests to the controller
    inputs.

    This driver takes care a allocating a free irq and then configuring the
    crossbar IP as a part of the mpu's irqchip callbacks. crossbar_init should
    be called right before the irqchip_init, so that it is setup to handle the
    irqchip callbacks.

    Cc: Thomas Gleixner
    Cc: Linus Walleij
    Cc: Santosh Shilimkar
    Cc: Russell King
    Cc: Tony Lindgren
    Cc: Rajendra Nayak
    Cc: Marc Zyngier
    Cc: Grant Likely
    Cc: Rob Herring
    Signed-off-by: Sricharan R
    Acked-by: Kumar Gala (for DT binding portion)
    Acked-by: Santosh Shilimkar
    Acked-by: Linus Walleij
    Acked-by: Thomas Gleixner

    Sricharan R