1. 12 2月, 2013 1 次提交
  2. 31 3月, 2011 1 次提交
  3. 09 3月, 2011 2 次提交
    • M
      microblaze: Fix sparse warnings - cache.c · 954e8b95
      Michal Simek 提交于
      Warning log:
      CHECK   arch/microblaze/kernel/cpu/cache.c
      arch/microblaze/kernel/cpu/cache.c:522:21: warning: symbol 'wb_msr' was not declared. Should it be static?
      arch/microblaze/kernel/cpu/cache.c:538:21: warning: symbol 'wb_nomsr' was not declared. Should it be static?
      arch/microblaze/kernel/cpu/cache.c:554:21: warning: symbol 'wt_msr' was not declared. Should it be static?
      arch/microblaze/kernel/cpu/cache.c:569:21: warning: symbol 'wt_nomsr' was not declared. Should it be static?
      arch/microblaze/kernel/cpu/cache.c:585:21: warning: symbol 'wt_msr_noirq' was not declared. Should it be static?
      arch/microblaze/kernel/cpu/cache.c:600:21: warning: symbol 'wt_nomsr_noirq' was not declared. Should it be static?
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      954e8b95
    • M
      microblaze: Label MB 7.20.d as broken with WB cache · b9dc9e77
      Michal Simek 提交于
      MB version 7.20.d contains fault which is related with WB that's why
      error message will be shown.
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      b9dc9e77
  4. 13 5月, 2010 1 次提交
    • M
      microblaze: Remove compilation warnings in cache macro · ddfbc935
      Michal Simek 提交于
      CC      arch/microblaze/kernel/cpu/cache.o
      arch/microblaze/kernel/cpu/cache.c: In function '__invalidate_dcache_range_wb':
      arch/microblaze/kernel/cpu/cache.c:398: warning: ISO C90 forbids mixed declarations and code
      arch/microblaze/kernel/cpu/cache.c: In function '__flush_dcache_range_wb':
      arch/microblaze/kernel/cpu/cache.c:509: warning: ISO C90 forbids mixed declara
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      ddfbc935
  5. 06 5月, 2010 2 次提交
    • M
      microblaze: Optimize CACHE_LOOP_LIMITS and CACHE_RANGE_LOOP macros · 3274c570
      Michal Simek 提交于
      1. Remove CACHE_ALL_LOOP2 macro because it is identical to CACHE_ALL_LOOP
      2. Change BUG_ON to WARN_ON
      3. Remove end aligned from CACHE_LOOP_LIMITS.
      C implementation do not need aligned end address and ASM code do aligned
      in their macros
      4. ASM optimized  CACHE_RANGE_LOOP_1/2 macros needs to get aligned end address.
      Because end address is compound from start + size, end address is the first address
      which is exclude.
      
      Here is the corresponding code which describe it.
      +       int align = ~(line_length - 1);
      +       end = ((end & align) == end) ? end - line_length : end & align;
      
      a) end is aligned:
      it is necessary to subtruct line length because we don't want to work with
      next cacheline
      b) end address is not aligned:
      Just align it to be ready for ASM code.
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      3274c570
    • M
      microblaze: Fix typo fault in cache code · c17e1a1c
      Michal Simek 提交于
      Copy & paste error.
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      c17e1a1c
  6. 11 3月, 2010 3 次提交
  7. 24 2月, 2010 1 次提交
    • M
      microblaze: Fix cache loop function for cache range · 0d670b24
      Michal Simek 提交于
      I create wrong asm code but none test shows that this part of code is wrong.
      I am not convinces that were good idea to create asm optimized macros
      for caches. The reason is that there is not optimization with previous code
      that's why make sense to add old code and do some benchmarking which
      functions are faster.
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      0d670b24
  8. 14 12月, 2009 2 次提交
    • M
      microblaze: Support for WB cache · 2ee2ff87
      Michal Simek 提交于
      Microblaze version 7.20.d is the first MB version which can be run
      on MMU linux. Please do not used previous version because they contain
      HW bug.
      Based on WB support was necessary to redesign whole cache design.
      Microblaze versions from 7.20.a don't need to disable IRQ and cache
      before working with them that's why there are special structures for it.
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      2ee2ff87
    • M
      microblaze: Fix cache_line_lenght · 44e4e196
      Michal Simek 提交于
      We used cache_line as cache_line_lenght. For this reason
      we did cache flushing 4 times longer than was necessary.
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      44e4e196
  9. 23 4月, 2009 1 次提交
  10. 27 3月, 2009 1 次提交