1. 22 2月, 2010 4 次提交
  2. 18 2月, 2010 4 次提交
    • M
      8c563a30
    • P
      sh: Merge legacy and dynamic PMB modes. · d01447b3
      Paul Mundt 提交于
      This implements a bit of rework for the PMB code, which permits us to
      kill off the legacy PMB mode completely. Rather than trusting the boot
      loader to do the right thing, we do a quick verification of the PMB
      contents to determine whether to have the kernel setup the initial
      mappings or whether it needs to mangle them later on instead.
      
      If we're booting from legacy mappings, the kernel will now take control
      of them and make them match the kernel's initial mapping configuration.
      This is accomplished by breaking the initialization phase out in to
      multiple steps: synchronization, merging, and resizing. With the recent
      rework, the synchronization code establishes page links for compound
      mappings already, so we build on top of this for promoting mappings and
      reclaiming unused slots.
      
      At the same time, the changes introduced for the uncached helpers also
      permit us to dynamically resize the uncached mapping without any
      particular headaches. The smallest page size is more than sufficient for
      mapping all of kernel text, and as we're careful not to jump to any far
      off locations in the setup code the mapping can safely be resized
      regardless of whether we are executing from it or not.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      d01447b3
    • P
      sh: Use uncached I/O helpers in PMB setup. · 2e450643
      Paul Mundt 提交于
      The PMB code is an example of something that spends an absurd amount of
      time running uncached when only a couple of operations really need to be.
      This switches over to the shiny new uncached helpers, permitting us to
      spend far more time running cached.
      
      Additionally, MMUCR twiddling is perfectly safe from cached space given
      that it's paired with a control register barrier, so fix that up, too.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      2e450643
    • P
      sh: Provide uncached I/O helpers. · b8f7918f
      Paul Mundt 提交于
      There are lots of registers that can only be updated from the uncached
      mapping, so we add some helpers for those cases in order to make it
      easier to ensure that we only make the jump when it's absolutely
      necessary.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b8f7918f
  3. 17 2月, 2010 9 次提交
  4. 16 2月, 2010 5 次提交
  5. 15 2月, 2010 2 次提交
    • P
      sh: Fix up legacy PMB mode offset calculation. · 04c86973
      Paul Mundt 提交于
      The change for fixing up sh64 inadvertently inverted the logic for legacy
      PMB, fix that back up.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      04c86973
    • P
      sh64: fix tracing of signals. · 4b505db9
      Paul Mundt 提交于
      This follows the parisc change to ensure that tracehook_signal_handler()
      is aware of when we are single-stepping in order to ptrace_notify()
      appropriately. While this was implemented for 32-bit SH, sh64 neglected
      to make use of TIF_SINGLESTEP when it was folded in with the 32-bit code,
      resulting in ptrace_notify() never being called.
      
      As sh64 uses all of the other abstractions already, this simply plugs in
      the thread flag in the appropriate enable/disable paths and fixes up the
      tracehook notification accordingly. With this in place, sh64 is brought
      in line with what 32-bit is already doing.
      Reported-by: NMike Frysinger <vapier@gentoo.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      4b505db9
  6. 13 2月, 2010 1 次提交
  7. 12 2月, 2010 3 次提交
  8. 11 2月, 2010 6 次提交
  9. 10 2月, 2010 6 次提交