1. 11 5月, 2010 1 次提交
    • P
      sh: bootmem refactoring. · 4bc277ac
      Paul Mundt 提交于
      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: NPaul Mundt <lethal@linux-sh.org>
      4bc277ac
  2. 10 5月, 2010 2 次提交
    • P
      sh: rework memory limits to work with LMB. · 5e2ff328
      Paul Mundt 提交于
      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: NPaul Mundt <lethal@linux-sh.org>
      5e2ff328
    • P
      sh: enable LMB region setup via machvec. · 19d8f84f
      Paul Mundt 提交于
      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: NPaul Mundt <lethal@linux-sh.org>
      19d8f84f
  3. 07 5月, 2010 3 次提交
  4. 06 5月, 2010 1 次提交
    • P
      sh: Make initrd detection more robust. · 9b7a3785
      Paul Mundt 提交于
      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: NPaul Mundt <lethal@linux-sh.org>
      9b7a3785
  5. 29 4月, 2010 2 次提交
  6. 27 4月, 2010 1 次提交
  7. 26 4月, 2010 21 次提交
  8. 21 4月, 2010 4 次提交
  9. 20 4月, 2010 2 次提交
  10. 19 4月, 2010 2 次提交
  11. 15 4月, 2010 1 次提交
    • P
      sh: intc: IRQ auto-distribution support. · dc825b17
      Paul Mundt 提交于
      This implements support for hardware-managed IRQ balancing as implemented
      by SH-X3 cores (presently only hooked up for SH7786, but can probably be
      carried over to other SH-X3 cores, too).
      
      CPUs need to specify their distribution register along with the mask
      definitions, as these follow the same format. Peripheral IRQs that don't
      opt out of balancing will be automatically distributed at the whim of the
      hardware block, while each CPU needs to verify whether it is handling the
      IRQ or not, especially before clearing the mask.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      dc825b17