1. 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
  2. 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
  3. 12 10月, 2007 8 次提交
  4. 01 8月, 2007 4 次提交
  5. 24 7月, 2007 1 次提交
  6. 11 7月, 2007 11 次提交
  7. 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
  8. 09 5月, 2007 1 次提交
  9. 27 4月, 2007 1 次提交
  10. 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
  11. 25 1月, 2007 1 次提交
  12. 09 12月, 2006 2 次提交
  13. 30 11月, 2006 1 次提交
    • A
      [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n · 656be92f
      Atsushi Nemoto 提交于
      This is a patch to load 64-bit modules to CKSEG0 so that can be
      compiled with -msym32 option.  This makes each module ~10% smaller.
      
      * introduce MODULE_START and MODULE_END
      * custom module_alloc()
      * PGD for modules
      * change XTLB refill handler synthesizer
      * enable -msym32 for modules again
        (revert ca78b1a5c6a6e70e052d3ea253828e49b5d07c8a)
      
      New XTLB refill handler looks like this:
      
      80000080 dmfc0   k0,C0_BADVADDR
      80000084 bltz    k0,800000e4			# goto l_module_alloc
      80000088 lui     k1,0x8046			# %high(pgd_current)
      8000008c ld      k1,24600(k1)			# %low(pgd_current)
      80000090 dsrl    k0,k0,0x1b			# l_vmalloc_done:
      80000094 andi    k0,k0,0x1ff8
      80000098 daddu   k1,k1,k0
      8000009c dmfc0   k0,C0_BADVADDR
      800000a0 ld      k1,0(k1)
      800000a4 dsrl    k0,k0,0x12
      800000a8 andi    k0,k0,0xff8
      800000ac daddu   k1,k1,k0
      800000b0 dmfc0   k0,C0_XCONTEXT
      800000b4 ld      k1,0(k1)
      800000b8 andi    k0,k0,0xff0
      800000bc daddu   k1,k1,k0
      800000c0 ld      k0,0(k1)
      800000c4 ld      k1,8(k1)
      800000c8 dsrl    k0,k0,0x6
      800000cc mtc0    k0,C0_ENTRYLO0
      800000d0 dsrl    k1,k1,0x6
      800000d4 mtc0    k1,C0_ENTRYL01
      800000d8 nop
      800000dc tlbwr
      800000e0 eret
      800000e4 dsll    k1,k0,0x2			# l_module_alloc:
      800000e8 bgez    k1,80000008			# goto l_vmalloc
      800000ec lui     k1,0xc000
      800000f0 dsubu   k0,k0,k1
      800000f4 lui     k1,0x8046			# %high(module_pg_dir)
      800000f8 beq     zero,zero,80000000
      800000fc nop
      80000000 beq     zero,zero,80000090		# goto l_vmalloc_done
      80000004 daddiu  k1,k1,0x4000
      80000008 dsll32  k1,k1,0x0			# l_vmalloc:
      8000000c dsubu   k0,k0,k1
      80000010 beq     zero,zero,80000090		# goto l_vmalloc_done
      80000014 lui     k1,0x8046			# %high(swapper_pg_dir)
      Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      656be92f
  14. 03 11月, 2006 1 次提交
  15. 12 10月, 2006 1 次提交
  16. 04 10月, 2006 1 次提交
  17. 27 9月, 2006 1 次提交