1. 22 6月, 2013 1 次提交
  2. 01 2月, 2013 1 次提交
  3. 29 12月, 2012 1 次提交
  4. 02 11月, 2009 1 次提交
  5. 04 8月, 2009 1 次提交
    • D
      MIPS: Avoid clobbering struct pt_regs in kthreads · 484889fc
      David Daney 提交于
      The resume() implementation octeon_switch.S examines the saved cp0_status
      register.  We were clobbering the entire pt_regs structure in kernel
      threads leading to random crashes.
      
      When switching away from a kernel thread, the saved cp0_status is examined
      and if bit 30 is set it is cleared and the CP2 state saved into the pt_regs
      structure.  Since the kernel thread stack overlaid the pt_regs structure
      this resulted in a corrupt stack.  When the kthread with the corrupt stack
      was resumed, it could crash if it used any of the data in the stack that was
      clobbered.
      
      We fix it by moving the kernel thread stack down so it doesn't overlay
      pt_regs.
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      484889fc
  6. 06 10月, 2008 1 次提交
  7. 12 3月, 2008 1 次提交
  8. 01 2月, 2008 1 次提交
    • R
      [MIPS] Fix build after b0rked changes to <linux/init.h>. · a055917e
      Ralf Baechle 提交于
      Commit 312b1485 made __INIT_REFOK expand
      into .section .section ".ref.text", "ax".  Since the assembler doesn't
      tolerate stuttering in the source that broke all MIPS builds.
      
      Since with this change Sam downgraded __INIT_REFOK the best fix is to
      get replace it by the modern days operator.  With MIPS the only user
      of __INIT_REFOK and __INITDATA_REFOK (which was equally broken) being
      unused anyway these can be deleted but that's subject of a separate
      commit.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      a055917e
  9. 07 1月, 2008 1 次提交
  10. 19 10月, 2007 1 次提交
  11. 18 10月, 2007 1 次提交
  12. 01 8月, 2007 1 次提交
  13. 24 7月, 2007 1 次提交
  14. 11 7月, 2007 2 次提交
  15. 07 2月, 2007 1 次提交
  16. 09 12月, 2006 1 次提交
  17. 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
  18. 02 11月, 2006 1 次提交
  19. 14 7月, 2006 1 次提交
  20. 01 7月, 2006 1 次提交
  21. 30 6月, 2006 1 次提交
  22. 19 4月, 2006 1 次提交
  23. 30 10月, 2005 5 次提交
  24. 05 9月, 2005 1 次提交
  25. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4