1. 10 11月, 2008 1 次提交
  2. 21 10月, 2008 1 次提交
  3. 20 9月, 2008 1 次提交
    • P
      sh: Support kernel stacks smaller than a page. · c15c5f8c
      Paul Mundt 提交于
      This follows the powerpc commit f6a61680
      '[POWERPC] Fix kernel stack allocation alignment'.
      
      SH has traditionally forced the thread order to be relative to the page
      size, so there were never any situations where the same bug was
      triggered by slub. Regardless, the usage of > 8kB stacks for the larger
      page sizes is overkill, so we switch to using slab allocations there,
      as per the powerpc change.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      c15c5f8c
  4. 08 9月, 2008 3 次提交
  5. 27 7月, 2008 1 次提交
  6. 25 7月, 2008 1 次提交
  7. 28 4月, 2008 1 次提交
  8. 06 3月, 2008 1 次提交
  9. 14 2月, 2008 1 次提交
  10. 28 1月, 2008 4 次提交
  11. 17 10月, 2007 1 次提交
  12. 11 6月, 2007 1 次提交
  13. 08 6月, 2007 4 次提交
  14. 21 5月, 2007 2 次提交
  15. 09 5月, 2007 1 次提交
  16. 07 5月, 2007 1 次提交
  17. 13 2月, 2007 2 次提交
  18. 12 2月, 2007 1 次提交
  19. 12 12月, 2006 1 次提交
  20. 06 12月, 2006 4 次提交
    • P
      sh: Fixup various PAGE_SIZE == 4096 assumptions. · 510c72ad
      Paul Mundt 提交于
      There were a number of places that made evil PAGE_SIZE == 4k
      assumptions that ended up breaking when trying to play with
      8k and 64k page sizes, this fixes those up.
      
      The most significant change is the way we load THREAD_SIZE,
      previously this was done via:
      
      	mov	#(THREAD_SIZE >> 8), reg
      	shll8	reg
      
      to avoid a memory access and allow the immediate load. With
      a 64k PAGE_SIZE, we're out of range for the immediate load
      size without resorting to special instructions available in
      later ISAs (movi20s and so on). The "workaround" for this is
      to bump up the shift to 10 and insert a shll2, which gives a
      bit more flexibility while still being much cheaper than a
      memory access.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      510c72ad
    • S
      sh: pmd rework. · 99a596f9
      Stuart Menefy 提交于
      Remove extra bits from the pmd structure and store a kernel logical
      address rather than a physical address. This allows it to be directly
      dereferenced. Another piece of wierdness inherited from x86.
      Signed-off-by: NStuart Menefy <stuart.menefy@st.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      99a596f9
    • S
      sh: Use MMU.TTB register as pointer to current pgd. · 6e4662ff
      Stuart Menefy 提交于
      Add TTB accessor functions and give it a sensible default
      value. We will use this later for optimizing the fault
      path.
      Signed-off-by: NStuart Menefy <stuart.menefy@st.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      6e4662ff
    • P
      sh: Preliminary support for SH-X2 MMU. · 21440cf0
      Paul Mundt 提交于
      This adds some preliminary support for the SH-X2 MMU, used by
      newer SH-4A parts (particularly SH7785).
      
      This MMU implements a 'compat' mode with SH-X MMUs and an
      'extended' mode for SH-X2 extended features. Extended features
      include additional page sizes (8kB, 4MB, 64MB), as well as the
      addition of page execute permissions.
      
      The extended mode attributes are placed in a second data array,
      which requires us to switch to 64-bit PTEs when in X2 mode.
      
      With the addition of the exec perms, we also overhaul the mmap
      prots somewhat, now that it's possible to handle them more
      intelligently.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      21440cf0
  21. 27 9月, 2006 4 次提交
  22. 01 7月, 2006 1 次提交
  23. 22 3月, 2006 1 次提交
  24. 07 11月, 2005 1 次提交
    • P
      [PATCH] sh: Drop hp690 discontig support · 65463b73
      Paul Mundt 提交于
      There was only one board using this (hp690 specifically), and it just so
      happens that it's only physically discontiguous at the "normal" P1 offset.  If
      we bump up the P1 offset, it's possible to hit a shadowed region of memory
      where we suddenly become magically contiguous.
      
      As people have been using this shadowed region workaround for quite some time
      (and without any adverse effects), it's time to drop the left over discontig
      bits that no longer have any practical use (it was always very much
      hp690-centric to begin with).
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      65463b73