1. 27 9月, 2006 4 次提交
    • P
      sh: Cleanup and document register bank usage. · f1517494
      Paul Mundt 提交于
      Initial register bank cleanup. Make SR.RB configurable, and add some
      preliminary documentation on register bank usage within the kernel.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      f1517494
    • P
      sh: Add control register barriers. · 29847622
      Paul Mundt 提交于
      Currently when making changes to control registers, we
      typically need some time for changes to take effect (8
      nops, generally).  However, for sh4a we simply need to
      do an icbi..
      
      This is a simple patch for implementing a general purpose
      ctrl_barrier() which functions as a control register write
      barrier. There's some additional documentation in the patch
      itself, but it's pretty self explanatory.
      
      There were also some places where we were not doing the
      barrier, which didn't seem to have any adverse effects on
      legacy parts, but certainly did on sh4a. It's safer to have
      the barrier in place for legacy parts as well in these cases,
      though this does make flush_tlb_all() more expensive (by an
      order of 8 nops).  We can ifdef around the flush_tlb_all()
      case for now if it's clear that all legacy parts won't have
      a problem with this.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      29847622
    • P
      sh: Support for SH-4A memory barriers. · fdfc74f9
      Paul Mundt 提交于
      SH-4A supports 'synco' as a barrier, sprinkle it around
      the cache ops as necessary..
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      fdfc74f9
    • T
      sh: Add a simple cmpxchg(). · e4e3b5cc
      Tom Rini 提交于
      We didn't have one of these before, a simple implementation
      borrowed from MIPS as well as the __HAVE_ARCH_CMPXCHG bits.
      Signed-off-by: NTom Rini <trini@kernel.crashing.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      e4e3b5cc
  2. 15 7月, 2006 1 次提交
    • S
      [PATCH] remove set_wmb - arch removal · 52393ccc
      Steven Rostedt 提交于
      set_wmb should not be used in the kernel because it just confuses the
      code more and has no benefit.  Since it is not currently used in the
      kernel this patch removes it so that new code does not include it.
      
      All archs define set_wmb(var, value) to do { var = value; wmb(); }
      while(0) except ia64 and sparc which use a mb() instead.  But this is
      still moot since it is not used anyway.
      
      Hasn't been tested on any archs but x86 and x86_64 (and only compiled
      tested)
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      52393ccc
  3. 04 7月, 2006 1 次提交
  4. 26 4月, 2006 1 次提交
  5. 13 1月, 2006 1 次提交
  6. 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