1. 14 5月, 2012 1 次提交
  2. 12 5月, 2012 3 次提交
  3. 02 2月, 2012 1 次提交
  4. 28 12月, 2011 1 次提交
  5. 04 12月, 2011 1 次提交
  6. 21 10月, 2011 3 次提交
  7. 04 8月, 2011 1 次提交
  8. 03 8月, 2011 3 次提交
  9. 28 7月, 2011 1 次提交
  10. 27 7月, 2011 1 次提交
  11. 12 5月, 2011 1 次提交
  12. 22 4月, 2011 1 次提交
  13. 09 2月, 2011 1 次提交
  14. 27 1月, 2011 1 次提交
  15. 19 8月, 2010 2 次提交
  16. 18 8月, 2010 1 次提交
    • D
      sparc64: Make rwsems 64-bit. · 9b3bb86a
      David S. Miller 提交于
      Basically tip-off the powerpc code, use a 64-bit type and atomic64_t
      interfaces for the implementation.
      
      This gets us off of the by-hand asm code I wrote, which frankly I
      think probably ruins I-cache hit rates.
      
      The idea was the keep the call chains less deep, but anything taking
      the rw-semaphores probably is also calling other stuff and therefore
      already has allocated a stack-frame.  So no real stack frame savings
      ever.
      
      Ben H. has posted patches to make powerpc use 64-bit too and with some
      abstractions we can probably use a shared header file somewhere.
      
      With suggestions from Sam Ravnborg.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9b3bb86a
  17. 14 4月, 2010 1 次提交
  18. 13 4月, 2010 4 次提交
  19. 11 12月, 2009 2 次提交
  20. 09 12月, 2009 1 次提交
  21. 27 11月, 2009 1 次提交
  22. 07 11月, 2009 1 次提交
  23. 30 5月, 2009 1 次提交
  24. 09 2月, 2009 2 次提交
    • D
      sparc64: Fix probe_kernel_{read,write}(). · aeb39876
      David S. Miller 提交于
      This is based upon a report from Chris Torek and his initial patch.
      From Chris's report:
      
      --------------------
      This came up in testing kgdb, using the built-in tests -- turn
      on CONFIG_KGDB_TESTS, then
      
          echo V1 > /sys/module/kgdbts/parameters/kgdbts
      
      -- but it would affect using kgdb if you were debugging and looking
      at bad pointers.
      --------------------
      
      When we get a copy_{from,to}_user() request and the %asi is set to
      something other than ASI_AIUS (which is userspace) then we branch off
      to a routine called memcpy_user_stub().  It just does a straight
      memcpy since we are copying from kernel to kernel in this case.
      
      The logic was that since source and destination are both kernel
      pointers we don't need to have exception checks.
      
      But for what probe_kernel_{read,write}() is trying to do, we have to
      have the checks, otherwise things like kgdb bad kernel pointer
      accesses don't do the right thing.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      aeb39876
    • D
      sparc64: Kill .fixup section bloat. · 40bdac7d
      David S. Miller 提交于
      This is an implementation of a suggestion made by Chris Torek:
      --------------------
      Something else I noticed in passing: the EX and EX_LD/EX_ST macros
      scattered throughout the various .S files make a fair bit of .fixup
      code, all of which does the same thing.  At the cost of one symbol
      in copy_in_user.S, you could just have one common two-instruction
      retl-and-mov-1 fixup that they all share.
      --------------------
      
      The following is with a defconfig build:
      
         text	   data	    bss	    dec	    hex	filename
      3972767	 344024	 584449	4901240	 4ac978	vmlinux.orig
      39688877	 344024	 584449	4897360	 4aba50	vmlinux
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      40bdac7d
  25. 18 1月, 2009 1 次提交
    • S
      sparc64: fix modpost failure · 62dfcd33
      Sam Ravnborg 提交于
      Previously PeeCeeI.o was a library but it
      was always pulled in due to insw and friends being exported
      (at least for a modular kernel).
      
      But this resulted in modpost failures if there where no in-kernel
      users because then insw & friends were not linked in.
      
      Fix this by including PeeCeeI.o in the kernel unconditionally.
      
      The only drawback for this solution is that a nonmodular kernel
      will always include insw & friends no matter if they are in use or not.
      Reported-by: NMeelis Roos <mroos@linux.ee>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      62dfcd33
  26. 09 1月, 2009 2 次提交
  27. 09 12月, 2008 1 次提交