1. 10 1月, 2016 1 次提交
  2. 15 1月, 2015 1 次提交
  3. 13 1月, 2015 1 次提交
  4. 11 1月, 2015 1 次提交
  5. 20 11月, 2014 2 次提交
  6. 14 9月, 2014 1 次提交
    • G
      m68k/atari - stram: Add missing #include <linux/ioport.h> · 9aa59cac
      Geert Uytterhoeven 提交于
      If CONFIG_BLOCK=n:
      
      arch/m68k/atari/stram.c:44: error: variable ‘stram_pool’ has initializer but incomplete type
      arch/m68k/atari/stram.c:45: error: unknown field ‘name’ specified in initializer
      arch/m68k/atari/stram.c:46: warning: excess elements in struct initializer
      arch/m68k/atari/stram.c:46: warning: (near initialization for ‘stram_pool’)
      arch/m68k/atari/stram.c: In function ‘atari_stram_reserve_pages’:
      arch/m68k/atari/stram.c:97: error: invalid use of undefined type ‘struct resource’
      ...
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      9aa59cac
  7. 27 5月, 2014 1 次提交
    • M
      m68k/atari - stram: alloc ST-RAM pool even if kernel not in ST-RAM · fded332b
      Michael Schmitz 提交于
      With the kernel loaded to FastRAM (TT-RAM), none of the ST-RAM
      address range is mapped by init_mem, and ST-RAM is not accessible
      through the normal allocation pathways as a result.
      
      Implement ST-RAM pool allocation to be based on physical addresses
      always (it already was when the kernel was loaded in ST-RAM).
      Return kernel virtual addresses as per normal.
      
      The current test for the kernel residing in ST-RAM always returns
      true. Use the bootinfo memory chunk order instead - with the kernel
      in FastRAM, ST-RAM (phys. 0x0) is not the first chunk.
      
      In case the kernel is running from FastRAM, delay mapping of ST-RAM
      pool until after mem_init.
      
      Provide helper functions for those users of ST-RAM that need
      to be aware of the backing physical addresses.
      
      Kudos to Geert for his hints on getting this started.
      Signed-off-by: NMichael Schmitz <schmitz@debian.org>
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      fded332b
  8. 20 3月, 2014 1 次提交
  9. 13 1月, 2014 1 次提交
    • M
      m68k/irq - Use polled IRQ flag for MFP timer cascaded interrupts · a0b7b242
      Michael Schmitz 提交于
      Some Atari hardware has no capacity to raise interrupts (e.g.
      network or USB adapter hardware attached via ROM port). The driver
      interrupt routine is called from a timer interrupt (timer D) in
      these cases, using chained device specific pseudo interrupts
      (IRQ_MFP_TIMER1 ff.)
      
      These interrupts will more often than not, return IRQ_NONE as
      there is not always work for the device handler when called.
      Too many unhandled interrupts will result in the interrupt
      being disabled by the stuck interrupt watchdog.
      
      As preferred option to flag interrupts as needing exclusion
      from the watchdog mechanism, tglx added the IRQ_IS_POLLED flag
      for use in such a case. Currently, two interrupts need to use
      this flag. Add more users as needed.
      Signed-off-by: NMichael Schmitz <schmitz@debian.org>
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      a0b7b242
  10. 08 12月, 2013 1 次提交
    • G
      m68k/amiga,atari: Fix specifying multiple debug= parameters · 8a09cec2
      Geert Uytterhoeven 提交于
      Since commit d6713b40 ("m68k: early
      parameter support"), the user can specify multiple debug consoles using the
      "debug=" kernel command line parameter.
      However, as there's only a single struct console object, which is reused,
      it would actually register the same console object multiple times, causing
      the following warning:
      
      WARNING: CPU: 0 PID: 0 at kernel/printk/printk.c:2233 register_console+0x36/
      console 'debug0' already registered
      
      Make sure to register the console object only once, to avoid the warning.
      
      Note that still only one console (the one corresponding to the last
      "debug=" parameter) will be active at the same time, as the .write() method
      of the already registered console object is overwritten by a subsequent
      "debug=" parameter.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      8a09cec2
  11. 26 11月, 2013 2 次提交
  12. 17 4月, 2013 5 次提交
  13. 25 12月, 2012 1 次提交
  14. 23 4月, 2012 1 次提交
  15. 29 3月, 2012 1 次提交
  16. 22 1月, 2012 1 次提交
  17. 11 12月, 2011 1 次提交
  18. 09 11月, 2011 5 次提交
  19. 01 11月, 2011 1 次提交
  20. 31 7月, 2011 1 次提交
    • M
      m68k/atari: Reserve some ST-RAM early on for device buffer use · 217bbd81
      Michael Schmitz 提交于
      Based on an original patch from Michael Schmitz:
      
      Because mem_init() is now called before device init, devices that rely on
      ST-RAM may find all ST-RAM already allocated to other users by the time
      device init happens. In particular, a large initrd RAM disk may use up
      enough of ST-RAM to cause atari_stram_alloc() to resort to
      __get_dma_pages() allocation.
      
      In the current state of Atari memory management, all of RAM is marked
      DMA capable, so __get_dma_pages() may well return RAM that is not in actual
      fact DMA capable. Using this for frame buffer or SCSI DMA buffer causes
      subtle failure.
      
      The ST-RAM allocator has been changed to allocate memory from a pool of
      reserved ST-RAM of configurable size, set aside on ST-RAM init (i.e.
      before mem_init()). As long as this pool is not exhausted, allocation of
      real ST-RAM can be guaranteed.
      
      Other changes:
        - Replace the custom allocator in the ST-RAM pool by the existing allocator
          in the resource subsystem,
        - Remove mem_init_done and its hook, as memory init is now done before
          device init,
        - Remove /proc/stram, as ST-RAM usage now shows up under /proc/iomem, e.g.
      
      	005f2000-006f1fff : ST-RAM Pool
      	  005f2000-0063dfff : atafb
      	  0063e000-00641fff : ataflop
      	  00642000-00642fff : SCSI
      Signed-off-by: NMichael Schmitz <schmitz@debian.org>
      [Andreas Schwab <schwab@linux-m68k.org>: Use memparse()]
      [Geert: Use the resource subsystem instead of a custom allocator]
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      217bbd81
  21. 20 5月, 2011 2 次提交
  22. 31 3月, 2011 1 次提交
  23. 23 1月, 2011 1 次提交
    • G
      m68k/atari: Rename "scc" to "atari_scc" · de339e4b
      Geert Uytterhoeven 提交于
      It's a way too generic name for a global #define and conflicts with a variable
      with the same name, causing build errors like:
      
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c: In function ‘_si_clkctl_cc’:
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1364: error: expected identifier or ‘(’ before ‘volatile’
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1364: error: expected ‘)’ before ‘(’ token
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1421: error: incompatible types in assignment
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1422: error: invalid operands to binary &
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1423: error: invalid operands to binary &
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1424: error: invalid operands to binary |
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: incompatible type for argument 4 of ‘bcmsdh_reg_write’
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1428: error: invalid operands to binary &
      | make[8]: *** [drivers/staging/brcm80211/brcmfmac/../util/siutils.o] Error 1
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      de339e4b
  24. 09 2月, 2010 1 次提交
  25. 23 2月, 2009 1 次提交
  26. 13 1月, 2009 2 次提交
  27. 23 10月, 2008 2 次提交