1. 11 May, 2010 3 commits
    • Paul Mundt's avatar
      sh: Ensure active regions have a backing PMB entry. · 21823259
      Paul Mundt authored
      In the NUMA or memory hot-add case where system memory has been
      partitioned up, we immediately run in to a situation where the existing
      PMB entry doesn't cover the new range (primarily as a result of the entry
      size being shrunk to match the node size early in the initialization). In
      order to fix this up it's necessary to preload a PMB mapping for the new
      range prior to activation in order to circumvent reset by MMU.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      21823259
    • Paul Mundt's avatar
      sh: Reject small mappings for PMB bolting. · dfbca899
      Paul Mundt authored
      The minimum section size for the PMB is 16M, so just always error
      out early if the specified size is too small. This permits us to
      unconditionally call in to pmb_bolt_mapping() with variable sizes
      without wasting a TLB and cache flush for the range.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      dfbca899
    • Paul Mundt's avatar
      sh: bootmem refactoring. · 4bc277ac
      Paul Mundt authored
      This reworks much of the bootmem setup and initialization code allowing
      us to get rid of duplicate work between the NUMA and non-NUMA cases. The
      end result is that we end up with a much more flexible interface for
      supporting more complex topologies (fake NUMA, highmem, etc, etc.) which
      is entirely LMB backed. This is an incremental step for more NUMA work as
      well as gradually enabling migration off of bootmem entirely.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      4bc277ac
  2. 10 May, 2010 2 commits
    • Paul Mundt's avatar
      sh: rework memory limits to work with LMB. · 5e2ff328
      Paul Mundt authored
      This reworks the memory limit handling to tie in through the available
      LMB infrastructure. This requires a bit of reordering as we need to have
      all of the LMB reservations taken care of prior to establishing the
      limits.
      
      While we're at it, the crash kernel reservation semantics are reworked
      so that we allocate from the bottom up and reduce the risk of having
      to disable the memory limit due to a clash with the crash kernel
      reservation.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      5e2ff328
    • Paul Mundt's avatar
      sh: enable LMB region setup via machvec. · 19d8f84f
      Paul Mundt authored
      This plugs in a memory init callback in the machvec to permit boards to
      wire up various bits of memory directly in to LMB. A generic machvec
      implementation is provided that simply wraps around the normal
      Kconfig-derived memory start/size.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      19d8f84f
  3. 07 May, 2010 3 commits
  4. 06 May, 2010 1 commit
    • Paul Mundt's avatar
      sh: Make initrd detection more robust. · 9b7a3785
      Paul Mundt authored
      Various boot loaders go to various extents to thwart the initrd detection
      logic (mostly on account of not being able to be bothered with adhering
      to the established boot ABI), so we make the detection logic a bit more
      robust. This makes it possible to work around the SDK7786's firmware's
      attempts to thwart compressed image booting. Victory is mine.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      9b7a3785
  5. 29 Apr, 2010 2 commits
  6. 27 Apr, 2010 1 commit
  7. 26 Apr, 2010 20 commits
  8. 25 Apr, 2010 8 commits