1. 20 10月, 2008 6 次提交
  2. 04 10月, 2008 1 次提交
    • P
      sh: More I/O routine overhauling. · 14866543
      Paul Mundt 提交于
      This tidies up a lot of the PIO/MMIO split. No in-tree platforms were
      making use of the MMIO overloading through the machvec (nor have any of
      them been in some time), so we just kill all of that off. The ISA I/O
      routine wrapping remains unaffected, which remains the only special
      casing outside of the iomap API that boards need to think about.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      14866543
  3. 02 10月, 2008 2 次提交
    • P
      Merge branch 'sh/g3-prep' · bc0f424f
      Paul Mundt 提交于
      bc0f424f
    • P
      serial: sh-sci: Dynamic clock management depends on HAVE_CLK. · a2159b52
      Paul Mundt 提交于
      Presently this is conditionalized on sh, and disabled for sh64.
      Now that SH-5 ties in to the clock framework, the sh64 exception
      can be dropped. Additionally, ARM will want to use the same hooks
      once SH-Mobile G3 grows clock framework support, so switch these
      paths over to HAVE_CLK now.
      
      Once the H8 and ARM sh-sci users hook up HAVE_CLK, the driver can
      be switched over to having an outright dependency on it and the
      ifdefs can go away.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      a2159b52
  4. 01 10月, 2008 5 次提交
  5. 29 9月, 2008 5 次提交
  6. 24 9月, 2008 2 次提交
  7. 21 9月, 2008 11 次提交
  8. 20 9月, 2008 2 次提交
    • 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
    • P
      sh: Disable 4kB stacks when using PAGE_SIZE_64KB. · b817f7e0
      Paul Mundt 提交于
      This combination triggers a divide by zero in kernel/fork.c when
      calculating the initial max_threads value:
      
      	max_threads = mempages / (8 * THREAD_SIZE / PAGE_SIZE);
      
      Simply disable 4K stacks on 64kB PAGE_SIZE to work around this,
      as it's not a terribly useful combination to begin with.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b817f7e0
  9. 17 9月, 2008 6 次提交