1. 18 Jan, 2010 5 commits
    • Paul Mundt's avatar
      sh: Handle early ioremaps through fixed mappings. · d9b9487a
      Paul Mundt authored
      This adds in a mem_init_done to work out when a standard ioremap() is
      possible, falling back to the fixmap based ioremap otherwise.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      d9b9487a
    • Paul Mundt's avatar
      Merge branch 'sh/stable-updates' · 0c54de14
      Paul Mundt authored
      0c54de14
    • Paul Mundt's avatar
      Merge branch 'sh/ioremap-fixed' · 8faba612
      Paul Mundt authored
      8faba612
    • Paul Mundt's avatar
      sh: Need IRQs enabled for init_fpu(). · 4291b730
      Paul Mundt authored
      This tosses in a local_irq_enable()/disable() pair around the init_fpu()
      callsite in the FPU state restore exception handler. Fixes up a slab BUG
      triggered by making a slab cache allocation that can sleep whilst
      irqs_disabled(). This follows the behaviour undertaken by the x86
      implementation.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      4291b730
    • Matt Fleming's avatar
      sh: Setup early PMB mappings. · 3d467676
      Matt Fleming authored
      More and more boards are going to start shipping that boot with the MMU
      in 32BIT mode by default. Previously we relied on the bootloader to
      setup PMB mappings for use by the kernel but we also need to cater for
      boards whose bootloaders don't set them up.
      
      If CONFIG_PMB_LEGACY is not enabled we have full control over our PMB
      mappings and can compress our address space. Usually, the distance
      between the the cached and uncached mappings of RAM is always 512MB,
      however we can compress the distance to be the amount of RAM on the
      board.
      
      pmb_init() now becomes much simpler. It no longer has to calculate any
      mappings, it just has to synchronise the software PMB table with the
      hardware.
      
      Tested on SDK7786 and SH7785LCR.
      Signed-off-by: default avatarMatt Fleming <matt@console-pimps.org>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      3d467676
  2. 17 Jan, 2010 3 commits
  3. 16 Jan, 2010 32 commits