1. 27 2月, 2009 4 次提交
    • M
      sh: multiple vectors per irq - base · bdaa6e80
      Magnus Damm 提交于
      Instead of keeping the single vector -> single linux irq mapping
      we extend the intc code to support merging of vectors to a single
      linux irq. This helps processors such as sh7750, sh7780 and sh7785
      which have more vectors than masking ability. With this patch in
      place we can modify the intc tables to use one irq per maskable
      irq source. Please note the following:
      
       - If multiple vectors share the same enum then only the
         first vector will be available as a linux irq.
      
       - Drivers may need to be rewritten to get pending irq
         source from the hardware block instead of irq number.
      
      This patch together with the sh7785 specific intc tables solves
      DMA controller irq issues related to buggy interrupt masking.
      Reported-by: NYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      bdaa6e80
    • M
      rtc: sh-rtc: Add Single IRQ Support · 5e084a15
      Magnus Damm 提交于
      Add support for single IRQ hardware to the sh-rtc driver.
      
      This is useful for processors with limited interrupt masking
      support such as sh7750 and sh7780. With this patch in place we
      can add logic to the intc code that merges all RTC vectors into
      a single linux interrupt with proper masking/unmasking support.
      
      Specify a single IRQ in the platform data to use this new shared
      IRQ feature. Separate Periodic/Carry/Alarm IRQs are still supported.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      5e084a15
    • M
      serial: sh-sci: console drainage · 973e5d52
      Magnus Damm 提交于
      Modify the serial console code to wait for the transmit FIFO,
      make sure all bits have been put on the wire before returning.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      973e5d52
    • A
      sh: maple: Support block reads and writes. · b233b28e
      Adrian McMenamin 提交于
      This patch updates the maple bus to support asynchronous block reads
      and writes as well as generally improving the quality of the code and
      supporting concurrency (all needed to support the Dreamcast visual
      memory unit - a driver will also be posted for that).
      
      Changes in the bus driver necessitate some changes in the two maple bus
      input drivers that are currently in mainline.
      
      As well as supporting block reads and writes this code clean up removes
      some poor handling of locks, uses an atomic status variable to serialise
      access to devices and more robusly handles the general performance
      problems of the bus.
      Signed-off-by: NAdrian McMenamin <adrian@mcmen.demon.co.uk>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b233b28e
  2. 12 2月, 2009 11 次提交
  3. 11 2月, 2009 2 次提交
  4. 10 2月, 2009 23 次提交