1. 29 Jan, 2008 4 commits
    • Ralf Baechle's avatar
      [MIPS] Altas, Malta: Switch boot file format to raw. · fa71c960
      Ralf Baechle authored
      
      
      A raw binary boots about twice as fast as SREC.
      
      The possibility to generate SREC binaries remains by simply using the
      vmlinux.srec target but seems only useful for the probably hypothetical
      case where one of these systems is booted over a serial interface.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      fa71c960
    • Thomas Bogendoerfer's avatar
      [MIPS] RM: Collected changes · 231a35d3
      Thomas Bogendoerfer authored
      
      
      - EISA support for non PCI RMs (RM200 and RM400-xxx). The major part
        is the splitting of the EISA and onboard ISA of the RM200, which
        makes the EISA bus on the RM200 look like on other RMs.
      - 64bit kernel support
      - system type detection is now common for big and little endian
      - moved sniprom code to arch/mips/fw
      - added call_o32 function to arch/mips/fw/lib, which uses a private
        stack for calling prom functions
      - fix problem with ISA interrupts, which makes using PIT clockevent
        possible
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      231a35d3
    • Thomas Bogendoerfer's avatar
      [MIPS] IP28 support · e2defae5
      Thomas Bogendoerfer authored
      
      
      Add support for SGI IP28 machines (Indigo 2 with R10k CPUs)
      This work is mainly based on Peter Fuersts work.
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      e2defae5
    • Maciej W. Rozycki's avatar
      [MIPS] R4000/R4400 errata workarounds · 20d60d99
      Maciej W. Rozycki authored
      
      
       This is the gereric part of R4000/R4400 errata workarounds.  They include 
      compiler and assembler support as well as some source code modifications 
      to address the problems with some combinations of multiply/divide+shift 
      instructions as well as the daddi and daddiu instructions.
      
       Changes included are as follows:
      
      1. New Kconfig options to select workarounds by platforms as necessary.
      
      2. Arch top-level Makefile to pass necessary options to the compiler; also 
         incompatible configurations are detected (-mno-sym32 unsupported as 
         horribly intrusive for little gain).
      
      3. Bug detection updated and shuffled -- the multiply/divide+shift problem 
         is lethal enough that if not worked around it makes the kernel crash in 
         time_init() because of a division by zero; the daddiu erratum might 
         also trigger early potentially, though I have not observed it.  On the 
         other hand the daddi detection code requires the exception subsystem to 
         have been initialised (and is there mainly for information).
      
      4. r4k_daddiu_bug() added so that the existence of the erratum can be 
         queried by code at the run time as necessary; useful for generated code 
         like TLB fault and copy/clear page handlers.
      
      5. __udelay() updated as it uses multiplication in inline assembly.
      
       Note that -mdaddi requires modified toolchain (which has been maintained 
      by myself and available from my site for ~4years now -- versions covered 
      are GCC 2.95.4 - 4.1.2 and binutils from 2.13 onwards).  The -mfix-r4000 
      and -mfix-r4400 have been standard for a while though.
      Signed-off-by: default avatarMaciej W. Rozycki <macro@linux-mips.org>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      20d60d99
  2. 15 Nov, 2007 1 commit
  3. 22 Oct, 2007 1 commit
  4. 17 Oct, 2007 1 commit
    • Maciej W. Rozycki's avatar
      lk201: remove obsolete driver · 44a2db43
      Maciej W. Rozycki authored
      
      
      Remove the old-fashioned lk201 driver under drivers/tc/ that used to be
      used by the old dz.c and zs.c drivers, which is now orphan code referred to
      from nowhere and does not build anymore.  A modern replacement is available
      as drivers/input/keyboard/lkkbd.c.
      
      There are no plans to do anything about this piece of code and it does not
      fit anywhere anymore, so it is not just a matter of maintenance or the lack
      of.  There are still some bits that might be added to the new lkkbd.c
      driver based on the old code, and the embedded hardware documentation which
      is otherwise quite hard to get hold of might be useful to keep too.  Both
      of these can be done separately though.  RIP.
      Signed-off-by: default avatarMaciej W. Rozycki <macro@linux-mips.org>
      Acked-by: default avatarRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      44a2db43
  5. 15 Oct, 2007 1 commit
    • Sam Ravnborg's avatar
      kbuild: enable 'make AFLAGS=...' to add additional options to AS · 222d394d
      Sam Ravnborg authored
      
      
      The variable AFLAGS is a wellknown variable and the usage by
      kbuild may result in unexpected behaviour.
      On top of that several people over time has asked for a way to
      pass in additional flags to gcc.
      
      This patch replace use of AFLAGS with KBUILD_AFLAGS all over
      the tree.
      
      Patch was tested on following architectures:
      alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      222d394d
  6. 14 Oct, 2007 1 commit
    • Sam Ravnborg's avatar
      kbuild: enable 'make CFLAGS=...' to add additional options to CC · a0f97e06
      Sam Ravnborg authored
      
      
      The variable CFLAGS is a wellknown variable and the usage by
      kbuild may result in unexpected behaviour.
      On top of that several people over time has asked for a way to
      pass in additional flags to gcc.
      
      This patch replace use of CFLAGS with KBUILD_CFLAGS all over the
      tree and enabling one to use:
      make CFLAGS=...
      to specify additional gcc commandline options.
      
      One usecase is when trying to find gcc bugs but other
      use cases has been requested too.
      
      Patch was tested on following architectures:
      alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k
      
      Test was simple to do a defconfig build, apply the patch and check
      that nothing got rebuild.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      a0f97e06
  7. 11 Oct, 2007 8 commits
  8. 31 Jul, 2007 4 commits
  9. 24 Jul, 2007 1 commit
  10. 10 Jul, 2007 11 commits
  11. 11 May, 2007 3 commits
    • Atsushi Nemoto's avatar
      [MIPS] Run checksyscalls for N32 and O32 ABI · fcbee641
      Atsushi Nemoto authored
      
      
      On 64-bit MIPS, only N64 ABI is checked by default.  This patch adds
      some rules for other ABIs.  This results in these warnings at the
      moment:
      
        CALL-N32 /home/git/linux-mips/scripts/checksyscalls.sh
      <stdin>:148:2: warning: #warning syscall time not implemented
      <stdin>:424:2: warning: #warning syscall select not implemented
      <stdin>:440:2: warning: #warning syscall uselib not implemented
      <stdin>:856:2: warning: #warning syscall vfork not implemented
      <stdin>:868:2: warning: #warning syscall truncate64 not implemented
      <stdin>:872:2: warning: #warning syscall ftruncate64 not implemented
      <stdin>:876:2: warning: #warning syscall stat64 not implemented
      <stdin>:880:2: warning: #warning syscall lstat64 not implemented
      <stdin>:884:2: warning: #warning syscall fstat64 not implemented
      <stdin>:980:2: warning: #warning syscall getdents64 not implemented
      <stdin>:1176:2: warning: #warning syscall fadvise64_64 not implemented
      <stdin>:1284:2: warning: #warning syscall fstatat64 not implemented
      <stdin>:1364:2: warning: #warning syscall utimensat not implemented
        CALL-O32 /home/git/linux-mips/scripts/checksyscalls.sh
      <stdin>:424:2: warning: #warning syscall select not implemented
      <stdin>:856:2: warning: #warning syscall vfork not implemented
      <stdin>:1176:2: warning: #warning syscall fadvise64_64 not implemented
      <stdin>:1364:2: warning: #warning syscall utimensat not implemented
        CALL    /home/git/linux-mips/scripts/checksyscalls.sh
      <stdin>:148:2: warning: #warning syscall time not implemented
      <stdin>:424:2: warning: #warning syscall select not implemented
      <stdin>:440:2: warning: #warning syscall uselib not implemented
      <stdin>:856:2: warning: #warning syscall vfork not implemented
      <stdin>:980:2: warning: #warning syscall getdents64 not implemented
      <stdin>:1364:2: warning: #warning syscall utimensat not implemented
      Signed-off-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      fcbee641
    • Franck Bui-Huu's avatar
      [MIPS] Remove Momenco Jaguar ATX support · bef964e5
      Franck Bui-Huu authored
      
      
      It has some hackish code and it odd DMA results in the need to support
      old features in kernel code.
      Signed-off-by: default avatarFranck Bui-Huu <fbuihuu@gmail.com>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      bef964e5
    • Franck Bui-Huu's avatar
      1e54f778
  12. 09 May, 2007 1 commit
  13. 27 Apr, 2007 1 commit
  14. 21 Feb, 2007 1 commit
    • Franck Bui-Huu's avatar
      [MIPS] Add basic SMARTMIPS ASE support · 9693a853
      Franck Bui-Huu authored
      
      
      This patch adds trivial support for SMARTMIPS extension. This extension
      is currently implemented by 4KS[CD] CPUs.
      
      Basically it saves/restores ACX register, which is part of the SMARTMIPS
      ASE, when needed. This patch does *not* add any support for Smartmips MMU
      features.
      
      Futhermore this patch does not add explicit support for 4KS[CD] CPUs since
      they are respectively mips32 and mips32r2 compliant.  So with the current
      processor configuration, a platform that has such CPUs needs to select
      both configs:
      
      	CPU_HAS_SMARTMIPS
      	SYS_HAS_CPU_MIPS32_R[12]
      
      This is due to the processor configuration which is mixing up all the
      architecture variants and the processor types.
      
      The drawback of this, is that we currently pass '-march=mips32' option to
      gcc when building a kernel instead of '-march=4ksc' for 4KSC case. This
      can lead to a kernel image a little bit bigger than required.
      Signed-off-by: default avatarFranck Bui-Huu <fbuihuu@gmail.com>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      9693a853
  15. 24 Jan, 2007 1 commit