1. 13 Feb, 2007 1 commit
  2. 11 Feb, 2007 1 commit
  3. 11 Dec, 2006 1 commit
  4. 06 Dec, 2006 4 commits
    • Paul Mundt's avatar
      sh: Fixup various PAGE_SIZE == 4096 assumptions. · 510c72ad
      Paul Mundt authored
      
      
      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: default avatarPaul Mundt <lethal@linux-sh.org>
      510c72ad
    • Stuart Menefy's avatar
      sh: pmd rework. · 99a596f9
      Stuart Menefy authored
      
      
      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: default avatarStuart Menefy <stuart.menefy@st.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      99a596f9
    • Stuart Menefy's avatar
      sh: Use MMU.TTB register as pointer to current pgd. · 6e4662ff
      Stuart Menefy authored
      
      
      Add TTB accessor functions and give it a sensible default
      value. We will use this later for optimizing the fault
      path.
      
      Signed-off-by: default avatarStuart Menefy <stuart.menefy@st.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      6e4662ff
    • Paul Mundt's avatar
      sh: Preliminary support for SH-X2 MMU. · 21440cf0
      Paul Mundt authored
      
      
      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: default avatarPaul Mundt <lethal@linux-sh.org>
      21440cf0
  5. 27 Sep, 2006 4 commits
  6. 30 Jun, 2006 1 commit
  7. 22 Mar, 2006 1 commit
  8. 07 Nov, 2005 1 commit
    • Paul Mundt's avatar
      [PATCH] sh: Drop hp690 discontig support · 65463b73
      Paul Mundt authored
      
      
      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: default avatarPaul Mundt <lethal@linux-sh.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      65463b73
  9. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      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