1. 07 10月, 2010 1 次提交
    • P
      sh: Fix up the SH-3 build. · 06c7a489
      Paul Mundt 提交于
      SH-3 lacks an MMUCR_TI definition for global TLB flushes. As SH-3 parts
      lack a split TLB, the same global flush behaviour is accomplished
      through the flush bit, which just happens to be the same as on SH-4.
      
      This fixes up the build for all SH-3 MMU parts.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      06c7a489
  2. 02 3月, 2010 1 次提交
  3. 08 2月, 2010 1 次提交
  4. 26 1月, 2010 1 次提交
    • P
      sh: Mass ctrl_in/outX to __raw_read/writeX conversion. · 9d56dd3b
      Paul Mundt 提交于
      The old ctrl in/out routines are non-portable and unsuitable for
      cross-platform use. While drivers/sh has already been sanitized, there
      is still quite a lot of code that is not. This converts the arch/sh/ bits
      over, which permits us to flag the routines as deprecated whilst still
      building with -Werror for the architecture code, and to ensure that
      future users are not added.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      9d56dd3b
  5. 05 1月, 2010 1 次提交
  6. 15 8月, 2009 5 次提交
  7. 22 7月, 2009 1 次提交
    • P
      sh: Migrate from PG_mapped to PG_dcache_dirty. · 2277ab4a
      Paul Mundt 提交于
      This inverts the delayed dcache flush a bit to be more in line with other
      platforms. At the same time this also gives us the ability to do some
      more optimizations and cleanup. Now that the update_mmu_cache() callsite
      only tests for the bit, the implementation can gradually be split out and
      made generic, rather than relying on special implementations for each of
      the peculiar CPU types.
      
      SH7705 in 32kB mode and SH-4 still need slightly different handling, but
      this is something that can remain isolated in the varying page copy/clear
      routines. On top of that, SH-X3 is dcache coherent, so there is no need
      to bother with any of these tests in the PTEAEX version of
      update_mmu_cache(), so we kill that off too.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      2277ab4a
  8. 12 5月, 2009 1 次提交
    • M
      sh: remove old TMU driver · f19900b2
      Magnus Damm 提交于
      This patch removes the old TMU driver (CONFIG_SH_TMU/timer-tmu.c)
      
      As replacement, select the sh_tmu driver with CONFIG_SH_TIMER_TMU
      and configure timer channel using platform data.
      
      If multiple TMU channels are enabled using platform data, use the
      earlytimer parameter on the kernel command line to select channel.
      For instance, use "earlytimer=sh_tmu.0" to select the first channel.
      
      To verify which timer is being used, look at printouts or the timer
      irq count in /proc/interrupts.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      f19900b2
  9. 10 3月, 2009 1 次提交
  10. 22 12月, 2008 1 次提交
  11. 20 10月, 2008 1 次提交
  12. 11 8月, 2008 1 次提交
    • A
      fix SH7705_CACHE_32KB compilation · 7265706c
      Adrian Bunk 提交于
      This patches compile errors like the following caused by
      commit 51f3547d
      (sh: Allow SH-3 and SH-5 to use common headers):
      
      <--  snip  -->
      
      ...
        CC      arch/sh/mm/init.o
      /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/init.c: In function 'mem_init':
      /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/init.c:232: error: implicit declaration of function 'p3_cache_init'
      make[2]: *** [arch/sh/mm/init.o] Error 1
      make[1]: *** [arch/sh/mm] Error 2
      ...
        CC      kernel/fork.o
      /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c: In function 'dup_mmap':
      /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c:323: error: implicit declaration of function 'flush_dcache_mmap_lock'
      /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c:325: error: implicit declaration of function 'flush_dcache_mmap_unlock'
      make[2]: *** [kernel/fork.o] Error 1
      
      <--  snip  -->
      Reported-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      7265706c
  13. 29 7月, 2008 2 次提交