1. 29 1月, 2008 4 次提交
    • R
      [MIPS] Altas, Malta: Switch boot file format to raw. · fa71c960
      Ralf Baechle 提交于
      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: NRalf Baechle <ralf@linux-mips.org>
      fa71c960
    • T
      [MIPS] RM: Collected changes · 231a35d3
      Thomas Bogendoerfer 提交于
      - 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: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      231a35d3
    • T
      [MIPS] IP28 support · e2defae5
      Thomas Bogendoerfer 提交于
      Add support for SGI IP28 machines (Indigo 2 with R10k CPUs)
      This work is mainly based on Peter Fuersts work.
      Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      e2defae5
    • M
      [MIPS] R4000/R4400 errata workarounds · 20d60d99
      Maciej W. Rozycki 提交于
       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: NMaciej W. Rozycki <macro@linux-mips.org>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      20d60d99
  2. 16 11月, 2007 1 次提交
  3. 23 10月, 2007 1 次提交
  4. 17 10月, 2007 1 次提交
  5. 16 10月, 2007 1 次提交
    • S
      kbuild: enable 'make AFLAGS=...' to add additional options to AS · 222d394d
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      222d394d
  6. 15 10月, 2007 1 次提交
    • S
      kbuild: enable 'make CFLAGS=...' to add additional options to CC · a0f97e06
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      a0f97e06
  7. 12 10月, 2007 8 次提交
  8. 01 8月, 2007 4 次提交
  9. 24 7月, 2007 1 次提交
  10. 11 7月, 2007 11 次提交
  11. 11 5月, 2007 3 次提交
    • A
      [MIPS] Run checksyscalls for N32 and O32 ABI · fcbee641
      Atsushi Nemoto 提交于
      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: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      fcbee641
    • F
      [MIPS] Remove Momenco Jaguar ATX support · bef964e5
      Franck Bui-Huu 提交于
      It has some hackish code and it odd DMA results in the need to support
      old features in kernel code.
      Signed-off-by: NFranck Bui-Huu <fbuihuu@gmail.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      bef964e5
    • F
      [MIPS] Remove Momenco Ocelot G support · 1e54f778
      Franck Bui-Huu 提交于
      Signed-off-by: NFranck Bui-Huu <fbuihuu@gmail.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      1e54f778
  12. 09 5月, 2007 1 次提交
  13. 27 4月, 2007 1 次提交
  14. 22 2月, 2007 1 次提交
    • F
      [MIPS] Add basic SMARTMIPS ASE support · 9693a853
      Franck Bui-Huu 提交于
      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: NFranck Bui-Huu <fbuihuu@gmail.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      9693a853
  15. 25 1月, 2007 1 次提交