1. 04 3月, 2010 2 次提交
    • P
      sh: Fix up flush_cache_vmap() on SMP. · b07f6b32
      Paul Mundt 提交于
      flush_cache_all() uses broadcast IPIs, so we can't wrap in to that when
      IRQs are disabled. The local cache flush manages to do what we need here
      anyways, so just switch to that.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b07f6b32
    • P
      sh: fix up MMU reset with variable PMB mapping sizes. · 281983d6
      Paul Mundt 提交于
      Presently we run in to issues with the MMU resetting the CPU when
      variable sized mappings are employed. This takes a slightly more
      aggressive approach to keeping the TLB and cache state sane before
      establishing the mappings in order to cut down on races observed on
      SMP configurations.
      
      At the same time, we bump the VMA range up to the 0xb000...0xc000 range,
      as there still seems to be some undocumented behaviour in setting up
      variable mappings in the 0xa000...0xb000 range, resulting in reset by the
      TLB.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      281983d6
  2. 03 3月, 2010 2 次提交
  3. 02 3月, 2010 36 次提交