1. 31 12月, 2008 1 次提交
  2. 29 12月, 2008 1 次提交
  3. 21 12月, 2008 1 次提交
    • B
      powerpc/mm: Rework context management for CPUs with no hash table · 2ca8cf73
      Benjamin Herrenschmidt 提交于
      This reworks the context management code used by 4xx,8xx and
      freescale BookE.  It adds support for SMP by implementing a
      concept of stale context map to lazily flush the TLB on
      processors where a context may have been invalidated.  This
      also contains the ground work for generalizing such lazy TLB
      flushing by just picking up a new PID and marking the old one
      stale.  This will be implemented later.
      
      This is a first implementation that uses a global spinlock.
      
      Ideally, we should try to get at least the fast path (context ID
      already assigned) lockless or limited to a per context lock,
      but for now this will do.
      
      I tried to keep the UP case reasonably simple to avoid adding
      too much overhead to 8xx which does a lot of context stealing
      since it effectively has only 16 PIDs available.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      2ca8cf73
  4. 04 8月, 2008 1 次提交
  5. 27 4月, 2008 1 次提交
  6. 17 4月, 2008 1 次提交
    • K
      [POWERPC] Move phys_addr_t definition into asm/types.h · d04ceb3f
      Kumar Gala 提交于
      Moved phys_addr_t out of mmu-*.h and into asm/types.h so we can use it in
      places that before would have caused recursive includes.
      
      For example to use phys_addr_t in <asm/page.h> we would have included
      <asm/mmu.h> which would have possibly included <asm/mmu-hash64.h> which
      includes <asm/page.h>.  Wheeee recursive include.
      
      CONFIG_PHYS_64BIT is a bit counterintuitive in light of ppc64 systems
      and thus the config option is only used for ppc32 systems with >32-bit
      physical addresses (44x, 85xx, 745x, etc.).
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d04ceb3f
  7. 17 5月, 2007 1 次提交
    • D
      [POWERPC] Remove fixup_bigphys_addr() for arch/powerpc to avoid link error · e3d67b66
      David Gibson 提交于
      There are no actual implementations of fixup_bigphys_addr() in
      arch/powerpc, and with a 64-bit aware ioremap() and so forth, it
      should no longer be necessary.  This patch removes the last dregs of
      fixup_bigphys_addr() from arch/powerpc.
      
      In fact, the only reason this hasn't caused link errors already is
      that nobody must have tried using one of the small number of drivers
      using io_remap_pfn_range() on one of the small number of platforms
      which are 32-bit but define CONFIG_PHYS_64BIT.  Nonetheless this fixes
      a bug, and should go into 2.6.22.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      e3d67b66
  8. 08 5月, 2007 1 次提交
  9. 02 5月, 2007 1 次提交