1. 15 10月, 2012 1 次提交
  2. 20 8月, 2012 1 次提交
  3. 09 8月, 2012 1 次提交
    • P
      sh: intc: Handle domain association for sparseirq pre-allocated vectors. · 10260237
      Paul Mundt 提交于
      Presently it's assumed that the irqdomain code handles the irq_desc
      allocation for us, but this isn't necessarily the case when we've
      pre-allocated IRQs via sparseirq. Previously we had a -EEXIST check in
      the code that attempted to trap these cases and simply update them
      in-place, but this behaviour was inadvertently lost in the transition to
      irqdomains.
      
      This simply restores the previous behaviour, first attempting to let the
      irqdomain core fetch the allocation for us, and falling back to an
      in-place domain association in the extant IRQ case. Fixes up regressions
      on platforms that pre-allocate legacy IRQs (specifically ARM-based
      SH-Mobile platforms, as SH stopped pre-allocating vectors some time ago).
      Reported-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      10260237
  4. 01 8月, 2012 1 次提交
  5. 13 6月, 2012 1 次提交
  6. 24 5月, 2012 1 次提交
  7. 22 5月, 2012 1 次提交
    • P
      sh: intc: Kill off special reservation interface. · 5f19f14f
      Paul Mundt 提交于
      At present reserving the IRLs in the IRQ bitmap in addition to the
      dropping of the legacy IRQ pre-allocation prevent IRL IRQs from being
      allocated for the x3proto board.
      
      The only reason to permit reservations was to lock down possible hardware
      vectors prior to dynamic IRQ scanning, but this doesn't matter much given
      that the hardware controller configuration is sorted before we get around
      to doing any dynamic IRQ allocation anyways. Beyond that, all of the
      tables are __init annotated, so quite a bit more work would need to be
      done to support reconfiguring things like IRL controllers on the fly,
      much more than would ever make it worth the hassle.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      5f19f14f
  8. 28 3月, 2012 1 次提交
    • P
      sh: intc: Fix up section mismatch for intc_ack_data · b448d6ad
      Paul Mundt 提交于
      intc_ack_data is flagged as __init when it shouldn't be, causing section
      mismatches in non-init paths like intc_set_ack_handle():
      
      WARNING: drivers/built-in.o(.text+0x5d760):
      Section mismatch in reference from the function
      intc_set_ack_handle() to the function .init.text:intc_ack_data()
      The function intc_set_ack_handle()
      references the function __init intc_ack_data().
      This is often because intc_set_ack_handle lacks a __init
      annotation or the annotation of intc_ack_data is wrong.
      Reported-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b448d6ad
  9. 26 1月, 2012 1 次提交
  10. 24 1月, 2012 5 次提交
  11. 26 12月, 2011 1 次提交
  12. 22 12月, 2011 1 次提交
  13. 04 11月, 2011 1 次提交
  14. 01 11月, 2011 4 次提交
  15. 28 10月, 2011 2 次提交
  16. 21 7月, 2011 1 次提交
  17. 27 4月, 2011 1 次提交
  18. 30 3月, 2011 1 次提交
  19. 29 3月, 2011 2 次提交
  20. 23 3月, 2011 1 次提交
    • R
      sh: Use struct syscore_ops instead of sysdevs · a696b89c
      Rafael J. Wysocki 提交于
      Convert the SuperH clocks framework and shared interrupt handling
      code to using struct syscore_ops instead of a sysdev classes and
      sysdevs for power managment.
      
      This reduces the code size significantly and simplifies it.  The
      optimizations causing things not to be restored after creating a
      hibernation image are removed, but they might lead to undesirable
      effects during resume from hibernation (e.g. the clocks would be left
      as the boot kernel set them, which might be not the same way as the
      hibernated kernel had seen them before the hibernation).
      
      This also is necessary for removing sysdevs from the kernel entirely
      in the future.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      a696b89c
  21. 19 1月, 2011 1 次提交
  22. 24 12月, 2010 1 次提交
    • P
      sh: intc: Initialize radix tree gfp mask explicitly. · 30f2ba38
      Paul Mundt 提交于
      Presently the root node is initialized by way of kzalloc on the parent
      data structure, which by chance happens to do the bulk of what an
      explicit initialization does with GFP_NOWAIT semantics. This however is
      more by luck than by design, and as we ideally want to permit radix node
      allocations access to the emergency pools anyways, add in the proper
      initializer with the desired mask.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      30f2ba38
  23. 15 11月, 2010 1 次提交
  24. 02 11月, 2010 1 次提交
  25. 28 10月, 2010 1 次提交
  26. 27 10月, 2010 1 次提交
  27. 26 10月, 2010 2 次提交
  28. 06 10月, 2010 2 次提交
  29. 05 10月, 2010 1 次提交
    • P
      sh: intc: Split up the INTC code. · 2be6bb0c
      Paul Mundt 提交于
      This splits up the sh intc core in to something more vaguely resembling
      a subsystem. Most of the functionality was alread fairly well
      compartmentalized, and there were only a handful of interdependencies
      that needed to be resolved in the process.
      
      This also serves as future-proofing for the genirq and sparseirq rework,
      which will make some of the split out functionality wholly generic,
      allowing things to be killed off in place with minimal migration pain.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      2be6bb0c