1. 05 11月, 2012 1 次提交
  2. 27 10月, 2012 2 次提交
    • L
      ARM: integrator: get rid of preallocated irq descriptors · da72a66b
      Linus Walleij 提交于
      The Integrators were using the .nr_irqs field of the machine
      descriptor to pre-allocate a number of descriptors at boot. This
      is not right: the irq chip implementations should allocate
      their descriptors themselves, and as a result the simple
      irqdomain code warns about it.
      
      Get rid of this by just deleting the .nr_irq field from the
      machine descriptors but take care: doing so makes the default
      implementation hog the first 16 IRQ numbers, so these cannot
      be used by the still static IRQ number assignments in the
      ATAG boot case. So for these, bump the IRQ numbers to begin
      at 64 and upward.
      
      Introduce an offset to offset all IRQ numbers if need be,
      though we don't expect to do that again as device tree comes
      along.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      da72a66b
    • 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
  3. 21 10月, 2012 2 次提交
  4. 20 10月, 2012 35 次提交