1. 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
  2. 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
  3. 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
  4. 11 Oct, 2007 8 commits
  5. 31 Jul, 2007 4 commits
  6. 24 Jul, 2007 1 commit
  7. 10 Jul, 2007 11 commits
  8. 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
  9. 09 May, 2007 1 commit
  10. 27 Apr, 2007 1 commit
  11. 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
  12. 24 Jan, 2007 1 commit
  13. 08 Dec, 2006 2 commits
  14. 29 Nov, 2006 1 commit
    • Atsushi Nemoto's avatar
      [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n · 656be92f
      Atsushi Nemoto authored
      
      
      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: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      656be92f
  15. 02 Nov, 2006 1 commit
  16. 11 Oct, 2006 1 commit
  17. 03 Oct, 2006 1 commit