1. 28 6月, 2013 1 次提交
  2. 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
  3. 09 4月, 2013 2 次提交
  4. 27 3月, 2013 1 次提交
  5. 13 2月, 2013 1 次提交