1. 09 6月, 2013 1 次提交
    • G
      irqchip: Return -EPERM for reserved IRQs · d94ea3f6
      Grant Likely 提交于
      The irqdomain core will report a log message for any attempted map call
      that fails unless the error code is -EPERM. This patch changes the
      Versatile irq controller drivers to use -EPERM because it is normal for
      a subset of the IRQ inputs to be marked as reserved on the various
      Versatile platforms.
      Signed-off-by: NGrant Likely <grant.likely@linaro.org>
      d94ea3f6
  2. 27 3月, 2013 1 次提交
  3. 01 12月, 2012 1 次提交
  4. 05 11月, 2012 1 次提交
  5. 27 10月, 2012 1 次提交
    • L
      ARM: plat-versatile: use simple irqdomain for FPGA IRQ · 3a6ca8c5
      Linus Walleij 提交于
      This switches the FPGA IRQ driver over to using the simple IRQ
      domain. We can then use the same codepath for this in the
      DT and non-DT cases.
      
      To be able to use quicker irq_find_mapping() in the handlers
      we first call irq_create_mapping() on all the valid HW IRQ
      numbers so that descriptors will be created for them in the
      DT case where a linear domain will be the outcome of the
      call.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      3a6ca8c5
  6. 18 9月, 2012 1 次提交
  7. 04 5月, 2012 1 次提交
    • L
      ARM: 7389/2: plat-versatile: modernize FPGA IRQ controller · 3108e6ab
      Linus Walleij 提交于
      This does two things to the FPGA IRQ controller in the versatile
      family:
      
      - Convert to MULTI_IRQ_HANDLER so we can drop the entry macro
        from the Integrator. The C IRQ handler was inspired from
        arch/arm/common/vic.c, recent bug discovered in this handler was
        accounted for.
      - Convert to using IRQ domains so we can get rid of the NO_IRQ
        mess and proceed with device tree and such stuff.
      
      As part of the exercise, bump all the low IRQ numbers on the
      Integrator PIC to start from 1 rather than 0, since IRQ 0 is
      now NO_IRQ. The Linux IRQ numbers are thus entirely decoupled
      from the hardware IRQ numbers in this controller.
      
      I was unable to split this patch. The main reason is the half-done
      conversion to device tree in Versatile.
      
      Tested on Integrator/AP and Integrator/CP.
      
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Acked-by: NRob Herring <rob.herring@calxeda.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      3108e6ab
  8. 29 3月, 2011 2 次提交
  9. 19 2月, 2011 1 次提交