1. 26 6月, 2013 1 次提交
  2. 11 6月, 2013 1 次提交
  3. 29 4月, 2013 1 次提交
    • A
      irqchip: s3c24xx: add missing __init annotations · bc8fd900
      Arnd Bergmann 提交于
      The s3c24xx_init_intc and s3c2412_init_irq functions are only called
      at init time, and they call functions already marked __init, so they
      should be marked in the same way. This was reported as
      
      WARNING: vmlinux.o(.text+0x19e0b4): Section mismatch in reference from the function s3c2412_init_irq() to the function .init.text:s3c24xx_init_intc.constprop.8()
      The function s3c2412_init_irq() references
      the function __init s3c24xx_init_intc.constprop.8().
      This is often because s3c2412_init_irq lacks a __init
      annotation or the annotation of s3c24xx_init_intc.constprop.8 is wrong.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NHeiko Stuebner <heiko@sntech.de>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      bc8fd900
  4. 20 4月, 2013 5 次提交
    • A
      irqchip: exynos: look up irq using irq_find_mapping · 20adee8f
      Arnd Bergmann 提交于
      Since we want to move to using the linear IRQ domain in the
      future, we cannot rely on the irq numbers to be contiguous
      and need to look up the irq from the hwirq using the domain.
      
      This also turns the bogus comparison with NR_IRQ into a
      more meaningful check to see if the number has a valid mapping.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      20adee8f
    • A
      irqchip: exynos: pass irq_base from platform · 863a08dc
      Arnd Bergmann 提交于
      The platform code knows the IRQ base, while the irqchip driver
      should really not. This is a littly hacky because we still
      hardwire the IRQ base to 160 for the combiner in the DT case,
      when we should really use -1. Removing that line will cause
      a linear IRQ domain to be use, as we should.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      863a08dc
    • A
      irqchip: exynos: localize irq lookup for ATAGS · 92c8e496
      Arnd Bergmann 提交于
      The IRQ_SPI() macro is not available in the driver when building with sparse
      IRQs or multiplatform, so let's move all users of this into one function
      that we can leave out when building DT-only.
      Signed-off-by: NArnd Bergmann <arnd@arnd.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      92c8e496
    • A
      irqchip: exynos: allocate combiner_data dynamically · d34f03d4
      Arnd Bergmann 提交于
      The number of combiners on a given SoC is a platform specific
      constant, and we cannot encode this number on a multiplatform
      kernel since the header file defining it is not available.
      
      Allocating the structure dynamically ends up cleaner anyway
      since we keep all the data local.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      d34f03d4
    • A
      irqchip: exynos: pass max combiner number to combiner_init · 6761dcfe
      Arnd Bergmann 提交于
      We can find out the number of combined IRQs from the device
      tree, but in case of ATAGS boot, the driver currently uses
      hardcoded values based on the SoC type. We can't do that
      in general for a multiplatform kernel, so let's instead pass
      this information from platform code directly in case of
      ATAGS boot.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      6761dcfe
  5. 16 4月, 2013 3 次提交
  6. 13 4月, 2013 1 次提交
  7. 09 4月, 2013 4 次提交
  8. 04 4月, 2013 7 次提交
  9. 03 4月, 2013 2 次提交
  10. 01 4月, 2013 1 次提交
  11. 28 3月, 2013 1 次提交
    • B
      irqchip: intc-irqpin: Add support for shared interrupt lines · 427cc720
      Bastian Hecht 提交于
      On some hardware we don't have a 1-1 mapping from the external
      interrupts coming from INTC to the GIC SPI pins. We can however
      share lines to demux incoming IRQs on these SoCs.
      
      This patch enables the intc_irqpin driver to detect requests for shared
      interrupt lines and demuxes them properly by querying the INTC INTREQx0A
      registers.
      
      If you need multiple shared intc_irqpin device instances, be sure to mask
      out all interrupts on the INTC that share the one line before you start
      to register them. Else you run into IRQ floods that would be caused by
      interrupts for which no handler has been set up yet when the first
      intc_irqpin device is registered.
      Signed-off-by: NBastian Hecht <hechtb+renesas@gmail.com>
      Acked-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      427cc720
  12. 27 3月, 2013 6 次提交
  13. 25 3月, 2013 1 次提交
    • A
      ARM: sirf: move irq driver to drivers/irqchip · 60dbd768
      Arnd Bergmann 提交于
      This updates the irqchip drier for prima2 to the current practices by
      moving it into drivers/irqchip and integrating it into the irqchip_init
      infrastructure. We also now use a linear irq domain as a preparation
      for sparse IRQ suport.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      60dbd768
  14. 18 3月, 2013 6 次提交