1. 05 3月, 2007 1 次提交
  2. 13 2月, 2007 2 次提交
    • P
      sh: Missing flush_dcache_all() proto in cacheflush.h. · fe828917
      Paul Mundt 提交于
      Some boards need this, so provide a definition.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      fe828917
    • P
      sh: Lazy dcache writeback optimizations. · 26b7a78c
      Paul Mundt 提交于
      This converts the lazy dcache handling to the model described in
      Documentation/cachetlb.txt and drops the ptep_get_and_clear() hacks
      used for the aliasing dcaches on SH-4 and SH7705 in 32kB mode. As a
      bonus, this slightly cuts down on the cache flushing frequency.
      
      With that and the PTEA handling out of the way, the update_mmu_cache()
      implementations can be consolidated, and we no longer have to worry
      about which configuration the cache is in for the SH7705 case.
      
      And finally, explicitly disable the lazy writeback on SMP (SH-4A).
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      26b7a78c
  3. 14 12月, 2006 1 次提交
  4. 27 9月, 2006 3 次提交
    • P
      sh: Calculate shm alignment at runtime. · f3c25758
      Paul Mundt 提交于
      Set the SHM alignment at runtime, based off of probed cache desc.
      Optimize get_unmapped_area() to only colour align shared mappings.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      f3c25758
    • P
      sh: page table alloc cleanups and page fault optimizations. · 26ff6c11
      Paul Mundt 提交于
      Cleanup of page table allocators, using generic folded PMD and PUD
      helpers. TLB flushing operations are moved to a more sensible spot.
      
      The page fault handler is also optimized slightly, we no longer waste
      cycles on IRQ disabling for flushing of the page from the ITLB, since
      we're already under CLI protection by the initial exception handler.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      26ff6c11
    • P
      sh: Fix fatal oops in copy_user_page() on sh4a (SH7780). · 8b395265
      Paul Mundt 提交于
      We had a pretty interesting oops happening, where copy_user_page()
      was down()'ing p3map_sem[] with a bogus offset (particularly, an
      offset that hadn't been initialized with sema_init(), due to the
      mismatch between cpu_data->dcache.n_aliases and what was assumed
      based off of the old CACHE_ALIAS value).
      
      Luckily, spinlock debugging caught this for us, and so we drop
      the old hardcoded CACHE_ALIAS for sh4 completely and rely on the
      run-time probed cpu_data->dcache.alias_mask. This in turn gets
      the p3map_sem[] index right, and everything works again.
      
      While we're at it, also convert to 4-level page tables..
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      8b395265
  5. 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